summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-10 20:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-10 20:37:02 +0300
commitb7d3acab99fe4975d4598b6c9ac1ad88edfa8506 (patch)
treea488f015fd7acee7654dab610eb95e904ffaeaa5 /src/net
parent81184f3787f4b9208b7ac1aacb3489ca143c9ccd (diff)
downloadmanaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.gz
manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.bz2
manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.xz
manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.zip
Add support for casting status effect on ground.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beingrecv.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index a85d9b3ee..a18af6b11 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -766,7 +766,7 @@ void BeingRecv::processSkillCasting(Net::MessageIn &msg)
const int dstY = msg.readInt16("dst y");
const int skillId = msg.readInt16("skill id");
msg.readInt32("property"); // can be used to trigger effect
- msg.readInt32("cast time");
+ const int castTime = msg.readInt32("cast time");
msg.readInt8("dispossable");
if (!effectManager)
@@ -786,7 +786,9 @@ void BeingRecv::processSkillCasting(Net::MessageIn &msg)
}
else if (dstX != 0 || dstY != 0)
{ // being to position
- UNIMPLIMENTEDPACKET;
+ skillDialog->playCastingDstTileEffect(skillId,
+ dstX, dstY,
+ castTime);
}
}