back_recharge
wangyuan 2019-09-16 21:41:43 +08:00
parent 200905d5a3
commit 90b95dfef4
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ local function casterBulletEffect(caster, target, interval)
end
local function calBuffHit(caster, target, baseRandom)
if caster.isTeam then --异妖不走效果命中公式
return baseRandom
end
local hit = (1 + caster:GetRoleData(RoleDataName.Hit) / (1 + target:GetRoleData(RoleDataName.Dodge)))
return BattleUtil.ErrorCorrection(hit * baseRandom)
end