【无尽副本】报错修改

(cherry picked from commit 43cfaf3d1054adca7f6284a0de38c2383678aa6e)
dev_chengFeng
ZhangBiao 2021-01-04 16:58:58 +08:00
parent 0a32818c92
commit 70a85609df
1 changed files with 4 additions and 3 deletions

View File

@ -619,11 +619,12 @@ function this.RefreshFormationProListVal(proId, changeType, _val)
else else
value = value + _val * changeType value = value + _val * changeType
end end
end
-- 人物属性不能小于0 -- 人物属性不能小于0
value = value < 0 and 0 or value value = value < 0 and 0 or value
this.formationList[i].allProVal[_proType] = value this.formationList[i].allProVal[_proType] = value
end end
end
Game.GlobalEvent:DispatchEvent(GameEvent.Map.FormationHpChange) Game.GlobalEvent:DispatchEvent(GameEvent.Map.FormationHpChange)
end end