Changeset 28 for trunk/src/game/SpellAuras.cpp
- Timestamp:
- 11/19/08 13:24:39 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/SpellAuras.cpp
r2 r28 3190 3190 if (apply) 3191 3191 { 3192 m_target->addUnitState(UNIT_STAT_STUN DED);3192 m_target->addUnitState(UNIT_STAT_STUNNED); 3193 3193 m_target->SetUInt64Value(UNIT_FIELD_TARGET, 0); 3194 3194 … … 3214 3214 return; 3215 3215 3216 m_target->clearUnitState(UNIT_STAT_STUN DED);3216 m_target->clearUnitState(UNIT_STAT_STUNNED); 3217 3217 m_target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_ROTATE); 3218 3218 … … 3443 3443 m_target->RemoveFlag(UNIT_FIELD_FLAGS,(apply_stat<<16)); 3444 3444 3445 if(!m_target->hasUnitState(UNIT_STAT_STUN DED)) // prevent allow move if have also stun effect3445 if(!m_target->hasUnitState(UNIT_STAT_STUNNED)) // prevent allow move if have also stun effect 3446 3446 { 3447 3447 if(m_target->getVictim() && m_target->isAlive())