aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2024-01-05 17:56:19 +0100
committerfunjoker <funjoker109@gmail.com>2024-01-09 13:15:49 +0100
commite1737f0f72e971b63876de52130a458452a4de90 (patch)
tree4a773b8a356f44a33ec16515fccd91486da57c83 /src/server/scripts/Northrend
parent9504640b340e2e64384a7bea1549f1a5c89fd957 (diff)
Core/Waypoints: Refactor to split data into path and node related info in db (#29506)
(cherry picked from commit 12186ef8573f60abeff4747da58767ee71092600)
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp4
-rw-r--r--src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_general_bjarngrim.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
index 3d9b5808204..b7b45af37b0 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
@@ -625,7 +625,7 @@ public:
bool operator()(Creature* target) const
{
- if (!target->IsAlive() || (_checkCasting && target->HasUnitState(UNIT_STATE_CASTING)) || target->GetWaypointPath() || _owner->GetDistance(target) > 10.0f)
+ if (!target->IsAlive() || (_checkCasting && target->HasUnitState(UNIT_STATE_CASTING)) || target->GetWaypointPathId() || _owner->GetDistance(target) > 10.0f)
return false;
switch (target->GetEntry())
@@ -779,7 +779,7 @@ struct DarkFallenAI : public ScriptedAI
void Reset() override
{
- IsDoingEmotes = me->GetWaypointPath() ? false : true;
+ IsDoingEmotes = me->GetWaypointPathId() ? false : true;
Scheduler.CancelAll();
Scheduler.SetValidator([this]
{
diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_general_bjarngrim.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_general_bjarngrim.cpp
index 2a54638e94d..05211042a1f 100644
--- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_general_bjarngrim.cpp
+++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_general_bjarngrim.cpp
@@ -122,7 +122,7 @@ enum Stances
MAX_STANCE
};
-// These values must be sync with the data in waypoint_data.
+// These values must be sync with the data in waypoint_path_node.
// Each of these points is going to trigger a Charge Up sequence
static std::array<uint8, 2> const ChargeUpWaypointIds = { 7, 15 };
// Each of these points is going to remove the Tempoary Electrical Charge buff from General Bjarngrim