Commit 749528ebeae9bc254516ad5aed4ebad19da65046
1 parent
5dee6549
拾荒章节解锁条件修改
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/models/RolePlugin.lua
... | ... | @@ -1308,8 +1308,10 @@ function RolePlugin.bind(Role) |
1308 | 1308 | local prepose = chapterData.prepose:toArray(true,"=") |
1309 | 1309 | if prepose[1] == 1 then |
1310 | 1310 | if chapterData.prepose ~= 0 and not self:checkHangPass(prepose[2]) then return false end |
1311 | - else | |
1311 | + elseif prepose[1] == 2 then | |
1312 | 1312 | return self:checkAdvChapterPass(prepose[2]) |
1313 | + elseif prepose[1] == 3 then | |
1314 | + return self:checkOverGuide(prepose[2]) | |
1313 | 1315 | end |
1314 | 1316 | return true |
1315 | 1317 | end | ... | ... |