fix(Scripts/MagtheridonLair): Fix double schedule (#16831)
This commit is contained in:
parent
7e2aa2d9e1
commit
5c132654cd
1 changed files with 2 additions and 1 deletions
|
|
@ -218,9 +218,9 @@ struct boss_magtheridon : public BossAI
|
|||
Talk(SAY_EMOTE_FREE);
|
||||
Talk(SAY_FREE);
|
||||
scheduler.CancelGroup(GROUP_EARLY_RELEASE_CHECK); //cancel regular countdown
|
||||
_magReleased = true;
|
||||
scheduler.Schedule(3s, [this](TaskContext)
|
||||
{
|
||||
_magReleased = true; //redundancy
|
||||
ScheduleCombatEvents();
|
||||
});
|
||||
}
|
||||
|
|
@ -239,6 +239,7 @@ struct boss_magtheridon : public BossAI
|
|||
{
|
||||
Talk(SAY_EMOTE_FREE);
|
||||
Talk(SAY_FREE);
|
||||
_magReleased = true;
|
||||
}).Schedule(123s, GROUP_EARLY_RELEASE_CHECK, [this](TaskContext /*context*/)
|
||||
{
|
||||
ScheduleCombatEvents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue