Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraNix committed Mar 20, 2022
1 parent f083d16 commit 70a1c8a
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,6 @@ class go_suppression_device : public GameObjectScript

void InitializeAI() override
{
if (_instance->GetBossState(DATA_BROODLORD_LASHLAYER) == DONE)
{
Deactivate();
return;
}

_events.ScheduleEvent(EVENT_SUPPRESSION_CAST, 5000);
}

Expand Down Expand Up @@ -197,6 +191,11 @@ class go_suppression_device : public GameObjectScript
if (action == ACTION_DEACTIVATE)
{
_events.CancelEvent(EVENT_SUPPRESSION_RESET);

if (!_active)
{
me->SaveRespawnTime(MONTH);
}
}
else if (action == ACTION_DISARMED)
{
Expand Down

0 comments on commit 70a1c8a

Please sign in to comment.