|
@@ -86,9 +86,15 @@ namespace GFGGame
|
|
|
_imgNum.visible = true;
|
|
|
|
|
|
_txtName.text = itemCfg.name;
|
|
|
- _txtCount.text = string.Format("{0}", _itemData.num);
|
|
|
+
|
|
|
+ string strNum = "";
|
|
|
+ if(_itemData.numRandomeMin > 0 && _itemData.num > _itemData.numRandomeMin)
|
|
|
+ strNum = string.Format("{0}~{1}", _itemData.numRandomeMin, _itemData.num);
|
|
|
+ else
|
|
|
+ strNum = string.Format("{0}", _itemData.num);
|
|
|
|
|
|
- if(itemCfg.rarity > 0)
|
|
|
+ _txtCount.text = strNum;
|
|
|
+ if (itemCfg.rarity > 0)
|
|
|
_qualityType.selectedIndex = itemCfg.rarity - 1;
|
|
|
}
|
|
|
|