summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-23 00:18:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-23 00:51:45 +0300
commit1a5f8957c707625efbcf36722b057d5eda5a21bb (patch)
tree9dd38bb08f081c232b318d4466552c0f570c2e74 /src/net
parenta13d85161a7148295e4ba50b0cdae124e8d6c75a (diff)
downloadmv-1a5f8957c707625efbcf36722b057d5eda5a21bb.tar.gz
mv-1a5f8957c707625efbcf36722b057d5eda5a21bb.tar.bz2
mv-1a5f8957c707625efbcf36722b057d5eda5a21bb.tar.xz
mv-1a5f8957c707625efbcf36722b057d5eda5a21bb.zip
Add skill casting particle arrow effect.
New skill data attribute: castingParticle.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beingrecv.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 8686ce564..16a9f6fb8 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -980,9 +980,7 @@ void BeingRecv::processSkillCastingContinue(Net::MessageIn &msg,
{ // being to being
Being *const dstBeing = actorManager->findBeing(dstId);
if (srcBeing)
- srcBeing->setAction(BeingAction::CAST, skillId);
- skillDialog->playCastingSrcEffect(skillId, srcBeing);
- skillDialog->playCastingDstEffect(skillId, dstBeing);
+ srcBeing->handleSkillCasting(dstBeing, skillId, skillLevel);
}
else if (dstX != 0 || dstY != 0)
{ // being to position