How do you detect stuns?

Status
Not open for further replies.
Level 2
Joined
Mar 27, 2013
Messages
9
I thought I could catch the order on EVENT_PLAYER_UNIT_ISSUED_ORDER, and then compare the issued order to the Stunned order ID (which is 851973), but it doesn't work for me. Any ideas?
 
What?

"Stunned" is a buff, its not an order ID. an order ID would be Storm Bolt, Carrion Swarm, smart, etc.

If you want to detect if the unit is casting a spell that stuns, you have to index every spell that stuns and you want to add and check if its any of those spells

You can also use a damage engine and check if it has the "Stunned" buff on hit
 
Status
Not open for further replies.
Back
Top