【战斗】=========被动313 修改

dev_chengFeng
wangzhenxing 2021-04-25 15:53:24 +08:00
parent 26d50be57c
commit efa66c0130
1 changed files with 1 additions and 1 deletions

View File

@ -6862,7 +6862,7 @@ local passivityList = {
local addIds={}
-- 释放技能后
local onRoleBeDamaged = function(caster, damage)
local ft = defRole:GetRoleData(RoleDataName.Hp)/defRole:GetRoleData(RoleDataName.MaxHp)
local ft = role:GetRoleData(RoleDataName.Hp)/role:GetRoleData(RoleDataName.MaxHp)
for key, value in pairs(passTable) do
if ft<value and not BattleUtil.ChecklistIsContainValue(passTable,key) then
role:AddPassiveById(key)