[战斗]=======被动414 修改

dev_chengFeng
wangzhenxing 2021-12-29 17:09:27 +08:00
parent 73d92664de
commit d158a9451a
1 changed files with 4 additions and 2 deletions

View File

@ -10658,7 +10658,7 @@ local passivityList = {
end
BattleLogic.Event:AddEvent(BattleEventName.BattleRoundChange, onBattleRoundChange)
end,
-- 每有一个[a]阵营神将改变[b]%[c]属性 改变类型[d](战前全体生效用)
-- 每有一个[a]阵营神将改变全体[b]%[c]属性 改变类型[d](战前全体生效用)
--a[int],b[float],c[属性],d[int]
[413] =function(role,args,id,judge)
end,
@ -10670,6 +10670,7 @@ local passivityList = {
local num = args[3]
local OnSkillCastEnd = function(skill)
if skill and not skill.isTriggerJudge and judge==1 then
return
end
@ -10678,8 +10679,9 @@ local passivityList = {
return
end
for i = 1, t1 do
local index = Random.RangeInt(1, #arr)
BattleUtil.CalRage(role,arr[i],num,ct)
BattleUtil.CalRage(role,arr[index],num,ct)
end
end
role.Event:AddEvent(BattleEventName.SkillCastEnd, OnSkillCastEnd,nil,nil,role)