【无尽副本】报错修改
(cherry picked from commit 43cfaf3d1054adca7f6284a0de38c2383678aa6e)dev_chengFeng
parent
0a32818c92
commit
70a85609df
|
@ -619,10 +619,11 @@ function this.RefreshFormationProListVal(proId, changeType, _val)
|
|||
else
|
||||
value = value + _val * changeType
|
||||
end
|
||||
-- 人物属性不能小于0
|
||||
value = value < 0 and 0 or value
|
||||
this.formationList[i].allProVal[_proType] = value
|
||||
end
|
||||
-- 人物属性不能小于0
|
||||
value = value < 0 and 0 or value
|
||||
this.formationList[i].allProVal[_proType] = value
|
||||
|
||||
end
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.FormationHpChange)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue