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

dev_chengFeng
wangzhenxing 2022-01-10 14:22:57 +08:00
parent 581bfa2615
commit ec1f5be131
1 changed files with 3 additions and 1 deletions

View File

@ -10670,12 +10670,14 @@ local passivityList = {
if skill and not skill.isTriggerJudge and judge==1 then
return
end
if skill and skill.type~= BattleSkillType.Special then
return
end
local arr=RoleManager.Query(function(v) return v.camp~=role.camp end)
if arr==nil or #arr==0 then
return
end
for i = 1, t1 do
local index = Random.RangeInt(1, #arr)
BattleUtil.CalRage(role,arr[index],num,ct)
end