diff --git a/src/actions/AdvAction.lua b/src/actions/AdvAction.lua index 6cdb770..9f5faac 100644 --- a/src/actions/AdvAction.lua +++ b/src/actions/AdvAction.lua @@ -614,6 +614,7 @@ function _M.exitAdvRpc(agent, data) local role = agent.role -- local msg = MsgPack.unpack(data) if not isCanContinue(role) then return end + -- 冒险中途退出的时候要把引导步骤设定到成就引导 if not role:checkOverGuide(57) then role:saveGuide(57,1,true) end diff --git a/src/adv/Adv.lua b/src/adv/Adv.lua index 087a192..01a734d 100644 --- a/src/adv/Adv.lua +++ b/src/adv/Adv.lua @@ -789,6 +789,10 @@ function Adv:over(success, rewardRatio, overType) red:hset(RANK_ADV_INFO, roleId, MsgPack.pack(curInfo)) end) end + -- 通关的时候要把引导步骤设定到成就引导 + if not role:checkOverGuide(57) then + role:saveGuide(57,1,true) + end end self:clearAdvUnlockCache() -- libgit2 0.21.2