魂印商店刷新修改
parent
feb859b9a6
commit
5abf6060d2
|
|
@ -118,11 +118,9 @@ function this:BindEvent()
|
|||
local isShow = false
|
||||
for k,v in pairs(itemlist) do
|
||||
local goods = ShopManager.GetShopItemGoodsInfo(v.id)
|
||||
local itemInfo = ShopManager.GetShopItemInfo(v.id)
|
||||
local maxLimitCount = ShopManager.GetShopItemLimitBuyCount(v.id)
|
||||
local curBuyCount = itemInfo.buyNum
|
||||
local con = ConfigManager.GetConfigData(ConfigName.ItemConfig,goods[1][1])
|
||||
if con.Quantity >= 6 and curBuyCount < maxLimitCount then
|
||||
if con.Quantity >= 6 and v.buyNum < maxLimitCount then
|
||||
isShow = true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue