【合并多余修改回滚】

dev_chengFeng
JieLing 2021-03-27 17:35:13 +08:00
parent 4221ffcf5e
commit 80b9b48367
1 changed files with 0 additions and 15 deletions

View File

@ -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]的敌人