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

*Do not let CC spells interrupt themselves.

Original author: megamage
Date: 2008-11-16 17:42:29-06:00

Files:
1 modified

Legend:

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

    r239 r248  
    997997 
    998998            unit->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_HITBYSPELL); 
     999            //TODO: find a better way to judge CC auras 
     1000            if(m_spellInfo->Attributes & SPELL_ATTR_BREAKABLE_BY_DAMAGE) 
     1001                unit->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CC); 
    9991002        } 
    10001003        else