summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 14:19:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 14:19:40 +0300
commit06972c2281cc8d13834e022639699e2dc03cb639 (patch)
tree1fca60fde4121433fc7f0ff9d78f7ba5f762c8b1 /src
parent9b9a37c488c12c448e2d0287dc54df15e57c9f38 (diff)
downloadmanaverse-06972c2281cc8d13834e022639699e2dc03cb639.tar.gz
manaverse-06972c2281cc8d13834e022639699e2dc03cb639.tar.bz2
manaverse-06972c2281cc8d13834e022639699e2dc03cb639.tar.xz
manaverse-06972c2281cc8d13834e022639699e2dc03cb639.zip
eathena: add partial support for packet SMSG_PLAYER_SKILL_PRODUCE_EFFECT 0x018f.
Diffstat (limited to 'src')
-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