mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[8357] Use less hacky Spell::AddTriggeredSpell call for spell 33076 and ranks jump animation cast
This commit is contained in:
parent
d35eecf175
commit
0bbc496192
5 changed files with 8 additions and 13 deletions
|
|
@ -2407,15 +2407,7 @@ void Spell::EffectApplyAura(uint32 i)
|
|||
Aur->SetAuraDuration(duration);
|
||||
}
|
||||
|
||||
bool added = unitTarget->AddAura(Aur);
|
||||
|
||||
// Aura not added and deleted in AddAura call;
|
||||
if (!added)
|
||||
return;
|
||||
|
||||
// Prayer of Mending (jump animation), we need formal caster instead original for correct animation
|
||||
if( m_spellInfo->SpellFamilyName == SPELLFAMILY_PRIEST && (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000002000000000)))
|
||||
m_caster->CastSpell(unitTarget, 41637, true, NULL, Aur, m_originalCasterGUID);
|
||||
unitTarget->AddAura(Aur);
|
||||
}
|
||||
|
||||
void Spell::EffectUnlearnSpecialization( uint32 i )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue