diff options
author | megamage <none@none> | 2009-05-29 16:09:55 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-29 16:09:55 -0500 |
commit | 3faa712d429fe5e352b73a6e5e524a2d1f4630d7 (patch) | |
tree | b4d9a47cea87079cda4adb5f1362fa6255c5f772 /src | |
parent | bd35c961ad7ce5c6263eee86d516ca5119e971f6 (diff) |
*Allow some warrior shouts and druid roars to interrupt stealth. thanks to thenecromancer
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellMgr.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 9da00f0e2d4..5dd2010b83b 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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; } } |