【云游商人】怎加妖晶数量检测
parent
99602b3008
commit
75be84bbff
|
@ -198,7 +198,9 @@ function this.UpdateSingleTypeData(actType)
|
|||
end
|
||||
|
||||
function this.CheckSingleRed(data)
|
||||
if data.progress == 0 then
|
||||
local NeedCost = ConfigManager.GetConfigData(ConfigName.ComposeBook,data.otherData.needItems[1]).NeedCost
|
||||
if data.progress > 0 then
|
||||
if BagManager.GetTotalItemNum(NeedCost[1][1]) >= NeedCost[1][2] then
|
||||
local list = BagManager.GetBagItemDataByItemType(ItemBaseType.Equip)
|
||||
local EquipedEquipList = HeroManager.GetEquipedEquipList()
|
||||
for i = 1, #data.otherData.needItems do
|
||||
|
@ -216,6 +218,7 @@ function this.CheckSingleRed(data)
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue