|
@@ -44,6 +44,14 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public static int powerLimit
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ return GameGlobal.myNumericComponent.GetAsInt(NumericType.PowerLimit) + GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardPowerLimitAdd);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public static long gold
|
|
|
{
|
|
|
get
|
|
@@ -186,7 +194,7 @@ namespace GFGGame
|
|
|
|
|
|
public static bool CheckPowerFull()
|
|
|
{
|
|
|
- return RoleDataManager.power >= GameGlobal.myNumericComponent.GetAsInt(NumericType.PowerLimit);
|
|
|
+ return RoleDataManager.power >= powerLimit;
|
|
|
}
|
|
|
|
|
|
public static void InitServerData()
|