【装备】摘星阁属性
parent
f20f722177
commit
b316eccd7c
|
@ -621,15 +621,17 @@ end
|
||||||
|
|
||||||
|
|
||||||
function this.updateHomeLandEquipLv()
|
function this.updateHomeLandEquipLv()
|
||||||
for key, value in pairs(this.equipDatas) do
|
if this.equipDatas then
|
||||||
value.HomeEquipLv = function()
|
for key, value in pairs(this.equipDatas) do
|
||||||
local data = HomeLandManager.EquipData[value.position]
|
value.HomeEquipLv = function()
|
||||||
if data and data.configData and data.configPro then
|
local data = HomeLandManager.EquipData[value.position]
|
||||||
return {data.configData.Level,data.configPro.Level}
|
if data and data.configData and data.configPro then
|
||||||
|
return {data.configData.Level,data.configPro.Level}
|
||||||
|
end
|
||||||
|
return {0,0}
|
||||||
end
|
end
|
||||||
return {0,0}
|
value.homeEquipLv = value.HomeEquipLv()
|
||||||
end
|
end
|
||||||
value.homeEquipLv = value.HomeEquipLv()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue