Skip to content

Check for Paralysis, Hold, Stun

MorkfelMorkfel Member Posts: 27
Is there any good way to check for a player being in these states other than STATE_HELPLESS from the STATE.IDS?

Spells have these different effects and I wonder if I need to check for each of them?

Power word, stun (210)
Stun (45)
Paralyze (109)
Hold creature (175)

Comments

  • ProlericProleric Member Posts: 1,316
    I suspect you only need to check GetHasEffect for EFFECT_TYPE_STUNNED and EFFECT_TYPE_PARALYZE to cover those four cases. Better test it, to be sure.
  • FreshLemonBunFreshLemonBun Member Posts: 909
    I believe that's the way to go but you might be able to check for originating spell id also.
Sign In or Register to comment.