• 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.

Hero ablity based on a number of attacks

Status
Not open for further replies.

Gojira2000

G

Gojira2000

How would I make a hero ability (in triggers) for lets say this

"hero gets 20% lifesteal for the next six attacks when ability is activated"?
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
You activate the ability.

Add a hidden spell book with vamp aura/Mask of Death

A unit is attacked

increment a variable from 0 to 6, when the value == 6 remove the hidden spell book.

Alternatively you could use a DDS and just set the live of the unit with some basic math.
 
Status
Not open for further replies.
Top