Commit f20cc9cad0e0460dcbbb2da96807c242211ec7ae
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,7 +96,7 @@ function _M.specialSkillRpc(agent, data) | ||
96 | local msg = MsgPack.unpack(data) | 96 | local msg = MsgPack.unpack(data) |
97 | local adv = role:getAdvData() | 97 | local adv = role:getAdvData() |
98 | local status = adv:useSpecialSkill(msg.skillId) | 98 | local status = adv:useSpecialSkill(msg.skillId) |
99 | - if not status then return end | 99 | + -- if not status then return end |
100 | SendPacket(actionCodes.Adv_specialSkillRpc, MsgPack.pack({})) | 100 | SendPacket(actionCodes.Adv_specialSkillRpc, MsgPack.pack({})) |
101 | return true | 101 | return true |
102 | end | 102 | end |
src/adv/Adv.lua
@@ -879,6 +879,7 @@ local function clickClick(self, room, block, params) | @@ -879,6 +879,7 @@ local function clickClick(self, room, block, params) | ||
879 | if clearBlock then | 879 | if clearBlock then |
880 | room:clearBEvent(block) | 880 | room:clearBEvent(block) |
881 | end | 881 | end |
882 | + return true | ||
882 | end | 883 | end |
883 | 884 | ||
884 | local eventCallFunc = { | 885 | local eventCallFunc = { |