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

[svn] Fix cloak of shadow, can remove fairy fire now.
Add yells to High King Maulgar. Patch provided by riddick.
Script for Prince Malchezaar Doors. Patch provided by BroodWyrm?.
Bug fix for Selin Fireheart. Patch provided by BroodWyrm?.
Arcane Charges only while on flightpath. Patch provided by SLG.

Original author: megamage
Date: 2008-10-23 22:04:14-05:00

Files:
1 modified

Legend:

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

    r102 r105  
    17721772            { 
    17731773                // remove all harmful spells on you... 
    1774                 if( // ignore positive and passive auras 
    1775                     !iter->second->IsPositive() && !iter->second->IsPassive()    && 
    1776                     // only affect magic spells 
    1777                     iter->second->GetSpellProto()->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && 
    1778                     // ignore immunity persistent spells 
    1779                     !( iter->second->GetSpellProto()->AttributesEx & 0x10000 ) ) 
     1774                if(// only affect magic spells 
     1775                    iter->second->GetSpellProto()->DmgClass == SPELL_DAMAGE_CLASS_MAGIC 
     1776                    // ignore positive and passive auras 
     1777                    && !iter->second->IsPositive() && !iter->second->IsPassive()) 
    17801778                { 
    17811779                    m_caster->RemoveAurasDueToSpell(iter->second->GetSpellProto()->Id);