mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
fix(Scripts/SunwellPlateau): Fix Alythess chasing players after casting (#21773)
This commit is contained in:
@@ -210,6 +210,13 @@ struct boss_alythess : public BossAI
|
|||||||
sacrolash->Respawn(true);
|
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
|
void DoAction(int32 param) override
|
||||||
{
|
{
|
||||||
if (param == ACTION_SISTER_DIED)
|
if (param == ACTION_SISTER_DIED)
|
||||||
|
|||||||
Reference in New Issue
Block a user