Merge 78f04d203ffbae005a5bb946c0f7a2ba5aafaefc into 28f5ead7f308a6a301d3dd8798c5031e8a52dcb1

This commit is contained in:
Paul 2025-02-19 15:33:33 +01:00 committed by GitHub
commit a0436fd37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
}