【家园】摘星阁红点修改

dev_chengFeng
ZhangBiao 2022-01-06 17:59:25 +08:00
parent 956826c46a
commit 1373efaba8
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ end
function this.CheckSingleEquipUpgrade(id)
local bool = false
local data = this.EquipData[id]
if BagManager.GetTotalItemNum(data.configData.Cost[1][1]) >= data.configData.Cost[1][2] then--所需材料够
if data.configData.Cost and BagManager.GetTotalItemNum(data.configData.Cost[1][1]) >= data.configData.Cost[1][2] then--所需材料够
if this.BuildData[data.configData.Limit[1]].level >= data.configData.Limit[2] then--到达升级条件
bool = true
end