From a7de05c24588e6afc11ba460469e4b3d87296447 Mon Sep 17 00:00:00 2001 From: chenyueqi Date: Wed, 16 Dec 2020 13:54:21 +0800 Subject: [PATCH] 清除引导功能顺便也清除关卡解锁触发的强制引导 --- src/actions/GmAction.lua | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index 34064c8..ab5fd77 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -502,6 +502,11 @@ function _M.guide(role, pms) end end end + for _, data in pairs(csvdb["guide_unlockCsv"]) do + if data.type == 0 or data.type == 3 then + str = str:setv(data.id,1) + end + end role:updateProperty({field = "funcGuide", value = str}) role:mylog("gm_action", {desc = "sguide", key1 = pms.sender}) -- libgit2 0.21.2