Core/SAI: Drop waypoints table and move existing rows to waypoint_data table
Port From (https://github.com/TrinityCore/TrinityCore/commit/356c98579babd1aef12e2b5ef28baba2403368d0)
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackrockSpire.GizrulTheSlav
|
||||
|
||||
struct PathIds
|
||||
{
|
||||
public const uint Gizrul = 402450;
|
||||
public const uint Gizrul = 3219600;
|
||||
}
|
||||
|
||||
[Script]
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackrockSpire.Gyth
|
||||
{
|
||||
public const uint NefariusPath2 = 1379671;
|
||||
public const uint NefariusPath3 = 1379672;
|
||||
public const uint GythPath1 = 1379681;
|
||||
public const uint GythPath1 = 11037448;
|
||||
}
|
||||
|
||||
[Script]
|
||||
|
||||
@@ -46,11 +46,11 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackrockSpire.RendBlackhand
|
||||
|
||||
struct MiscConst
|
||||
{
|
||||
public const uint NefariusPath1 = 1379670;
|
||||
public const uint NefariusPath2 = 1379671;
|
||||
public const uint NefariusPath3 = 1379672;
|
||||
public const uint RendPath1 = 1379680;
|
||||
public const uint RendPath2 = 1379681;
|
||||
public const uint NefariusPath1 = 11037360;
|
||||
public const uint NefariusPath2 = 11037368;
|
||||
public const uint NefariusPath3 = 11037376;
|
||||
public const uint RendPath1 = 11037440;
|
||||
public const uint RendPath2 = 11037448;
|
||||
|
||||
public static Wave[] Wave2 = // 22 sec
|
||||
{
|
||||
|
||||
@@ -103,8 +103,8 @@ namespace Scripts.EasternKingdoms.BlackrockMountain.BlackwingLair.VictorNefarius
|
||||
|
||||
struct MiscConst
|
||||
{
|
||||
public const uint NefariusPath2 = 1379671;
|
||||
public const uint NefariusPath3 = 1379672;
|
||||
public const uint NefariusPath2 = 11037368;
|
||||
public const uint NefariusPath3 = 11037376;
|
||||
|
||||
public static Position[] DrakeSpawnLoc = // drakonid
|
||||
{
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace Scripts.EasternKingdoms.MagistersTerrace
|
||||
|
||||
public const uint SayKalecgosSpawn = 0;
|
||||
|
||||
public const uint PathKalecgosFlight = 248440;
|
||||
public const uint PathKalecgosFlight = 1987520;
|
||||
|
||||
public static ObjectData[] creatureData =
|
||||
{
|
||||
|
||||
@@ -367,14 +367,14 @@ namespace Scripts.World.Areatriggers
|
||||
stormforgedMonitor.SetWalk(false);
|
||||
/// The npc would search an alternative way to get to the last waypoint without this unit state.
|
||||
stormforgedMonitor.AddUnitState(UnitState.IgnorePathfinding);
|
||||
stormforgedMonitor.GetMotionMaster().MovePath(CreatureIds.StormforgedMonitor * 100, false);
|
||||
stormforgedMonitor.GetMotionMaster().MovePath((CreatureIds.StormforgedMonitor * 100) << 3, false);
|
||||
}
|
||||
|
||||
stormforgedEradictor = player.SummonCreature(CreatureIds.StormforgedEradictor, Misc.StormforgedEradictorPosition, TempSummonType.TimedDespawnOutOfCombat, TimeSpan.FromSeconds(60));
|
||||
if (stormforgedEradictor)
|
||||
{
|
||||
stormforgedEradictorGUID = stormforgedEradictor.GetGUID();
|
||||
stormforgedEradictor.GetMotionMaster().MovePath(CreatureIds.StormforgedEradictor * 100, false);
|
||||
stormforgedEradictor.GetMotionMaster().MovePath((CreatureIds.StormforgedEradictor * 100) << 3, false);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user