Commit 7d662b851305a3da7e1a2dd936c7afe005d2e421
1 parent
22b2987b
编队增加战术字段
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/actions/HangAction.lua
... | ... | @@ -315,6 +315,7 @@ function _M.roleFormatRpc(agent , data) |
315 | 315 | local msg = MsgPack.unpack(data) |
316 | 316 | local index = msg.index -- 阵容索引 |
317 | 317 | local title = msg.title -- 阵容名称 |
318 | + local tactics = msg.tactics -- 战术 | |
318 | 319 | local team = {} |
319 | 320 | for slot, heroId in pairs(msg.heros) do |
320 | 321 | if not role.heros[heroId] then |
... | ... | @@ -346,6 +347,7 @@ function _M.roleFormatRpc(agent , data) |
346 | 347 | team.leader = msg.leader |
347 | 348 | team.supports = supports |
348 | 349 | team.title = title |
350 | + team.tactics = tactics | |
349 | 351 | |
350 | 352 | role:setTeamFormat(index, team) |
351 | 353 | ... | ... |