Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
gaoxin 2021-11-12 18:19:01 +08:00
commit f1f407fdd6
1 changed files with 5 additions and 1 deletions

View File

@ -9202,7 +9202,7 @@ local passivityList = {
end
local arr = BattleUtil.ChooseTarget(role,targets)
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
triggerTime=triggerTime+1
end
@ -9229,6 +9229,10 @@ local passivityList = {
if arr[1].position<=3 then
return
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)
if v then
table.insert(cl, {v, ct})