aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ScarletMonastery
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2023-04-10 04:04:33 +0200
committerGitHub <noreply@github.com>2023-04-10 04:04:33 +0200
commit89e09dc44ed15567f77f862d1936e8e0d9019456 (patch)
treef5664f4a2798acd965e8b589bd6ed7ff596ff780 /src/server/scripts/EasternKingdoms/ScarletMonastery
parent083b8d6c846cfdf75abb1fae481a3eeb25c13c56 (diff)
Core/AI: Drop script_waypoints and move data to waypoint_data (#28879)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ScarletMonastery')
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
index 81219de4fe0..72551834c46 100644
--- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
@@ -125,6 +125,8 @@ private:
bool _enrage;
};
+static constexpr uint32 PATH_ESCORT_SCARLET_TRAINEE = 52602;
+
struct npc_scarlet_trainee : public EscortAI
{
npc_scarlet_trainee(Creature* creature) : EscortAI(creature)
@@ -138,7 +140,8 @@ struct npc_scarlet_trainee : public EscortAI
{
if (_startTimer <= diff)
{
- Start(true, true);
+ LoadPath(PATH_ESCORT_SCARLET_TRAINEE);
+ Start(true);
_startTimer = 0;
}
else