From 4a02453a9bbb5c78ea836f719aa6ea156050800f Mon Sep 17 00:00:00 2001 From: liuzujun <307836273@qq.com> Date: Tue, 22 Sep 2020 17:55:11 +0800 Subject: [PATCH] 挂机排除噩梦难度 --- src/models/RolePlugin.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/models/RolePlugin.lua b/src/models/RolePlugin.lua index d2c3239..f9cfb2a 100644 --- a/src/models/RolePlugin.lua +++ b/src/models/RolePlugin.lua @@ -1691,9 +1691,13 @@ function RolePlugin.bind(Role) if not csvdb["idle_battleCsv"][nextId] then nextId = makeCarbonId(diff, chapterId + 1, 1) if not csvdb["idle_battleCsv"][nextId] then - nextId = makeCarbonId(diff + 1, 1, 1) - if not csvdb["idle_battleCsv"][nextId] then + if diff + 1 == 3 then nextId = 0 + else + nextId = makeCarbonId(diff + 1, 1, 1) + if not csvdb["idle_battleCsv"][nextId] then + nextId = 0 + end end end end -- libgit2 0.21.2