fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai indexing (#23472)

This commit is contained in:
killerwife
2025-10-30 10:44:34 +01:00
committed by GitHub
parent fdf19f1cf7
commit a8976aa6e7
22 changed files with 52 additions and 49 deletions

View File

@@ -904,7 +904,7 @@ struct npc_akama_illidan : public ScriptedAI
else if (type == WAYPOINT_MOTION_TYPE)
{
if (me->GetCurrentWaypointID() == PATH_AKAMA_MINIONS)
if (id == 2)
if (id == 3)
DoCastSelf(SPELL_AKAMA_TELEPORT);
}
}

View File

@@ -81,8 +81,8 @@ enum Misc
enum WaterElementalPathIds
{
PATH_CENTER = 5,
PATH_END = 12
PATH_CENTER = 6,
PATH_END = 13
};
struct boss_hydross_the_unstable : public BossAI

View File

@@ -92,7 +92,7 @@ struct boss_ghazan : public BossAI
void MovementInform(uint32 type, uint32 pointId) override
{
if (!_movedToPlatform || type != WAYPOINT_MOTION_TYPE || pointId != 19)
if (!_movedToPlatform || type != WAYPOINT_MOTION_TYPE || pointId != 20)
{
return;
}

View File

@@ -43,7 +43,7 @@ enum Says
enum Misc
{
POINT_SCOUT_WP_END = 3,
POINT_SCOUT_WP_END = 4,
SET_DATA_ARBITRARY_VALUE = 1,
SET_DATA_ENCOUNTER_DONE = 2