summaryrefslogtreecommitdiff
path: root/src/resources/skill
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/resources/skill
parent6a65a4cf5b6b10839254c0c5846ec2dbfea882f8 (diff)
downloadmanaverse-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/resources/skill')
-rw-r--r--src/resources/skill/skillinfo.cpp2
-rw-r--r--src/resources/skill/skillinfo.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/skill/skillinfo.cpp b/src/resources/skill/skillinfo.cpp
index 9d71ffda7..3cae391e7 100644
--- a/src/resources/skill/skillinfo.cpp
+++ b/src/resources/skill/skillinfo.cpp
@@ -56,6 +56,8 @@ SkillInfo::SkillInfo() :
cooldown(0),
castingSrcEffectId(-1),
castingDstEffectId(-1),
+ srcEffectId(-1),
+ dstEffectId(-1),
type(SkillType::Unknown),
owner(SkillOwner::Player),
modifiable(Modifiable_false),
diff --git a/src/resources/skill/skillinfo.h b/src/resources/skill/skillinfo.h
index dc83a1a63..3e8b174df 100644
--- a/src/resources/skill/skillinfo.h
+++ b/src/resources/skill/skillinfo.h
@@ -67,6 +67,8 @@ struct SkillInfo final
int cooldown;
int castingSrcEffectId;
int castingDstEffectId;
+ int srcEffectId;
+ int dstEffectId;
SkillType::SkillType type;
SkillOwner::Type owner;
Modifiable modifiable;