Commit f20cc9cad0e0460dcbbb2da96807c242211ec7ae

Authored by zhouhaihai
1 parent 3f9c1e7a

点击点返回清空信息

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
src/actions/AdvAction.lua
... ... @@ -96,7 +96,7 @@ function _M.specialSkillRpc(agent, data)
96 96 local msg = MsgPack.unpack(data)
97 97 local adv = role:getAdvData()
98 98 local status = adv:useSpecialSkill(msg.skillId)
99   - if not status then return end
  99 + -- if not status then return end
100 100 SendPacket(actionCodes.Adv_specialSkillRpc, MsgPack.pack({}))
101 101 return true
102 102 end
... ...
src/adv/Adv.lua
... ... @@ -879,6 +879,7 @@ local function clickClick(self, room, block, params)
879 879 if clearBlock then
880 880 room:clearBEvent(block)
881 881 end
  882 + return true
882 883 end
883 884  
884 885 local eventCallFunc = {
... ...