Commit 87c65a8d7815697fbebebc1920eed2ccee5bd7c4

Authored by liuzujun
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,12 +268,12 @@ function _M.endBattleRpc(agent, data)
268 end 268 end
269 local nextCarbonId = role:getNextCarbonId(carbonId) 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 end 277 end
278 role:updateProperty({field = "hangInfo", value = hangInfo}) 278 role:updateProperty({field = "hangInfo", value = hangInfo})
279 279
1 -Subproject commit e97f773db5d87e95086840cf48cd01b17ec8fc27 1 +Subproject commit fa67cf8b44c11ad75a4d67525fc906d91e17655b