四灵助战报错修改

dev_chengFeng
jiaoyangna 2021-09-18 17:07:01 +08:00
parent 2bfe122214
commit 13e0865cc2
1 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,10 @@ end
function this:SetMyHeightPower()
heightPower = 0
if not myHeros or #myHeros < 0 then
heightPower = 0
return
end
for k,v in ipairs(myHeros) do
if v.warPower > heightPower then
heightPower = v.warPower