summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-23 04:05:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-23 04:05:21 +0300
commit2531c621dd62eeb870fd8a095f0634a3e3f4b777 (patch)
tree03bf79aa901d8d8e124708ac2f40b89512776cd1 /src
parentdb3c14fe29d0ebd10e5f5cfa843d5d44660ab0aa (diff)
downloadmanaverse-2531c621dd62eeb870fd8a095f0634a3e3f4b777.tar.gz
manaverse-2531c621dd62eeb870fd8a095f0634a3e3f4b777.tar.bz2
manaverse-2531c621dd62eeb870fd8a095f0634a3e3f4b777.tar.xz
manaverse-2531c621dd62eeb870fd8a095f0634a3e3f4b777.zip
Play casting ground animation if skill casted to being.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beingrecv.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index cc16f4ad7..6fbc28097 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -981,6 +981,15 @@ void BeingRecv::processSkillCastingContinue(Net::MessageIn &msg,
Being *const dstBeing = actorManager->findBeing(dstId);
if (srcBeing)
srcBeing->handleSkillCasting(dstBeing, skillId, skillLevel);
+ if (dstBeing)
+ {
+ srcBeing->addCast(dstBeing->getTileX(),
+ dstBeing->getTileY(),
+ skillId,
+ skillLevel,
+ range,
+ castTime / MILLISECONDS_IN_A_TICK);
+ }
}
else if (dstX != 0 || dstY != 0)
{ // being to position