fix(Scripts/Azuregos): Arcane Vacuum should also reset pet threat (#16868)

This commit is contained in:
Skjalf
2023-07-31 05:44:35 -03:00
committed by GitHub
parent e897e47e16
commit d4e97a25f4

View File

@@ -187,7 +187,7 @@ class spell_arcane_vacuum : public SpellScript
{
Unit* caster = GetCaster();
Unit* hitUnit = GetHitUnit();
if (caster && hitUnit && hitUnit->ToPlayer())
if (caster && hitUnit)
{
caster->GetThreatMgr().ModifyThreatByPercent(hitUnit, -100);
caster->CastSpell(hitUnit, SPELL_ARCANE_VACUUM_TP, true);