diff --git a/src/actions/HangAction.lua b/src/actions/HangAction.lua index 0413678..de85d26 100644 --- a/src/actions/HangAction.lua +++ b/src/actions/HangAction.lua @@ -315,6 +315,7 @@ function _M.roleFormatRpc(agent , data) local msg = MsgPack.unpack(data) local index = msg.index -- 阵容索引 local title = msg.title -- 阵容名称 + local tactics = msg.tactics -- 战术 local team = {} for slot, heroId in pairs(msg.heros) do if not role.heros[heroId] then @@ -346,6 +347,7 @@ function _M.roleFormatRpc(agent , data) team.leader = msg.leader team.supports = supports team.title = title + team.tactics = tactics role:setTeamFormat(index, team) -- libgit2 0.21.2