[战斗]======被动387,437修改
parent
872aabfa5d
commit
0008793a34
|
@ -9726,9 +9726,11 @@ local passivityList = {
|
||||||
if haveRage>defRole.Rage then
|
if haveRage>defRole.Rage then
|
||||||
aa=aa+p1
|
aa=aa+p1
|
||||||
else
|
else
|
||||||
|
if p2~=-1 then
|
||||||
defRole:AddBuff(Buff.Create(role, BuffName.BanBlood, p2))
|
defRole:AddBuff(Buff.Create(role, BuffName.BanBlood, p2))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
local val = -floor(BattleUtil.FP_Mul(aa, defRole:GetRoleData(BattlePropList[f1])))
|
local val = -floor(BattleUtil.FP_Mul(aa, defRole:GetRoleData(BattlePropList[f1])))
|
||||||
if f1==12 or f1==13 then
|
if f1==12 or f1==13 then
|
||||||
BattleUtil.FinalDamageCountShield(nil,role,defRole,-val)
|
BattleUtil.FinalDamageCountShield(nil,role,defRole,-val)
|
||||||
|
@ -11303,6 +11305,9 @@ local passivityList = {
|
||||||
local v1 = args[3]
|
local v1 = args[3]
|
||||||
|
|
||||||
local function onRoundChange(curRound)
|
local function onRoundChange(curRound)
|
||||||
|
if role:IsDead() then
|
||||||
|
return
|
||||||
|
end
|
||||||
local arr = BattleUtil.ChooseTarget(role, target)
|
local arr = BattleUtil.ChooseTarget(role, target)
|
||||||
local val = floor(BattleUtil.FP_Mul(v1, role:GetRoleData(BattlePropList[pro])))
|
local val = floor(BattleUtil.FP_Mul(v1, role:GetRoleData(BattlePropList[pro])))
|
||||||
for i=1, #arr do
|
for i=1, #arr do
|
||||||
|
|
Loading…
Reference in New Issue