Commit 8864df6696ce1b7b3422165ee4ac7fd6b1421fac
1 parent
91ef5b2f
电波塔检查任务参数错误
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/actions/TowerAction.lua
| ... | ... | @@ -109,7 +109,9 @@ function _M.endBattleRpc(agent, data) |
| 109 | 109 | |
| 110 | 110 | curLevel = curLevel + 1 |
| 111 | 111 | reward, change = role:award(curTower.reward, {log = {desc = "towerBattle", int1 = id}}) |
| 112 | - role:checkTaskEnter("TowerPass", {count = 1, type = towerType + 1}) | |
| 112 | + if towerType == 0 then | |
| 113 | + role:checkTaskEnter("TowerPass", {level = towerInfo.l}) | |
| 114 | + end | |
| 113 | 115 | end |
| 114 | 116 | |
| 115 | 117 | if towerType == 0 then | ... | ... |