Need help with spell(unit dmg+spell dmg)

Status
Not open for further replies.

shadowform

S

shadowform

As title says i need help with a spell that adds the units dmg/str to the spells dmg.
ex: units dmg/str is 40, spells dmg is 40= spell does 80 dmg total.
 
Last edited by a moderator:
Tnx for help, but cant find (strength of (triggering unit) include bonuses) by itself, only like "value of value from (last created hastable). +rep if u explain that ;)
 
Tnx for help, but cant find (strength of (triggering unit) include bonuses) by itself, only like "value of value from (last created hastable). +rep if u explain that ;)

So there i looked at it, so it is like this. Go to damage, do arithmetic, 40 + now do this, Convert Integer to Real, then press on the brackets, select Hero Attribute, then select the attribute (Strength, Agility or Intelligence) of (Triggering Unit) and if you want to include bonuses then change to Include bonuses and there you have it.

And it should look a bit like this (cause in the previous i just wrote from memories, now it's from the trigger editor)
  • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (40.00 + (Real((Strength of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Magic
And the case is closed! (Hope so) (:
 
Status
Not open for further replies.
Back
Top