[8357] Use less hacky Spell::AddTriggeredSpell call for spell 33076 and ranks jump animation cast

This commit is contained in:
VladimirMangos 2009-08-12 17:06:55 +04:00
parent d35eecf175
commit 0bbc496192
5 changed files with 8 additions and 13 deletions

View file

@ -2378,6 +2378,9 @@ void Spell::cast(bool skipCheck)
if (m_spellInfo->Mechanic == MECHANIC_SHIELD &&
(m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000001)))
AddPrecastSpell(6788); // Weakened Soul
// Prayer of Mending (jump animation), we need formal caster instead original for correct animation
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000002000000000))
AddTriggeredSpell(41637);
switch(m_spellInfo->Id)
{