少年修仙传客户端代码仓库
client_linchunjie
2019-03-29 23e0dbbe941dc3c61ed1df024ba82c1a4da178ff
3335 修改强化bug
1个文件已修改
19 ■■■■■ 已修改文件
System/EquipGem/EquipStrengthFull.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthFull.cs
@@ -39,7 +39,7 @@
                DebugEx.LogError("没有索引到对应的强化表数据");
                return;
            }
            NeedMoney.text = SetMoneyText(itemPlus);
            NeedMoney.gameObject.SetActive(false);
            m_TextNumber.text = "+" + equipLv;
            int equipType = strengthModel.GetEquipStrengthType(equipPlace);
@@ -95,23 +95,6 @@
            }
        }
        private string SetMoneyText(ItemPlusConfig itemPlusConfig)
        {
            string strMoneyText = string.Empty;
            ulong money = UIHelper.GetMoneyCnt(3);
            ulong needMoney = (ulong)itemPlusConfig.costCount;
            string MoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(UIHelper.GetMoneyCnt(3));
            string NeedMoneyStr = ItemLogicUtility.Instance.OnChangeCoinsUnit(needMoney);
            if (money >= needMoney)
            {
                strMoneyText = Language.Get("ZBQH_03", NeedMoneyStr, MoneyStr);
            }
            else
            {
                strMoneyText = Language.Get("ZBQH_04", NeedMoneyStr, MoneyStr);
            }
            return strMoneyText;
        }
    }
}