From c8112f663f468123c000c269d4c0635151b28863 Mon Sep 17 00:00:00 2001 From: StopWuyu Date: Sat, 14 Dec 2024 20:36:30 +0800 Subject: [PATCH] feat: expand the limit of stamina --- Common/Database/Player/PlayerData.cs | 2 +- Common/Util/GameConstants.cs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Common/Database/Player/PlayerData.cs b/Common/Database/Player/PlayerData.cs index 4478c21c..a9d95073 100644 --- a/Common/Database/Player/PlayerData.cs +++ b/Common/Database/Player/PlayerData.cs @@ -31,7 +31,7 @@ public class PlayerData : BaseDatabaseDataHelper public int Pet { get; set; } = 0; [SugarColumn(IsNullable = true)] public int CurMusicLevel { get; set; } - public int Stamina { get; set; } = 240; + public int Stamina { get; set; } = 300; public double StaminaReserve { get; set; } = 0; public long NextStaminaRecover { get; set; } = 0; diff --git a/Common/Util/GameConstants.cs b/Common/Util/GameConstants.cs index c6816d3e..63c7bb25 100644 --- a/Common/Util/GameConstants.cs +++ b/Common/Util/GameConstants.cs @@ -2,11 +2,6 @@ public static class GameConstants { - public const int MATERIAL_HCOIN_ID = 1; // Material id for jades. DO NOT CHANGE - public const int MATERIAL_COIN_ID = 2; // Material id for credits. DO NOT CHANGE - public const int TRAILBLAZER_EXP_ID = 22; - public const int RELIC_REMAINS_ID = 235; - public const int INVENTORY_MAX_EQUIPMENT = 1500; public const int INVENTORY_MAX_RELIC = 1500; public const int INVENTORY_MAX_MATERIAL = 2000; @@ -15,7 +10,7 @@ public static class GameConstants public const int AMBUSH_BUFF_ID = 1000102; - public const int MAX_STAMINA = 240; + public const int MAX_STAMINA = 300; 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