|
@@ -230,6 +230,7 @@ namespace GFGGame
|
|
ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.consumeId);
|
|
ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.consumeId);
|
|
_ui.m_listReward.numItems = _decomposeCount > 0 ? cfg.itemsArr.Length : 0;
|
|
_ui.m_listReward.numItems = _decomposeCount > 0 ? cfg.itemsArr.Length : 0;
|
|
_ui.m_txtShow.text = string.Format("* 分解{0}件{1}可获得 *", StringUtil.GetColorText(_decomposeCount.ToString(), "#DA826E"), ConstDressRarity.DressRarityList()[_curRarity]);
|
|
_ui.m_txtShow.text = string.Format("* 分解{0}件{1}可获得 *", StringUtil.GetColorText(_decomposeCount.ToString(), "#DA826E"), ConstDressRarity.DressRarityList()[_curRarity]);
|
|
|
|
+ ET.Log.Debug("分解消耗: " + cfg.consumeId + " 找不到物品配置");
|
|
_ui.m_txtConsume.text = string.Format("消耗{0}X{1}", itemCfg.name, (_decomposeCount * cfg.consumeCount));
|
|
_ui.m_txtConsume.text = string.Format("消耗{0}X{1}", itemCfg.name, (_decomposeCount * cfg.consumeCount));
|
|
}
|
|
}
|
|
private void ListRewardItemRander(int index, GObject obj)
|
|
private void ListRewardItemRander(int index, GObject obj)
|