[战斗]289被动修改,协议数据提交

dev_chengFeng
wangzhenxing 2020-12-26 17:08:53 +09:00
parent 8503667fc8
commit e9c4cab292
1 changed files with 2 additions and 2 deletions

View File

@ -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,