diff options
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 1316c4dda..d92fd697d 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -66,6 +66,7 @@ SkillHandler::SkillHandler() : SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST, SMSG_PLAYER_SKILL_PRODUCE_EFFECT, SMSG_SKILL_UNIT_UPDATE, + SMSG_SKILL_ARROW_CREATE_LIST, 0 }; handledMessages = _messages; @@ -132,6 +133,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillUnitUpdate(msg); break; + case SMSG_SKILL_ARROW_CREATE_LIST: + processSkillArrowCreateList(msg); + break; + default: break; } @@ -441,4 +446,13 @@ void SkillHandler::processSkillUnitUpdate(Net::MessageIn &msg) msg.readInt32("being id"); } +void SkillHandler::processSkillArrowCreateList(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + const int count = (msg.readInt16("len") - 4) / 2; + for (int f = 0; f < count; f ++) + msg.readInt16("item id"); +} + } // namespace EAthena |