*Allow some warrior shouts and druid roars to interrupt stealth. thanks to thenecromancer

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-29 16:09:55 -05:00
parent bd35c961ad
commit 3faa712d42

View File

@@ -3435,6 +3435,12 @@ void SpellMgr::LoadSpellCustomAttr()
switch(spellInfo->SpellFamilyName)
{
case SPELLFAMILY_WARRIOR:
// Shout
if(spellInfo->SpellFamilyFlags[0] & 0x20000
|| spellInfo->SpellFamilyFlags[1] & 0x20)
mSpellCustomAttr[i] |= SPELL_ATTR_CU_AURA_CC;
break;
case SPELLFAMILY_DRUID:
// Starfall Target Selection
if(spellInfo->SpellFamilyFlags[2] & 0x100)
@@ -3442,6 +3448,9 @@ void SpellMgr::LoadSpellCustomAttr()
// Starfall AOE Damage
else if(spellInfo->SpellFamilyFlags[2] & 0x800000)
mSpellCustomAttr[i] |= SPELL_ATTR_CU_EXCLUDE_SELF;
// Roar
else if(spellInfo->SpellFamilyFlags[0] & 0x8)
mSpellCustomAttr[i] |= SPELL_ATTR_CU_AURA_CC;
break;
}
}