Commit 819f6c605f9c5aedd72f33c1884db04bbc09e76f
1 parent
53227d9c
战斗不判断防守阵容
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/actions/PvpAction.lua
... | ... | @@ -257,8 +257,8 @@ function _M.startBattleRpc(agent, data) |
257 | 257 | local idx = msg.idx |
258 | 258 | local revenge = msg.revenge |
259 | 259 | |
260 | - local pvpTC = role:getProperty("pvpTC") | |
261 | - if not pvpTC.heros or not next(pvpTC.heros) then return 1 end | |
260 | + -- local pvpTC = role:getProperty("pvpTC") | |
261 | + -- if not pvpTC.heros or not next(pvpTC.heros) then return 1 end | |
262 | 262 | |
263 | 263 | local team = msg.team |
264 | 264 | if not team then return end |
... | ... | @@ -473,8 +473,8 @@ function _M.startBattleHRpc(agent, data) |
473 | 473 | local revenge = msg.revenge |
474 | 474 | if not role:isTimeResetOpen(TimeReset.PvpHight) then return end |
475 | 475 | |
476 | - local pvpTH = role:getProperty("pvpTH") | |
477 | - if not next(pvpTH) then return 1 end | |
476 | + -- local pvpTH = role:getProperty("pvpTH") | |
477 | + -- if not next(pvpTH) then return 1 end | |
478 | 478 | |
479 | 479 | -- 检查并记录玩家队伍 |
480 | 480 | local pvpTH = {} | ... | ... |