空判断

zhangqiang 2020-09-12 14:42:55 +08:00
parent 7d9a555151
commit 3b11c5737a
1 changed files with 1 additions and 1 deletions

View File

@ -1717,7 +1717,7 @@ function this.CalculateHeroAllProValList(_type, _heroDid, isWar, _breakId, _upSt
end
end
--目前没有 王振兴加 最后计算个属性的乘减算
if LengthOfTable(curHeroData.MLSproList)>0 then
if curHeroData.MLSproList and LengthOfTable(curHeroData.MLSproList)>0 then
for k, v in pairs(curHeroData.MLSproList) do
local mlsPro=curHeroData.MLSproList[k]
if allAddProVal[mlsPro.proId] then