summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-23 02:34:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-23 02:34:02 +0300
commit27d585c7db1395b5e4b2caa4149a99d57f9ffbff (patch)
tree821c0cd4300643a010ae7abbdc4d112dd81193fc /src/being
parent6a65a4cf5b6b10839254c0c5846ec2dbfea882f8 (diff)
downloadplus-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.gz
plus-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.bz2
plus-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.xz
plus-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.zip
Add skill attacking src and dst effects.
New skills attributes: srcEffectId, dstEffectId
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 0cf52c353..73b386467 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1052,6 +1052,9 @@ void Being::handleSkill(Being *restrict const victim,
if (data)
fireMissile(victim, data->particle);
+ skillDialog->playSrcEffect(skillId, this);
+ skillDialog->playDstEffect(skillId, victim);
+
if (this != localPlayer && skill)
{
const SkillType::SkillType type = skill->type;