fix(Scripts/AuchenaiCrypts): Remove double scheduling of Carnivorous Bite (#19353)
Update boss_shirrak_the_dead_watcher.cpp
This commit is contained in:
+3
-5
@@ -38,6 +38,7 @@ enum Spells
|
|||||||
|
|
||||||
enum Misc
|
enum Misc
|
||||||
{
|
{
|
||||||
|
GROUP_BITE = 1,
|
||||||
ENTRY_FOCUS_FIRE = 18374,
|
ENTRY_FOCUS_FIRE = 18374,
|
||||||
EMOTE_FOCUSED = 0
|
EMOTE_FOCUSED = 0
|
||||||
};
|
};
|
||||||
@@ -105,14 +106,11 @@ struct boss_shirrak_the_dead_watcher : public BossAI
|
|||||||
}).Schedule(28s, [this](TaskContext context)
|
}).Schedule(28s, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
DoCastSelf(SPELL_ATTRACT_MAGIC);
|
DoCastSelf(SPELL_ATTRACT_MAGIC);
|
||||||
|
context.RescheduleGroup(GROUP_BITE, 1500ms);
|
||||||
context.Repeat(30s);
|
context.Repeat(30s);
|
||||||
scheduler.Schedule(1500ms, [this](TaskContext context)
|
|
||||||
{
|
|
||||||
DoCastSelf(SPELL_CARNIVOROUS_BITE);
|
|
||||||
context.Repeat(10s);
|
|
||||||
});
|
|
||||||
}).Schedule(10s, [this](TaskContext context)
|
}).Schedule(10s, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
|
context.SetGroup(GROUP_BITE);
|
||||||
DoCastSelf(SPELL_CARNIVOROUS_BITE);
|
DoCastSelf(SPELL_CARNIVOROUS_BITE);
|
||||||
context.Repeat(10s);
|
context.Repeat(10s);
|
||||||
}).Schedule(17s, [this](TaskContext context)
|
}).Schedule(17s, [this](TaskContext context)
|
||||||
|
|||||||
Reference in New Issue
Block a user