summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-09 17:39:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-09 17:39:53 +0300
commit0de391b6566f347d546be4dc56999b3c502fa46b (patch)
tree49acde397bc4d90c63c42690b6c68ad0a33f754d /src/gui/windows/skilldialog.cpp
parente26586ce6efaceb31ec534d488dace4d73702f56 (diff)
downloadmv-0de391b6566f347d546be4dc56999b3c502fa46b.tar.gz
mv-0de391b6566f347d546be4dc56999b3c502fa46b.tar.bz2
mv-0de391b6566f347d546be4dc56999b3c502fa46b.tar.xz
mv-0de391b6566f347d546be4dc56999b3c502fa46b.zip
Add to skill attribute for hit effect on target.
New skills.xml attribute: hitEffectId
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 31cf81ad4..a835666f3 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -374,6 +374,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName)
node, "levelUpEffectId", -1);
data->removeEffectId = XML::getProperty(
node, "removeEffectId", -1);
+ data->hitEffectId = XML::getProperty(
+ node, "hitEffectId", -1);
skill->addData(level, data);
}