fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite (#19353)

Update boss_shirrak_the_dead_watcher.cpp
This commit is contained in:
Gultask 2024-07-09 13:05:09 -03:00 committed by GitHub
parent 0c7ec87ed6
commit 02104ca89b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)