Commit a7de05c24588e6afc11ba460469e4b3d87296447

Authored by chenyueqi
1 parent 3b903aa0

清除引导功能顺便也清除关卡解锁触发的强制引导

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/actions/GmAction.lua
@@ -502,6 +502,11 @@ function _M.guide(role, pms) @@ -502,6 +502,11 @@ function _M.guide(role, pms)
502 end 502 end
503 end 503 end
504 end 504 end
  505 + for _, data in pairs(csvdb["guide_unlockCsv"]) do
  506 + if data.type == 0 or data.type == 3 then
  507 + str = str:setv(data.id,1)
  508 + end
  509 + end
505 role:updateProperty({field = "funcGuide", value = str}) 510 role:updateProperty({field = "funcGuide", value = str})
506 role:mylog("gm_action", {desc = "sguide", key1 = pms.sender}) 511 role:mylog("gm_action", {desc = "sguide", key1 = pms.sender})
507 512