• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Damage Based Spells?

Status
Not open for further replies.
Level 7
Joined
Jul 9, 2008
Messages
253
Hey everybody, is there a way to make a triggered spell deal damage based on the attackdamage of a hero?

Because I can't really find it (if it exists)

Thanks in advance, Quetzalcotl
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Hmm, for myself I dont remeber that it exist, but you can use other way =)

If your Hero has for example the main attribute Strength, just make the trigger like this:

  • Unit - Cause (Unit X) to damage (Unit Y), dealing ((Real((Strength of (Unit X) (Exclude bonuses)))) + (Real((Get current damage bonus of (Unit X))))) damage of attack type X and damage type X
 
Status
Not open for further replies.
Top