summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 16:45:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 16:45:38 +0300
commit1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c (patch)
tree246a4ed076e168729306d66591ce79ea1c784df7 /src/net/eathena/skillhandler.cpp
parentf73a170389adb02566e54368c6fe8b5bee0e57d9 (diff)
downloadplus-1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c.tar.gz
plus-1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c.tar.bz2
plus-1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c.tar.xz
plus-1438f4a6e9e5498d2fce8e8aae9bf30e6e6a4a5c.zip
eathena: add partial support for packet SMSG_SKILL_DEVOTION_EFFECT 0x01cf.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp15
1 files changed, 15 insertions, 0 deletions
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