From 1192016bf685cdba9bee4b6578e578661f689803 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 23:07:42 +0300 Subject: eathena: add packet CMSG_NPC_SELECT_AUTO_SPELL 0x01ce. --- src/net/eathena/npchandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/npchandler.cpp') diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 8d8cff626..cef952252 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -241,6 +241,12 @@ void NpcHandler::selectArrow(const int nameId) const outMsg.writeInt16(nameId, "name id"); } +void NpcHandler::selectAutoSpell(const int skillId) const +{ + MessageOut outMsg(CMSG_NPC_SELECT_AUTO_SPELL); + outMsg.writeInt32(skillId, "skill id"); +} + int NpcHandler::getNpc(Net::MessageIn &msg) { if (msg.getId() == SMSG_NPC_CHOICE -- cgit v1.2.3-60-g2f50