【家园】材料不足突破红点修复

dev_chengFeng
ZhangBiao 2022-01-13 18:26:39 +08:00
parent 9826244e7e
commit 1e234c6aa8
1 changed files with 8 additions and 0 deletions

View File

@ -282,6 +282,14 @@ end
--摘星阁
function this.CheckEquipUpgrade()
if this.BuildData[5].level >= HomeLand[6].UnlockLevel[2] then
if this.GetAllCanUpgrade() then
local configData = EquipRankUp[this.levelProId]
if configData.Cost and BagManager.GetTotalItemNum(configData.Cost[1]) >= configData.Cost[2] then
return true
else
return false
end
end
for i = 1, 4 do
if this.CheckSingleEquipUpgrade(i) then
return true