mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Scripts/Azuregos): Arcane Vacuum should also reset pet threat (#16868)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user