diff --git a/Common/Util/GameConstants.cs b/Common/Util/GameConstants.cs index dfe0131f..7b29567f 100644 --- a/Common/Util/GameConstants.cs +++ b/Common/Util/GameConstants.cs @@ -7,7 +7,12 @@ public static class GameConstants public const int MAX_STAMINA_RESERVE = 2400; public const int STAMINA_RECOVERY_TIME = 360; // 6 minutes public const int STAMINA_RESERVE_RECOVERY_TIME = 1080; // 18 minutes - + public const int INVENTORY_MAX_EQUIPMENT = 1500; + public const int INVENTORY_MAX_RELIC = 1500; + public const int INVENTORY_MAX_MATERIAL = 2000; + public const int MAX_LINEUP_COUNT = 9; + public const int LAST_TRAIN_WORLD_ID = 501; + public const int AMBUSH_BUFF_ID = 1000102; public const int CHALLENGE_ENTRANCE = 100000103; public const int CHALLENGE_STORY_ENTRANCE = 102020107; public const int CHALLENGE_BOSS_ENTRANCE = 1030402; diff --git a/GameServer/Game/Player/PlayerInstance.cs b/GameServer/Game/Player/PlayerInstance.cs index a0af30dd..083fd2c3 100644 --- a/GameServer/Game/Player/PlayerInstance.cs +++ b/GameServer/Game/Player/PlayerInstance.cs @@ -123,7 +123,6 @@ public class PlayerInstance(PlayerData data) public bool IsNewPlayer { get; set; } public int NextBattleId { get; set; } = 0; public int ChargerNum { get; set; } = 0; - public int LastWorldId { get; set; } = 101; #endregion @@ -667,9 +666,6 @@ public class PlayerInstance(PlayerData data) GameData.GetFloorInfo(entrance.PlaneID, entrance.FloorID, out var floorInfo); - // Record last plane id for train view - if (entrance.PlaneID != 10000) LastWorldId = GameData.MazePlaneData[entrance.PlaneID].WorldID; - var startGroup = entrance.StartGroupID; var startAnchor = entrance.StartAnchorID;