From 61a2f3b5d312e3fd0cb5fa8a34f60f23c395ca32 Mon Sep 17 00:00:00 2001 From: Eddy Vega <61223313+Si1ker@users.noreply.github.com> Date: Sun, 21 Aug 2022 07:58:49 -0600 Subject: [PATCH] fix(Scripts/ZulGurub): Set timer for Ohgan's Thrash (#12772) init Co-authored-by: Si1ker --- .../scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp index a9d8414a6..a534b96ee 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp @@ -513,7 +513,7 @@ public: enum OhganSpells { SPELL_SUNDERARMOR = 24317, - SPELL_THRASH = 3417 // Triggers 3391 + SPELL_THRASH = 3391 }; class npc_ohgan : public CreatureScript @@ -527,7 +527,6 @@ public: void Reset() override { - me->AddAura(SPELL_THRASH, me); _scheduler.CancelAll(); _scheduler.SetValidator([this] { @@ -547,6 +546,11 @@ public: DoCastVictim(SPELL_SUNDERARMOR); context.Repeat(6s, 12s); }); + _scheduler.Schedule(12s, 18s, [this](TaskContext context) + { + DoCastSelf(SPELL_THRASH); + context.Repeat(12s, 18s); + }); } void KilledUnit(Unit* victim) override