【优化】云游商人增加白金装备分解配方
parent
436de6bf4f
commit
0769659e72
|
@ -19,6 +19,7 @@ local TypeUpdateFunc = {
|
|||
curData.rewards[i].otherData.needItems = configData[j].NeedItems
|
||||
curData.rewards[i].otherData.count = configData[j].Count
|
||||
curData.rewards[i].otherData.composeType = configData[j].ComposeType
|
||||
curData.rewards[i].otherData.IsShowItem = configData[j].IsShowItem == 1 and true or false
|
||||
curData.rewards[i].otherData.selectId = 0
|
||||
end
|
||||
end
|
||||
|
|
|
@ -92,11 +92,11 @@ end
|
|||
function ItemUpstarPre:SetMask()
|
||||
if self.data.otherData.selectId == 0 then
|
||||
self.btnMaskNeedAdd:SetActive(true)
|
||||
self.btnMaskGet:SetActive(true)
|
||||
self.btnMaskGet:SetActive(not self.data.otherData.IsShowItem)
|
||||
Util.GetGameObject(self.itemList[1].gameObject,"effects"):SetActive(false)
|
||||
Util.GetGameObject(self.itemList[1].gameObject,"item/icon"):SetActive(false)
|
||||
Util.GetGameObject(self.itemList[3].gameObject,"effects"):SetActive(false)
|
||||
Util.GetGameObject(self.itemList[3].gameObject,"item/icon"):SetActive(false)
|
||||
Util.GetGameObject(self.itemList[3].gameObject,"item/icon"):SetActive(self.data.otherData.IsShowItem)
|
||||
else
|
||||
self.btnMaskNeedAdd:SetActive(false)
|
||||
self.btnMaskGet:SetActive(false)
|
||||
|
|
Loading…
Reference in New Issue