diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:19:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 14:19:40 +0300 |
commit | 06972c2281cc8d13834e022639699e2dc03cb639 (patch) | |
tree | 1fca60fde4121433fc7f0ff9d78f7ba5f762c8b1 /src/net/eathena/skillhandler.cpp | |
parent | 9b9a37c488c12c448e2d0287dc54df15e57c9f38 (diff) | |
download | manaplus-06972c2281cc8d13834e022639699e2dc03cb639.tar.gz manaplus-06972c2281cc8d13834e022639699e2dc03cb639.tar.bz2 manaplus-06972c2281cc8d13834e022639699e2dc03cb639.tar.xz manaplus-06972c2281cc8d13834e022639699e2dc03cb639.zip |
eathena: add partial support for packet SMSG_PLAYER_SKILL_PRODUCE_EFFECT 0x018f.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 2e19d1e10..abe33cda1 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -64,6 +64,7 @@ SkillHandler::SkillHandler() : SMSG_SKILL_WARP_POINT, SMSG_SKILL_MEMO_MESSAGE, SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST, + SMSG_PLAYER_SKILL_PRODUCE_EFFECT, 0 }; handledMessages = _messages; @@ -122,6 +123,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillProduceMixList(msg); break; + case SMSG_PLAYER_SKILL_PRODUCE_EFFECT: + processSkillProduceEffect(msg); + break; + default: break; } @@ -416,4 +421,12 @@ void SkillHandler::processSkillProduceMixList(Net::MessageIn &msg) } } +void SkillHandler::processSkillProduceEffect(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("flag"); + msg.readInt16("item id"); +} + } // namespace EAthena |