[8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza. --HG-- branch : trunk
This commit is contained in:
@@ -2895,7 +2895,7 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
|
||||
if (Real)
|
||||
{
|
||||
// pet auras
|
||||
if(PetAura const* petSpell = spellmgr.GetPetAura(GetId()))
|
||||
if(PetAura const* petSpell = spellmgr.GetPetAura(GetId(), m_effIndex))
|
||||
{
|
||||
if(apply)
|
||||
m_target->AddPetAura(petSpell);
|
||||
|
||||
Reference in New Issue
Block a user