Browse Source

体力上限

guodong 3 years ago
parent
commit
232781bad4

+ 1 - 1
GameClient/Assets/Game/CSShare

@@ -1 +1 @@
-Subproject commit 610d9b26362dc4aa47a3f5eaf8dd39e918f9c696
+Subproject commit 79c12abad32d7ad7318e88dfa7d83f474e1c65b3

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/RoleDataManager.cs

@@ -80,7 +80,7 @@ namespace GFGGame
 
         public static bool CheckPowerFull()
         {
-            return GameGlobal.myNumericComponent.GetAsInt(NumericType.Power) >= GameConst.MAX_POWER_AUTO_REGAIN;
+            return GameGlobal.myNumericComponent.GetAsInt(NumericType.Power) >= GameGlobal.myNumericComponent.GetAsInt(NumericType.PowerLimit);
         }
 
         public static void InitServerData()

BIN
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes