Commit 87c65a8d7815697fbebebc1920eed2ccee5bd7c4
1 parent
1070d7ce
挂机经验关卡改为最终通关关卡
Showing
2 changed files
with
7 additions
and
7 deletions
 
Show diff stats
src/actions/HangAction.lua
| ... | ... | @@ -268,12 +268,12 @@ function _M.endBattleRpc(agent, data) | 
| 268 | 268 | end | 
| 269 | 269 | local nextCarbonId = role:getNextCarbonId(carbonId) | 
| 270 | 270 | -- 设置挂机关卡 | 
| 271 | - if isWin and (hangInfo.carbonId or 0) < nextCarbonId then | |
| 272 | - hangInfo.expCarbonId = nextCarbonId | |
| 273 | - local cfg = csvdb["idle_battleCsv"][nextCarbonId] | |
| 274 | - if cfg then | |
| 275 | - hangInfo.bossTime = skynet.timex() + cfg.idle_time | |
| 276 | - end | |
| 271 | + if isWin then --and (hangInfo.carbonId or 0) < nextCarbonId then | |
| 272 | + hangInfo.expCarbonId = carbonId | |
| 273 | + --local cfg = csvdb["idle_battleCsv"][nextCarbonId] | |
| 274 | + --if cfg then | |
| 275 | + -- hangInfo.bossTime = skynet.timex() + cfg.idle_time | |
| 276 | + --end | |
| 277 | 277 | end | 
| 278 | 278 | role:updateProperty({field = "hangInfo", value = hangInfo}) | 
| 279 | 279 | ... | ... |