From 3faa712d429fe5e352b73a6e5e524a2d1f4630d7 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 29 May 2009 16:09:55 -0500 Subject: *Allow some warrior shouts and druid roars to interrupt stealth. thanks to thenecromancer --HG-- branch : trunk --- src/game/SpellMgr.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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; } } -- cgit v1.2.3