[战斗]======被动376 377修改

dev_chengFeng
wangzhenxing 2021-11-12 17:38:28 +08:00
parent 83583747ad
commit 7dfa28321c
1 changed files with 5 additions and 1 deletions

View File

@ -9202,7 +9202,7 @@ local passivityList = {
end end
local arr = BattleUtil.ChooseTarget(role,targets) local arr = BattleUtil.ChooseTarget(role,targets)
for i=1, #arr do for i=1, #arr do
arr[i]:AddBuff(Buff.Create(arr[i], BuffName.PropertyChange, round, BattlePropList[p1],v1, ct)) arr[i]:AddBuff(Buff.Create(role, BuffName.PropertyChange, round, BattlePropList[p1],v1, ct))
end end
triggerTime=triggerTime+1 triggerTime=triggerTime+1
end end
@ -9229,6 +9229,10 @@ local passivityList = {
if arr[1].position<=3 then if arr[1].position<=3 then
return return
end end
local front=RoleManager.Query(function(v) return role.camp == v.camp and v.position<=3 end)
if not front or #front==0 then
return
end
local function _CallBack(v, ct) local function _CallBack(v, ct)
if v then if v then
table.insert(cl, {v, ct}) table.insert(cl, {v, ct})