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

Stun triggers a passive

Status
Not open for further replies.
Level 3
Joined
Nov 28, 2010
Messages
42
Hello,

i need your help.

I want to create a passive that deals 100 AOE damage when you are stunned.

For example: You're in a fight and get stunned. All enemies now take 100 damage.

Thanks for reading my thread.

Minoros
 
@Axe I don't know if that will work either. Catching buffs in a DDS will require storing all stun durations.

Chaosy's solution is a bit easier. And since the problem cannot be solved without overly-complex code, I suggest the damage to be every 0.1s. Thus it would increase the longer the stun time.
 
Level 8
Joined
Nov 9, 2011
Messages
326
@Axe I don't know if that will work either. Catching buffs in a DDS will require storing all stun durations.

Chaosy's solution is a bit easier. And since the problem cannot be solved without overly-complex code, I suggest the damage to be every 0.1s. Thus it would increase the longer the stun time.

Yes but he said to do 100 AoE damage when u are stunned

Lets say stun lasts 1.5 secs

And u check for the buff every .1 sec.

Which means if u dont store the unit in group or index it or smth it will deal 100 damage every .1 sec till the buff is gone so
1500 dmg :p
 
Status
Not open for further replies.
Top