fix(Core/Spells): Fixed misdirection triggering from mend pet (#21526)
Co-authored-by: pavel_k <pavel_k@mail.com>
This commit is contained in:
parent
eed4c3515d
commit
3fcccf2a2e
@ -887,8 +887,11 @@ class spell_hun_misdirection : public AuraScript
|
||||
GetTarget()->ResetRedirectThreat();
|
||||
}
|
||||
|
||||
bool CheckProc(ProcEventInfo& /*eventInfo*/)
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
// Do not trigger from Mend Pet
|
||||
if (eventInfo.GetProcSpell() && (eventInfo.GetProcSpell()->GetSpellInfo()->SpellFamilyFlags[0] & 0x800000))
|
||||
return false;
|
||||
return GetTarget()->GetRedirectThreatTarget();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user