From 1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 16:45:38 +0300 Subject: eathena: add partial support for packet SMSG_SKILL_DEVOTION_EFFECT 0x01cf. --- src/net/eathena/skillhandler.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/net/eathena/skillhandler.cpp') diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 309a66c70..8a8962a50 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -69,6 +69,7 @@ SkillHandler::SkillHandler() : SMSG_SKILL_UNIT_UPDATE, SMSG_SKILL_ARROW_CREATE_LIST, SMSG_PLAYER_SKILL_AUTO_SPELLS, + SMSG_SKILL_DEVOTION_EFFECT, 0 }; handledMessages = _messages; @@ -143,6 +144,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillAutoSpells(msg); break; + case SMSG_SKILL_DEVOTION_EFFECT: + processSkillDevotionEffect(msg); + break; + default: break; } @@ -471,4 +476,14 @@ void SkillHandler::processSkillAutoSpells(Net::MessageIn &msg) menu = MenuType::AutoSpell;; } +void SkillHandler::processSkillDevotionEffect(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); + for (int f = 0; f < 5; f ++) + msg.readInt32("devotee id"); + msg.readInt16("range"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2