【家园】材料不足突破红点修复
parent
9826244e7e
commit
1e234c6aa8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue