diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua index bd28eb3f41..9a1d1097e1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -9726,7 +9726,9 @@ local passivityList = { if haveRage>defRole.Rage then aa=aa+p1 else - defRole:AddBuff(Buff.Create(role, BuffName.BanBlood, p2)) + if p2~=-1 then + defRole:AddBuff(Buff.Create(role, BuffName.BanBlood, p2)) + end end end local val = -floor(BattleUtil.FP_Mul(aa, defRole:GetRoleData(BattlePropList[f1]))) @@ -11303,6 +11305,9 @@ local passivityList = { local v1 = args[3] local function onRoundChange(curRound) + if role:IsDead() then + return + end local arr = BattleUtil.ChooseTarget(role, target) local val = floor(BattleUtil.FP_Mul(v1, role:GetRoleData(BattlePropList[pro]))) for i=1, #arr do