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

Passive ability

Status
Not open for further replies.
Level 3
Joined
Aug 12, 2008
Messages
34
Hey guys :grin:

I was just wondering, what kind of event should be used when a passive action occurs - like bash, critical strike or evasion?

For example, a unit lands a critical strike and his movement speed is increased for X seconds. How do you make such a trigger?

Thank you :)

~Razorwind~
 
Apparently, chances of the abilities don't work with your own integer chance system, so, if you want to detect a critical strike, you would have to create a custom one. Especially for Critical Strike, you can use this one: http://www.hiveworkshop.com/forums/spells-569/enhanced-critical-strike-v-61-a-125491/

For the Evasion ability, they have to be triggered as well.

As for the Bash, you could create a custom bash (with a custom buff) and fire the Unit is damaged event. If the damaged unit has the Bash buff, do your actions.
 
Level 10
Joined
Jul 12, 2009
Messages
321
To clarify Pharaoh's post a little, there is no event* that fires when bash, crit, or evasion happen, so if you want to trigger something based on those abilities, it is most practical to fully trigger the abilities instead of using the WC3 native abilities.

*I think crit and bash cause an extra 0 damage event, but so do other things, making it hard-to-impossible to tell when it's due to crit/bash.
 
Status
Not open for further replies.
Top