fix(Scripts/SunwellPlateau): Fix Alythess chasing players after casting (#21773)

This commit is contained in:
Andrew
2025-03-25 14:48:00 -03:00
committed by GitHub
parent c906261209
commit 761cd7e6ad

View File

@@ -210,6 +210,13 @@ struct boss_alythess : public BossAI
sacrolash->Respawn(true);
}
void AttackStart(Unit* who) override
{
if (who && who->isTargetableForAttack() && me->GetReactState() != REACT_PASSIVE)
if (me->Attack(who, false))
me->AddThreat(who, 0.0f);
}
void DoAction(int32 param) override
{
if (param == ACTION_SISTER_DIED)