diff --git a/src/actions/HangAction.lua b/src/actions/HangAction.lua index 31a76c9..b87d9a5 100644 --- a/src/actions/HangAction.lua +++ b/src/actions/HangAction.lua @@ -268,12 +268,12 @@ function _M.endBattleRpc(agent, data) end local nextCarbonId = role:getNextCarbonId(carbonId) -- 设置挂机关卡 - if isWin and (hangInfo.carbonId or 0) < nextCarbonId then - hangInfo.expCarbonId = nextCarbonId - local cfg = csvdb["idle_battleCsv"][nextCarbonId] - if cfg then - hangInfo.bossTime = skynet.timex() + cfg.idle_time - end + if isWin then --and (hangInfo.carbonId or 0) < nextCarbonId then + hangInfo.expCarbonId = carbonId + --local cfg = csvdb["idle_battleCsv"][nextCarbonId] + --if cfg then + -- hangInfo.bossTime = skynet.timex() + cfg.idle_time + --end end role:updateProperty({field = "hangInfo", value = hangInfo}) diff --git a/src/csvdata b/src/csvdata index e97f773..fa67cf8 160000 --- a/src/csvdata +++ b/src/csvdata @@ -1 +1 @@ -Subproject commit e97f773db5d87e95086840cf48cd01b17ec8fc27 +Subproject commit fa67cf8b44c11ad75a4d67525fc906d91e17655b -- libgit2 0.21.2