summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/eathena/skillhandler.cpp15
-rw-r--r--src/net/eathena/skillhandler.h2
3 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 08a6f1ea5..c092a3a21 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -110,6 +110,7 @@
#define SMSG_SKILL_MEMO_MESSAGE 0x011e
#define SMSG_SKILL_UNIT_UPDATE 0x01ac
#define SMSG_SKILL_ARROW_CREATE_LIST 0x01ad
+#define SMSG_SKILL_DEVOTION_EFFECT 0x01cf
#define SMSG_ITEM_USE_RESPONSE 0x00a8
#define SMSG_ITEM_VISIBLE 0x009d /**< An item is on the floor */
#define SMSG_GRAFFITI_VISIBLE 0x01c9
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
diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h
index 5a210b989..aeb41a0d2 100644
--- a/src/net/eathena/skillhandler.h
+++ b/src/net/eathena/skillhandler.h
@@ -81,6 +81,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler
static void processSkillArrowCreateList(Net::MessageIn &msg);
static void processSkillAutoSpells(Net::MessageIn &msg);
+
+ static void processSkillDevotionEffect(Net::MessageIn &msg);
};
} // namespace EAthena