Commit 07c6a92ba2cec99bbf73bde0e7f67123b914962b

Authored by zhouhaihai
1 parent bf857ca1

bug

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/models/RoleChangeStruct.lua
@@ -34,8 +34,9 @@ end) @@ -34,8 +34,9 @@ end)
34 local bugFixSuduku = createVersionFunc(VersionType.DoOnly, function(role, params) 34 local bugFixSuduku = createVersionFunc(VersionType.DoOnly, function(role, params)
35 local sudoku = role:getProperty("sudoku") 35 local sudoku = role:getProperty("sudoku")
36 local phase = sudoku[-1] or 1 36 local phase = sudoku[-1] or 1
  37 + local id = 9
37 if phase == 1 then 38 if phase == 1 then
38 - local curData = (csvdb["guide_sudokuCsv"][phase] or {})[9] 39 + local curData = (csvdb["guide_sudokuCsv"][phase] or {})[id]
39 if role:checkHangPass(curData.con2) then 40 if role:checkHangPass(curData.con2) then
40 sudoku.task = sudoku.task or {} 41 sudoku.task = sudoku.task or {}
41 sudoku.task[phase] = sudoku.task[phase] or {} 42 sudoku.task[phase] = sudoku.task[phase] or {}