From dd43a0cfdf4e71850dc47cbce2348db1530a7895 Mon Sep 17 00:00:00 2001 From: blinkysc <37940565+blinkysc@users.noreply.github.com> Date: Thu, 24 Apr 2025 04:49:38 -0500 Subject: [PATCH] fix(Scripts/SunwellPlateau): Fix Entropius wrong spell ID and timers (#21970) --- .../EasternKingdoms/SunwellPlateau/boss_muru.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp index 0f3751f31..63f284452 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp @@ -45,7 +45,7 @@ enum Spells SPELL_ENTROPIUS_COSMETIC_SPAWN = 46223, SPELL_NEGATIVE_ENERGY_PERIODIC = 46284, SPELL_BLACK_HOLE = 46282, - SPELL_DARKNESS = 46268, + SPELL_DARKNESS = 46269, SPELL_SUMMON_DARK_FIEND_ENTROPIUS = 46263, //Black Hole Spells @@ -168,13 +168,13 @@ struct boss_entropius : public ScriptedAI void JustEngagedWith(Unit* /*who*/) override { - ScheduleTimedEvent(10s, [&] { + ScheduleTimedEvent(8s, 29s, [this]() { DoCastRandomTarget(SPELL_DARKNESS, 0, 50.0f, true, true); - }, 15s); + }, 8s, 29s); - ScheduleTimedEvent(15s, [&] { - DoCastRandomTarget(SPELL_BLACK_HOLE, 0, 50.0f, true, true); - }, 15s); + ScheduleTimedEvent(14s, 29s, [this]() { + DoCastRandomTarget(SPELL_BLACK_HOLE, 0, 50.0f, false, true); + }, 14s, 29s); } void JustDied(Unit* /*killer*/) override @@ -329,7 +329,7 @@ struct npc_singularity : public NullCreatureAI else { // No valid target found, check again soon - context.Repeat(1s); + context.Repeat(); } }); }