diff --git a/src/actions/RoleAction.lua b/src/actions/RoleAction.lua index c04b152..39a8832 100644 --- a/src/actions/RoleAction.lua +++ b/src/actions/RoleAction.lua @@ -971,6 +971,15 @@ function _M.guideRpc(agent, data) funcGuide = funcGuide:setv(msg.funcType, 1) end role:updateProperty({field = "funcGuide", value = funcGuide}) + elseif cmdType == 3 then + -- 弱引导 + if msg.funcType then + local value = msg.value or 1 + for _, funcIdx in pairs(msg.funcType:toArray(true,"=")) do + funcGuide = funcGuide:setv(funcIdx, value) + end + role:updateProperty({field = "funcGuide", value = funcGuide}) + end else return end -- libgit2 0.21.2