summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/skilldialog.cpp2
-rw-r--r--src/resources/skill/skilldata.cpp3
-rw-r--r--src/resources/skill/skilldata.h4
3 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 0610e7f94..f42ce92ff 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -390,6 +390,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName,
node, "description", "");
data->particle = XML::getProperty(
node, "particle", "");
+ data->castingAnimation = XML::getProperty(
+ node, "castingAnimation", "");
data->soundHit.sound = XML::getProperty(
node, "soundHit", "");
diff --git a/src/resources/skill/skilldata.cpp b/src/resources/skill/skilldata.cpp
index 65d454260..21a80b79f 100644
--- a/src/resources/skill/skilldata.cpp
+++ b/src/resources/skill/skilldata.cpp
@@ -37,11 +37,12 @@ SkillData::SkillData() :
shortName(),
dispName(),
description(),
- icon(nullptr),
particle(),
invokeCmd(),
+ castingAnimation(),
soundHit(std::string(), 0),
soundMiss(std::string(), 0),
+ icon(nullptr),
updateEffectId(-1),
removeEffectId(-1),
hitEffectId(-1),
diff --git a/src/resources/skill/skilldata.h b/src/resources/skill/skilldata.h
index 20365593f..e02cbc145 100644
--- a/src/resources/skill/skilldata.h
+++ b/src/resources/skill/skilldata.h
@@ -33,14 +33,16 @@ struct SkillData final
std::string shortName;
std::string dispName;
std::string description;
- Image *icon;
std::string particle;
std::string invokeCmd;
+ std::string castingAnimation;
SoundInfo soundHit;
SoundInfo soundMiss;
+ Image *icon;
+
int updateEffectId;
int removeEffectId;
int hitEffectId;