修了不少东西
This commit is contained in:
@@ -255,7 +255,7 @@ public class idolUpgrade : MonoBehaviour
|
||||
prefix += "<color=#FF4D4D>所选两项材料为一组,</color>";
|
||||
}
|
||||
|
||||
SetInfoText(string.Format("{0}突破需消耗 {1} 金币", prefix, GetEffectiveBreakthroughCoinCost()));
|
||||
SetInfoText(string.Format("{0}突破需消耗 {1} 算力", prefix, GetEffectiveBreakthroughCoinCost()));
|
||||
SetConfirmInteractable(true);
|
||||
SetConfirmButtonText("突破");
|
||||
return;
|
||||
@@ -997,7 +997,7 @@ public class idolUpgrade : MonoBehaviour
|
||||
int requiredCoins = GetEffectiveBreakthroughCoinCost();
|
||||
if (!PlayerEconomyLedger.EnsureInstance().HasEnoughCoins(requiredCoins))
|
||||
{
|
||||
failureReason = "金币不足";
|
||||
failureReason = "算力不足";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1017,7 +1017,7 @@ public class idolUpgrade : MonoBehaviour
|
||||
|
||||
if (!PlayerEconomyLedger.EnsureInstance().TrySpendCoins(requiredCoins))
|
||||
{
|
||||
failureReason = "金币不足";
|
||||
failureReason = "算力不足";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user