stat effected abilitys, and item problems

Status
Not open for further replies.

Bloodking747

B

Bloodking747

Im very lost in two different ways, first is, i know how to make an ability for a hero have 1 level but id like to make it so the ability is in a spell book type thing on a hero and the abilitys are all effected by stats strength, agility, and intelligence so it mulitples like this spell will heal for 5x your intelligence, or this one will do 2x your agility for damage and stun for 2 seconds. second problem i have is items id like to make it so u cant have 2 shields or types of items at once so u cant double up an item for the effects and cant carry more then one shield or sword ar anythign in the item group type.
 
Well For Making Spell based on Int Etc You would need.
  • Holy Bolt
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Bolt
    • Actions
      • Set HolyBolt = ((Real((Intelligence of (Casting unit) (Include bonuses)))) + (Life of (Target unit of ability being cast)))
      • Unit - Set life of (Target unit of ability being cast) to HolyBolt
Item limits would be more along the lines of https://www.hiveworkshop.com/forums...ev=search=no%20same%20item%20type&d=list&r=20
That link should be the right trigger. dunno who made it ^_^
 
  • Unit - A unit Begins casting an ability
Use "A unit Starts the effect of an ability"

  • Set HolyBolt = ((Real((Intelligence of (Casting unit) (Include bonuses)))) + (Life of (Target unit of ability being cast)))
Use (Triggering unit) instead of (Casting unit)

If you love so much for less function call, perhaps you should also save Unit variables too like (Triggering unit) and (Target unit of ability being cast)
 
Status
Not open for further replies.
Back
Top