|
@@ -158,7 +158,7 @@ namespace GFGGame
|
|
iconRes = itemCfg.res;
|
|
iconRes = itemCfg.res;
|
|
id = itemCfg.id;
|
|
id = itemCfg.id;
|
|
isSuit = false;
|
|
isSuit = false;
|
|
- if (itemCfg.itemType == ConstItemType.DRESS_UP)
|
|
|
|
|
|
+ //if (itemCfg.itemType == ConstItemType.DRESS_UP)
|
|
rarity = itemCfg.rarity;
|
|
rarity = itemCfg.rarity;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -166,7 +166,7 @@ namespace GFGGame
|
|
// item.m_txtCount.text = _listItemDatas[index].num==1?"": string.Format("{0}", _listItemDatas[index].num);
|
|
// item.m_txtCount.text = _listItemDatas[index].num==1?"": string.Format("{0}", _listItemDatas[index].num);
|
|
item.m_txtCount.text = string.Format("{0}", _listItemDatas[index].num);
|
|
item.m_txtCount.text = string.Format("{0}", _listItemDatas[index].num);
|
|
item.m_loaIcon.url = ResPathUtil.GetIconPath(iconRes, ext);
|
|
item.m_loaIcon.url = ResPathUtil.GetIconPath(iconRes, ext);
|
|
- if(rarity > 0)
|
|
|
|
|
|
+ if (rarity > 0)
|
|
item.m_QualityType.selectedIndex = rarity - 1;
|
|
item.m_QualityType.selectedIndex = rarity - 1;
|
|
|
|
|
|
RarityIconController.UpdateRarityIcon(item.m_loaRarity, id, false, isSuit);
|
|
RarityIconController.UpdateRarityIcon(item.m_loaRarity, id, false, isSuit);
|