【合并多余修改回滚】
parent
4221ffcf5e
commit
80b9b48367
|
@ -4770,21 +4770,6 @@ local passivityList = {
|
|||
|
||||
num = min(maxNum, num)
|
||||
BattleUtil.AddProp(role, pro1, f1 * num, ct1)
|
||||
--如果提升的是血量上限
|
||||
if pro1==12 then
|
||||
hp2 = role:GetRoleData(RoleDataName.Hp) / role:GetRoleData(RoleDataName.MaxHp)
|
||||
local pro=hp-hp2
|
||||
local treat= floor(BattleUtil.ErrorCorrection(role:GetRoleData(RoleDataName.MaxHp)*pro))
|
||||
role.data:AddValue(RoleDataName.Hp, treat)
|
||||
BattleLogManager.Log(
|
||||
"Final Treat",
|
||||
"acamp", role.camp,
|
||||
"apos", role.position,
|
||||
"tcamp", role.camp,
|
||||
"tpos", role.position,
|
||||
"value", treat
|
||||
)
|
||||
end
|
||||
end,
|
||||
|
||||
-- 斩杀生命低于[a]的敌人
|
||||
|
|
Loading…
Reference in New Issue