Commit 313069e343fec7f80430ad70d75ba3012f34f016

Authored by zhouhaihai
2 parents 1c4c3480 38c7e6a0

Merge branch 'bugfix' into qa

* bugfix:
  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 {}