zhaoyang 2 жил өмнө
parent
commit
54d62ae478

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

@@ -194,8 +194,8 @@ namespace GFGGame
         {
             int lv = GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl);
             _ui.m_comExpBar.m_txtLvl.text = string.Format("等级 {0}", GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl));
-            int exp = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp);
-            int cfgExp = RoleLevelCfgArray.Instance.GetCfg(lv).exp;
+            float exp = GameGlobal.myNumericComponent.GetAsInt(NumericType.Exp);
+            float 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;