【战斗】 142被动效果修改 间接伤害不会触发回血
parent
2dd63c7986
commit
c4320e59e2
|
@ -2627,7 +2627,11 @@ local passivityList = {
|
|||
[142] = function(role, args)
|
||||
local dot = args[1]
|
||||
local f1 = args[2]
|
||||
local onHit = function(target, damage, bCrit, finalDmg)
|
||||
local onHit = function(target, damage, bCrit, finalDmg,damageType,skill)
|
||||
--只对技能的直接目标生效,分摊出去的不会回血 2020/12/17 王振兴
|
||||
if not skill then
|
||||
return
|
||||
end
|
||||
if BattleLogic.BuffMgr:HasBuff(target, BuffName.DOT, function(buff) return buff.damageType == dot end) then
|
||||
--吸血修改 finaldamage 改为 damage by:往王振兴 2020/08/17
|
||||
BattleUtil.ApplyTreat(role, role, floor(BattleUtil.ErrorCorrection(damage * f1)))
|
||||
|
|
Loading…
Reference in New Issue