|
@@ -207,17 +207,12 @@ public class BigSkill : Skill
|
|
|
|
|
|
if (SkillTab != SkillTab.Null)
|
|
|
{
|
|
|
- ItemLab.text = GetDescription(0);
|
|
|
-
|
|
|
- ItemBtn.onClick.RemoveAllListeners();
|
|
|
- ItemBtn.onClick.AddListener(OnClick);
|
|
|
-
|
|
|
for (int i = 0; i < Level - 1; i++)
|
|
|
{
|
|
|
NewUpgradeAmt = Auxiliary.FmlParse(UpgradeFml, "a", NewUpgradeAmt.ToString());
|
|
|
}
|
|
|
-
|
|
|
- if (BarStatus_ == SkillStatus.Upgrade)
|
|
|
+
|
|
|
+ if (BarStatus_ != SkillStatus.Lock && BarStatus_ != SkillStatus.UnLock)
|
|
|
{
|
|
|
UpgradeValue(ref NewPlus, UpgradePlus, Level - 1);
|
|
|
UpgradeValue(ref NewPersonBuff, UpgradePerson, Level - 1);
|
|
@@ -230,6 +225,11 @@ public class BigSkill : Skill
|
|
|
UpgradeValue(ref NewCoinOnce, CoinOnce, UpgradeCoinOnce, Level - 1);
|
|
|
UpgradeValue(ref NewCoinPerson, CoinPerson, UpgradePlus, Level - 1);
|
|
|
}
|
|
|
+
|
|
|
+ ItemBtn.onClick.RemoveAllListeners();
|
|
|
+ ItemBtn.onClick.AddListener(OnClick);
|
|
|
+
|
|
|
+ ItemLab.text = GetDescription(0);
|
|
|
}
|
|
|
|
|
|
if (BarStatus_ == SkillStatus.Use)
|