Commit eb1f9a32f6932b710c9a346a7fe2627a3ecb3990

Authored by zhangqijia
1 parent 3ad19fe4

fix: 探索指令,最终章的5个章节的解锁条件的通关拾荒关卡

Showing 1 changed file with 8 additions and 2 deletions   Show diff stats
src/actions/StoreAction.lua
... ... @@ -534,8 +534,14 @@ function _M.getExploreCommandRewardRpc(agent, data)
534 534 return 3
535 535 end
536 536  
537   - if not role:checkHangPass(config.level) then
538   - return 4
  537 + if id == 4 then
  538 + if not role:checkAdvChapterPass(config.level) then
  539 + return 4
  540 + end
  541 + else
  542 + if not role:checkHangPass(config.level) then
  543 + return 4
  544 + end
539 545 end
540 546  
541 547 local gift = ""
... ...