fix(Scripts/BlackTemple): Adjust cast behavior for Supremus's charge. (#20173)

Init.
This commit is contained in:
Benjamin Jackson 2024-10-11 08:10:04 -04:00 committed by GitHub
parent fede17f782
commit a9080bef60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,7 +139,8 @@ struct boss_supremus : public BossAI
DoResetThreatList();
me->AddThreat(target, 5000000.0f);
Talk(EMOTE_NEW_TARGET);
DoCastVictim(SPELL_CHARGE);
if (target->IsWithinDist(me, 40))
DoCast(target, SPELL_CHARGE);
}
context.Repeat(10s);