diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-23 02:34:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-23 02:34:02 +0300 |
commit | 27d585c7db1395b5e4b2caa4149a99d57f9ffbff (patch) | |
tree | 821c0cd4300643a010ae7abbdc4d112dd81193fc /src/being/being.cpp | |
parent | 6a65a4cf5b6b10839254c0c5846ec2dbfea882f8 (diff) | |
download | manaverse-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.gz manaverse-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.bz2 manaverse-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.tar.xz manaverse-27d585c7db1395b5e4b2caa4149a99d57f9ffbff.zip |
Add skill attacking src and dst effects.
New skills attributes: srcEffectId, dstEffectId
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 3 |
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; |