| | |
| | | m_ItemCell.Init(cellModel);
|
| | | if (advancedLv == 0)
|
| | | {
|
| | | m_TextAttributesA.text = "装备强化等级到达" + evolveNext.NeedPlusLV + "级";
|
| | | m_TextAttributesB.text = "消耗" + evolveNext.CostItemCount + "个强化水晶";
|
| | | |
| | | m_TextAttributesA.text = Language.Get("ZBQH_05", evolveNext.NeedPlusLV);
|
| | | m_TextAttributesB.text = Language.Get("ZBQH_06", evolveNext.CostItemCount);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_TextAttributesA.text = "装备强化等级到达" + evolve.NeedPlusLV + "级";
|
| | | m_TextAttributesB.text = "消耗" + evolve.CostItemCount + "个强化水晶";
|
| | | m_TextAttributesA.text = Language.Get("ZBQH_05", evolve.NeedPlusLV);
|
| | | m_TextAttributesB.text = Language.Get("ZBQH_06", evolve.CostItemCount);
|
| | | }
|
| | |
|
| | | } |
| | |
| | | itemCount = playerPack.GetItemCountByID(PackType.Item, equipPlusEvolve.CostItemID);
|
| | | if (equipPlusEvolve.NeedPlusLV > equipLv)
|
| | | {
|
| | | ServerTipDetails.DisplayNormalTip(Language.Get("ZBQH_07"));
|
| | | DebugEx.LogError("所需强化等级不足");
|
| | | return false;
|
| | | }
|
| | |
| | | ulong needMoney = (ulong)itemPlusConfig.costCount;
|
| | | string MoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(UIHelper.GetMoneyCnt(3));
|
| | | string NeedMoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(needMoney);
|
| | | if (money >= needMoney)
|
| | | if (money >= needMoney) |
| | | {
|
| | | strMoneyText = "<color=#fffaf0>" + NeedMoneyStr + "/" + MoneyStr + "</color>";
|
| | | }
|
| | | else
|
| | | {
|
| | | strMoneyText = "<color=#ff0000>" + NeedMoneyStr + "/" + MoneyStr + "</color>";
|
| | | strMoneyText = Language.Get("ZBQH_03", NeedMoneyStr, MoneyStr); |
| | | } |
| | | else |
| | | { |
| | | strMoneyText = Language.Get("ZBQH_04", NeedMoneyStr, MoneyStr); |
| | | }
|
| | | return strMoneyText;
|
| | | } |
| | |
| | | string MoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(UIHelper.GetMoneyCnt(3)); |
| | | string NeedMoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(needMoney); |
| | | if (money >= needMoney) |
| | | { |
| | | strMoneyText = "<color=#fffaf0>" + NeedMoneyStr + "/"+ MoneyStr + "</color>"; |
| | | { |
| | | strMoneyText = Language.Get("ZBQH_03", NeedMoneyStr, MoneyStr); |
| | | } |
| | | else |
| | | { |
| | | strMoneyText = "<color=#ff0000>" + NeedMoneyStr + "/" + MoneyStr + "</color>"; |
| | | strMoneyText = Language.Get("ZBQH_04", NeedMoneyStr, MoneyStr); |
| | | } |
| | | return strMoneyText; |
| | | } |
| | |
| | | ulong needMoney = (ulong)itemPlusConfig.costCount;
|
| | | string MoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(UIHelper.GetMoneyCnt(3));
|
| | | string NeedMoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(needMoney);
|
| | | if (money >= needMoney)
|
| | | if (money >= needMoney) |
| | | {
|
| | | strMoneyText = "<color=#fffaf0>" + NeedMoneyStr + "/" + MoneyStr + "</color>";
|
| | | }
|
| | | else
|
| | | {
|
| | | strMoneyText = "<color=#ff0000>" + NeedMoneyStr + "/" + MoneyStr + "</color>";
|
| | | strMoneyText = Language.Get("ZBQH_03", NeedMoneyStr, MoneyStr); |
| | | } |
| | | else |
| | | { |
| | | strMoneyText = Language.Get("ZBQH_04", NeedMoneyStr, MoneyStr); |
| | | }
|
| | | return strMoneyText;
|
| | | }
|