summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp6
1 files changed, 6 insertions, 0 deletions
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