|
|
@@ -190,9 +190,12 @@ namespace Fort23.Mono
|
|
|
1000);
|
|
|
|
|
|
float allexp = currentMiao * PlayerManager.Instance.myHero.powerUpConfig.AutoXiuwei;
|
|
|
- // await CreatHero();
|
|
|
+
|
|
|
Slider_Exp.maxValue = PlayerManager.Instance.myHero.powerUpConfig.levelUpExp;
|
|
|
Slider_Exp.value = PlayerManager.Instance.myHero.heroData.exp;
|
|
|
+
|
|
|
+ Text_exp.text =
|
|
|
+ $"{(int)PlayerManager.Instance.myHero.exp.Value + allexp}/{PlayerManager.Instance.myHero.powerUpConfig.levelUpExp}";
|
|
|
|
|
|
for (var i = 0; i < JingJieIcons.Count; i++)
|
|
|
{
|
|
|
@@ -208,6 +211,13 @@ namespace Fort23.Mono
|
|
|
}
|
|
|
|
|
|
Text_Level.text = $"LV{PlayerManager.Instance.myHero.level}";
|
|
|
+
|
|
|
+ string jingjie =
|
|
|
+ LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[0]) +
|
|
|
+ LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[1]) +
|
|
|
+ LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[2]);
|
|
|
+ Text_Jingjie.text = LanguageManager.Instance.Text(10225, jingjie,
|
|
|
+ PlayerManager.Instance.myHero.powerUpConfig.jingjie3, 10);
|
|
|
|
|
|
|
|
|
int miao = (int)((PlayerManager.Instance.myHero.powerUpConfig.levelUpExp -
|
|
|
@@ -329,10 +339,7 @@ namespace Fort23.Mono
|
|
|
HeroAttributeWidgets.Add(heroAttributeWidget);
|
|
|
|
|
|
|
|
|
- //
|
|
|
- // heroAttributeWidget = await UIManager.Instance.CreateGComponent<HeroAttributeWidget>(null, AttributeRoot);
|
|
|
- // heroAttributeWidget.CustomInit("生命", PlayerManager.Instance.myHero.hp.Value.ToString(), (heroInfo.hp.Value - PlayerManager.Instance.myHero.hp.Value).ToString());
|
|
|
- // HeroAttributeWidgets.Add(heroAttributeWidget);
|
|
|
+
|
|
|
if (PlayerManager.Instance.myHero.heroData.isYuanMan)
|
|
|
{
|
|
|
Text_Jingjie1.text =
|
|
|
@@ -346,12 +353,7 @@ namespace Fort23.Mono
|
|
|
LanguageManager.Instance.Text(10429);
|
|
|
}
|
|
|
|
|
|
- string jingjie =
|
|
|
- LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[0]) +
|
|
|
- LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[1]) +
|
|
|
- LanguageManager.Instance.Text(PlayerManager.Instance.myHero.powerUpConfig.jingjieLanIDs[2]);
|
|
|
- Text_Jingjie.text = LanguageManager.Instance.Text(10225, jingjie,
|
|
|
- PlayerManager.Instance.myHero.powerUpConfig.jingjie3, 10);
|
|
|
+
|
|
|
|
|
|
|
|
|
//可以突破特效设置
|
|
|
@@ -390,10 +392,7 @@ namespace Fort23.Mono
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- Text_exp.text =
|
|
|
- $"{(int)PlayerManager.Instance.myHero.exp.Value + allexp}/{PlayerManager.Instance.myHero.powerUpConfig.levelUpExp}";
|
|
|
-
|
|
|
+
|
|
|
//突破按钮图片和文字设置
|
|
|
if (PlayerManager.Instance.myHero.powerUpConfig.jingjie1 == heroInfo.powerUpConfig.jingjie1 &&
|
|
|
PlayerManager.Instance.myHero.powerUpConfig.jingjie2 == heroInfo.powerUpConfig.jingjie2)
|