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