变身卡自选箱修改

dev_chengFeng
jiaoyangna 2021-12-06 15:45:11 +08:00
parent 2a3a22a997
commit a0440fa3ae
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ function RewardBoxPanel:SetSingleGiftData(index,item,boxId,tagNum)
yihuode:SetActive(false)
if itemConfig[rewardGroup[boxId].ShowItem[index][1]].ItemType == ItemType.Incarnation and BagManager.isBagPanel then
local num = BagManager.GetItemCountById(rewardGroup[boxId].ShowItem[index][1])
if num > 0 then
if num > 0 or IncarnationManager.GetStatusByItemId(rewardGroup[boxId].ShowItem[index][1]) >= 0 then
select:SetActive(false)
yihuode:SetActive(true)
else