[战斗]289被动修改,协议数据提交
parent
8503667fc8
commit
e9c4cab292
|
@ -2307,7 +2307,7 @@ local passivityList = {
|
|||
local ct = args[3]
|
||||
role.isHaveNoDead = true
|
||||
-- 角色死亡时
|
||||
local onRoleDead = function()
|
||||
local onRoleDead = function(atkRole)
|
||||
-- -- 暂时不能死
|
||||
-- role:SetDeadFilter(false)
|
||||
|
||||
|
@ -5938,7 +5938,7 @@ local passivityList = {
|
|||
[289] = function(role, args)
|
||||
local f1 = args[1]
|
||||
local OnDamage = function(defRole, damage, bCrit, finalDmg)
|
||||
BattleUtil.CalTreat(role, role, floor(f1 * finalDmg))
|
||||
BattleUtil.CalTreat(role, role, floor(f1 * damage))
|
||||
end
|
||||
role.Event:AddEvent(BattleEventName.RoleCrit, OnDamage)
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue