• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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