From 02104ca89b27211b89aa699616edd408ac6adccd Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:05:09 -0300 Subject: [PATCH] fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite (#19353) Update boss_shirrak_the_dead_watcher.cpp --- .../AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp index 9acc357fa..9cf5638f0 100644 --- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp +++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp @@ -38,6 +38,7 @@ enum Spells enum Misc { + GROUP_BITE = 1, ENTRY_FOCUS_FIRE = 18374, EMOTE_FOCUSED = 0 }; @@ -105,14 +106,11 @@ struct boss_shirrak_the_dead_watcher : public BossAI }).Schedule(28s, [this](TaskContext context) { DoCastSelf(SPELL_ATTRACT_MAGIC); + context.RescheduleGroup(GROUP_BITE, 1500ms); context.Repeat(30s); - scheduler.Schedule(1500ms, [this](TaskContext context) - { - DoCastSelf(SPELL_CARNIVOROUS_BITE); - context.Repeat(10s); - }); }).Schedule(10s, [this](TaskContext context) { + context.SetGroup(GROUP_BITE); DoCastSelf(SPELL_CARNIVOROUS_BITE); context.Repeat(10s); }).Schedule(17s, [this](TaskContext context)