From eb1f9a32f6932b710c9a346a7fe2627a3ecb3990 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Wed, 8 Sep 2021 17:59:17 +0800 Subject: [PATCH] fix: 探索指令,最终章的5个章节的解锁条件的通关拾荒关卡 --- src/actions/StoreAction.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/actions/StoreAction.lua b/src/actions/StoreAction.lua index a377448..6bda06c 100644 --- a/src/actions/StoreAction.lua +++ b/src/actions/StoreAction.lua @@ -534,8 +534,14 @@ function _M.getExploreCommandRewardRpc(agent, data) return 3 end - if not role:checkHangPass(config.level) then - return 4 + if id == 4 then + if not role:checkAdvChapterPass(config.level) then + return 4 + end + else + if not role:checkHangPass(config.level) then + return 4 + end end local gift = "" -- libgit2 0.21.2