Changeset 180 for trunk/src/game/Spell.cpp
- Timestamp:
- 11/19/08 13:43:57 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Spell.cpp
r176 r180 982 982 983 983 // Recheck immune (only for delayed spells) 984 if( m_spellInfo->speed && ( 985 unit->IsImmunedToDamage(GetSpellSchoolMask(m_spellInfo),true) || 984 if( m_spellInfo->speed && 985 !(m_spellInfo->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY) 986 && (unit->IsImmunedToDamage(GetSpellSchoolMask(m_spellInfo),true) || 986 987 unit->IsImmunedToSpell(m_spellInfo,true) )) 987 988 {