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,8 +257,8 @@ function _M.startBattleRpc(agent, data) | ||
| 257 | local idx = msg.idx | 257 | local idx = msg.idx |
| 258 | local revenge = msg.revenge | 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 | local team = msg.team | 263 | local team = msg.team |
| 264 | if not team then return end | 264 | if not team then return end |
| @@ -473,8 +473,8 @@ function _M.startBattleHRpc(agent, data) | @@ -473,8 +473,8 @@ function _M.startBattleHRpc(agent, data) | ||
| 473 | local revenge = msg.revenge | 473 | local revenge = msg.revenge |
| 474 | if not role:isTimeResetOpen(TimeReset.PvpHight) then return end | 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 | local pvpTH = {} | 480 | local pvpTH = {} |