From 6b29180340722d2d11fadf4a6dc53ddc6d612800 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 10 Jun 2024 00:03:24 +0800 Subject: [PATCH] [Sync] Sync with azerothcore (update the core before pull this commit) --- src/strategy/raids/naxxramas/RaidNaxxBossHelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy/raids/naxxramas/RaidNaxxBossHelper.h b/src/strategy/raids/naxxramas/RaidNaxxBossHelper.h index 6c2089e2..671d30c9 100644 --- a/src/strategy/raids/naxxramas/RaidNaxxBossHelper.h +++ b/src/strategy/raids/naxxramas/RaidNaxxBossHelper.h @@ -76,7 +76,7 @@ class KelthuzadBossHelper: public GenericBossHelper tank_pos = {3709.19f, -5104.86f}; const std::pair assist_tank_pos = {3746.05f, -5112.74f}; bool IsPhaseOne() { - return _event_map->GetNextEventTime(Kelthuzad::KELTHUZAD_EVENT_PHASE_2) != 0; + return _event_map->GetNextEventTime(Kelthuzad::EVENT_PHASE_2) != 0; } bool IsPhaseTwo() { return !IsPhaseOne(); @@ -186,7 +186,7 @@ class GluthBossHelper: public GenericBossHelper const float decimatedZombiePct = 10.0f; GluthBossHelper(PlayerbotAI *botAI): GenericBossHelper(botAI, "gluth") {} bool BeforeDecimate() { - uint32 decimate = _event_map->GetNextEventTime(Gluth::GLUTH_EVENT_DECIMATE); + uint32 decimate = _event_map->GetNextEventTime(Gluth::EVENT_DECIMATE); return decimate && decimate - _timer <= 3000; } bool JustStartCombat() {