From 3efc352e4fe2fd0d15374e6a74425c03b8255383 Mon Sep 17 00:00:00 2001 From: zhouhaihai Date: Wed, 26 Aug 2020 14:27:18 +0800 Subject: [PATCH] 增加记录log --- src/ProtocolCode.lua | 1 + src/actions/HeroAction.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ProtocolCode.lua b/src/ProtocolCode.lua index c0e2b7f..9da88ab 100644 --- a/src/ProtocolCode.lua +++ b/src/ProtocolCode.lua @@ -90,6 +90,7 @@ actionCodes = { Hero_drawHeroRpc = 220, Hero_repayHeroRpc = 221, Hero_unlockPoolRpc = 222, + Hero_changeCrownRpc = 223, Hang_startRpc = 251, Hang_checkRpc = 252, diff --git a/src/actions/HeroAction.lua b/src/actions/HeroAction.lua index c4a7dc7..068c521 100644 --- a/src/actions/HeroAction.lua +++ b/src/actions/HeroAction.lua @@ -453,7 +453,7 @@ function _M.referEquipsRpc(agent, data) local hero = role.heros[msg.id] if not hero then return 10 end local equips = msg.equips - local isAuto = msg.isAuth + local isAuto = msg.isAuto if not equips or not next(equips) then return 11 end for typ = 1, 4 do -- 4件装备 -- libgit2 0.21.2