zhaoyang 3 жил өмнө
parent
commit
d4b15b5de1

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Common/Controller/ValueBarController.cs

@@ -94,7 +94,7 @@ namespace GFGGame
         private void UpdateNumeric()
         {
             _valueBar.m_btnGold.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.Gold);
-            _valueBar.m_btnPower.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.Power);
+            _valueBar.m_btnPower.text = string.Format("{0}/{1}", GameGlobal.myNumericComponent.GetAsInt(NumericType.Power), GameGlobal.myNumericComponent.GetAsInt(NumericType.PowerLimit));
             _valueBar.m_btnDiamondPurple.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.DiamondP);
             _valueBar.m_btnDiamondRed.text = "" + GameGlobal.myNumericComponent.GetAsInt(NumericType.DiamondR);