[战斗]======被动387,437修改

dev_chengFeng
wangzhenxing 2022-08-19 11:09:25 +08:00
parent 872aabfa5d
commit 0008793a34
1 changed files with 6 additions and 1 deletions

View File

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