Show
Ignore:
Timestamp:
11/19/08 13:43:57 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix hunter's trap (let original caster summon dynamic object).
Fix black temple boss 1's hurl spine.

Original author: megamage
Date: 2008-11-06 12:24:56-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Spell.cpp

    r176 r180  
    982982 
    983983    // 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) || 
    986987        unit->IsImmunedToSpell(m_spellInfo,true) )) 
    987988    {