fix(Core/Spells): Azuregos teleport should only drop threat for hit units (#10722)
This commit is contained in:
parent
25c824e8d8
commit
9a67c0f0b0
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,6 @@ public:
|
|||
{
|
||||
Talk(SAY_TELEPORT);
|
||||
DoCastAOE(SPELL_ARCANE_VACUUM);
|
||||
DoResetThreat();
|
||||
context.Repeat(30s);
|
||||
})
|
||||
.Schedule(15s, 30s, [this](TaskContext context)
|
||||
|
|
@ -192,6 +191,7 @@ class spell_arcane_vacuum : public SpellScript
|
|||
Unit* hitUnit = GetHitUnit();
|
||||
if (caster && hitUnit && hitUnit->ToPlayer())
|
||||
{
|
||||
caster->getThreatMgr().modifyThreatPercent(hitUnit, -100);
|
||||
caster->CastSpell(hitUnit, SPELL_ARCANE_VACUUM_TP, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue