mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 14:05:28 +00:00
fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai indexing (#23472)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user