summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/eathena/skillhandler.cpp13
-rw-r--r--src/net/eathena/skillhandler.h2
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 6b82f8086..21f2b825d 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -100,6 +100,7 @@
#define SMSG_PLAYER_SKILL_MESSAGE 0x0215
#define SMSG_PLAYER_NOTIFY_MAPINFO 0x0189
#define SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST 0x018d
+#define SMSG_PLAYER_SKILL_PRODUCE_EFFECT 0x018f
#define SMSG_SKILL_FAILED 0x0110
#define SMSG_SKILL_DAMAGE 0x01de
#define SMSG_SKILL_AUTO_CAST 0x0147
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 2e19d1e10..abe33cda1 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -64,6 +64,7 @@ SkillHandler::SkillHandler() :
SMSG_SKILL_WARP_POINT,
SMSG_SKILL_MEMO_MESSAGE,
SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST,
+ SMSG_PLAYER_SKILL_PRODUCE_EFFECT,
0
};
handledMessages = _messages;
@@ -122,6 +123,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillProduceMixList(msg);
break;
+ case SMSG_PLAYER_SKILL_PRODUCE_EFFECT:
+ processSkillProduceEffect(msg);
+ break;
+
default:
break;
}
@@ -416,4 +421,12 @@ void SkillHandler::processSkillProduceMixList(Net::MessageIn &msg)
}
}
+void SkillHandler::processSkillProduceEffect(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("flag");
+ msg.readInt16("item id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h
index 9a375b325..f1820ae3f 100644
--- a/src/net/eathena/skillhandler.h
+++ b/src/net/eathena/skillhandler.h
@@ -73,6 +73,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler
static void processSkillMemoMessage(Net::MessageIn &msg);
static void processSkillProduceMixList(Net::MessageIn &msg);
+
+ static void processSkillProduceEffect(Net::MessageIn &msg);
};
} // namespace EAthena