ソースを参照

战斗结算等级

zhaoyang 2 年 前
コミット
d7a34b2e48

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Views/MainStory/StroyFightResultView.cs

@@ -194,8 +194,9 @@ namespace GFGGame
         {
             int lv = GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl);
             _ui.m_comExpBar.m_txtLvl.text = string.Format("等级 {0}", GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl));
-            float exp = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp);
-            float cfgExp = RoleLevelCfgArray.Instance.GetCfg(lv).exp;
+            int exp = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp);
+            int cfgExp = RoleLevelCfgArray.Instance.GetCfg(lv).exp;
+            _ui.m_comExpBar.m_pbExp.m_title.text = string.Format("{0}/{1}", exp, cfgExp);
             float initWidth = _ui.m_comExpBar.m_pbExp.m_bar.target.initWidth;
             float curWidth = _ui.m_comExpBar.m_pbExp.m_bar.target.width;
             float width = exp / cfgExp * initWidth;