All pastes #463811 Raw Edit

MovementImpared

public text v1 · immutable
#463811 ·published 2007-04-29 04:13 UTC
rendered paste body
Index: ../src/game/Spell.cpp
===================================================================
--- ../src/game/Spell.cpp	(revision 3533)
+++ ../src/game/Spell.cpp	(working copy)
@@ -1977,7 +1977,7 @@
             return castResult;
     }
 
-    if(m_caster->hasUnitState(UNIT_STAT_STUNDED))
+    if(m_caster->hasUnitState(UNIT_STAT_STUNDED) && (m_spellInfo->AttributesEx & (1 << 15)) == 0 )
         return SPELL_FAILED_STUNNED;
 
     // not let players cast non-triggered spells at mount (and let do it to creatures)