mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/Karazhan): Update Aran script to use boss states (#17376)
This commit is contained in:
@@ -198,8 +198,7 @@ struct boss_shade_of_aran : public BossAI
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
{
|
||||
Talk(SAY_DEATH);
|
||||
|
||||
instance->SetData(DATA_ARAN, DONE);
|
||||
_JustDied();
|
||||
|
||||
if (GameObject* libraryDoor = instance->instance->GetGameObject(instance->GetGuidData(DATA_GO_LIBRARY_DOOR)))
|
||||
{
|
||||
@@ -210,12 +209,9 @@ struct boss_shade_of_aran : public BossAI
|
||||
|
||||
void JustEngagedWith(Unit* /*who*/) override
|
||||
{
|
||||
_JustEngagedWith();
|
||||
Talk(SAY_AGGRO);
|
||||
|
||||
instance->SetData(DATA_ARAN, IN_PROGRESS);
|
||||
|
||||
DoZoneInCombat();
|
||||
|
||||
//handle timed closing door
|
||||
scheduler.Schedule(15s, [this](TaskContext)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user