Commit 3efc352e4fe2fd0d15374e6a74425c03b8255383
1 parent
d43246b0
增加记录log
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/ProtocolCode.lua
@@ -90,6 +90,7 @@ actionCodes = { | @@ -90,6 +90,7 @@ actionCodes = { | ||
90 | Hero_drawHeroRpc = 220, | 90 | Hero_drawHeroRpc = 220, |
91 | Hero_repayHeroRpc = 221, | 91 | Hero_repayHeroRpc = 221, |
92 | Hero_unlockPoolRpc = 222, | 92 | Hero_unlockPoolRpc = 222, |
93 | + Hero_changeCrownRpc = 223, | ||
93 | 94 | ||
94 | Hang_startRpc = 251, | 95 | Hang_startRpc = 251, |
95 | Hang_checkRpc = 252, | 96 | Hang_checkRpc = 252, |
src/actions/HeroAction.lua
@@ -453,7 +453,7 @@ function _M.referEquipsRpc(agent, data) | @@ -453,7 +453,7 @@ function _M.referEquipsRpc(agent, data) | ||
453 | local hero = role.heros[msg.id] | 453 | local hero = role.heros[msg.id] |
454 | if not hero then return 10 end | 454 | if not hero then return 10 end |
455 | local equips = msg.equips | 455 | local equips = msg.equips |
456 | - local isAuto = msg.isAuth | 456 | + local isAuto = msg.isAuto |
457 | if not equips or not next(equips) then return 11 end | 457 | if not equips or not next(equips) then return 11 end |
458 | 458 | ||
459 | for typ = 1, 4 do -- 4件装备 | 459 | for typ = 1, 4 do -- 4件装备 |