summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 18:52:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 18:52:38 +0300
commit5b2aee2396829e899d4493bc40de88a93a7d42cb (patch)
treee80f445d79d096b2d59c124c5622f262c73f747d /src/net/eathena/beinghandler.cpp
parent0d4ee623cb1dbc4a44951f8d3e71eeba1ae0d816 (diff)
downloadplus-5b2aee2396829e899d4493bc40de88a93a7d42cb.tar.gz
plus-5b2aee2396829e899d4493bc40de88a93a7d42cb.tar.bz2
plus-5b2aee2396829e899d4493bc40de88a93a7d42cb.tar.xz
plus-5b2aee2396829e899d4493bc40de88a93a7d42cb.zip
eathena: add partial support for packet SMSG_SKILL_GROUND_NO_DAMAGE 0x0117.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 21d527454..27be4fc9c 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -91,6 +91,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_SKILL_CASTING,
SMSG_SKILL_CAST_CANCEL,
SMSG_SKILL_NO_DAMAGE,
+ SMSG_SKILL_GROUND_NO_DAMAGE,
SMSG_BEING_IP_RESPONSE,
SMSG_PVP_MAP_MODE,
SMSG_PVP_SET,
@@ -239,6 +240,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processSkillNoDamage(msg);
break;
+ case SMSG_SKILL_GROUND_NO_DAMAGE:
+ processSkillGroundNoDamage(msg);
+ break;
+
case SMSG_PVP_MAP_MODE:
processPvpMapMode(msg);
break;
@@ -1664,4 +1669,14 @@ void BeingHandler::applyPlayerAction(Being *const being, const uint8_t type)
}
}
+void BeingHandler::processSkillGroundNoDamage(Net::MessageIn &msg) const
+{
+ msg.readInt16("skill id");
+ msg.readInt32("src id");
+ msg.readInt16("val");
+ msg.readInt16("x");
+ msg.readInt16("y");
+ msg.readInt32("tick");
+}
+
} // namespace EAthena