diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-09 17:39:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-09 17:39:53 +0300 |
commit | 0de391b6566f347d546be4dc56999b3c502fa46b (patch) | |
tree | 49acde397bc4d90c63c42690b6c68ad0a33f754d /src/gui/widgets | |
parent | e26586ce6efaceb31ec534d488dace4d73702f56 (diff) | |
download | plus-0de391b6566f347d546be4dc56999b3c502fa46b.tar.gz plus-0de391b6566f347d546be4dc56999b3c502fa46b.tar.bz2 plus-0de391b6566f347d546be4dc56999b3c502fa46b.tar.xz plus-0de391b6566f347d546be4dc56999b3c502fa46b.zip |
Add to skill attribute for hit effect on target.
New skills.xml attribute: hitEffectId
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/skilldata.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/skilldata.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/skilldata.cpp b/src/gui/widgets/skilldata.cpp index f06dede07..7accf214e 100644 --- a/src/gui/widgets/skilldata.cpp +++ b/src/gui/widgets/skilldata.cpp @@ -42,7 +42,8 @@ SkillData::SkillData() : soundHit(std::string(), 0), soundMiss(std::string(), 0), updateEffectId(-1), - removeEffectId(-1) + removeEffectId(-1), + hitEffectId(-1) { } diff --git a/src/gui/widgets/skilldata.h b/src/gui/widgets/skilldata.h index 03bc021a9..d374e7ec7 100644 --- a/src/gui/widgets/skilldata.h +++ b/src/gui/widgets/skilldata.h @@ -45,6 +45,7 @@ struct SkillData final int updateEffectId; int removeEffectId; + int hitEffectId; SkillData(); A_DELETE_COPY(SkillData) |