Scripts/Spells Update Divine Star

Port From (https://github.com/TrinityCore/TrinityCore/commit/0eada1d7086985b759e10684966e3aefdd7eefe7)
This commit is contained in:
hondacrx
2023-05-02 16:59:25 -04:00
parent be0a98f3de
commit a2e5acbaa5
3 changed files with 85 additions and 59 deletions
@@ -84,7 +84,7 @@ namespace Game.Networking.Packets
data.WriteUInt32(TimeToTarget);
data.WriteUInt32(ElapsedTimeForMovement);
data.WriteBits(Points.Count, 16);
data.WriteBits(Points.Length, 16);
data.FlushBits();
foreach (Vector3 point in Points)
@@ -93,6 +93,6 @@ namespace Game.Networking.Packets
public uint TimeToTarget;
public uint ElapsedTimeForMovement;
public List<Vector3> Points = new();
public Vector3[] Points = new Vector3[0];
}
}