[9474] Implement negative totem effect apply for 30706 and ranks.

This commit is contained in:
VladimirMangos 2010-02-28 03:09:34 +03:00
parent eacf2218be
commit 7e2d7d8324
4 changed files with 9 additions and 2 deletions

View file

@ -2661,6 +2661,9 @@ void Spell::cast(bool skipCheck)
// Heroism
else if (m_spellInfo->Id == 32182)
AddPrecastSpell(57723); // Exhaustion
else if (m_spellInfo->Effect[EFFECT_INDEX_0]==SPELL_EFFECT_APPLY_AREA_AURA_RAID && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000004000000))
// only for main totem spell cast
AddTriggeredSpell(30708); // Totem of Wrath
break;
}
default: