summaryrefslogtreecommitdiff
path: root/src/resources/skill
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-07 21:24:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-07 21:24:51 +0300
commit0ff91dcf4754a867be162095f500ca5b0bea2fdf (patch)
tree8a6ed6ece71be870bba97cc3b5fd124d486d94ec /src/resources/skill
parent07d4987ae8ae1efea72d8a16b4f4bf17117c6c10 (diff)
downloadplus-0ff91dcf4754a867be162095f500ca5b0bea2fdf.tar.gz
plus-0ff91dcf4754a867be162095f500ca5b0bea2fdf.tar.bz2
plus-0ff91dcf4754a867be162095f500ca5b0bea2fdf.tar.xz
plus-0ff91dcf4754a867be162095f500ca5b0bea2fdf.zip
Add additional attributes to missile particles in skills.
Diffstat (limited to 'src/resources/skill')
-rw-r--r--src/resources/skill/skilldata.cpp4
-rw-r--r--src/resources/skill/skilldata.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/skill/skilldata.cpp b/src/resources/skill/skilldata.cpp
index 701eed31f..ef3b331cf 100644
--- a/src/resources/skill/skilldata.cpp
+++ b/src/resources/skill/skilldata.cpp
@@ -37,8 +37,8 @@ SkillData::SkillData() :
shortName(),
dispName(),
description(),
- missileParticle(),
- castingMissileParticle(),
+ missile(),
+ castingMissile(),
invokeCmd(),
castingAnimation(),
soundHit(std::string(), 0),
diff --git a/src/resources/skill/skilldata.h b/src/resources/skill/skilldata.h
index 44374e98a..7dc2e05ac 100644
--- a/src/resources/skill/skilldata.h
+++ b/src/resources/skill/skilldata.h
@@ -23,6 +23,7 @@
#ifndef GUI_WIDGETS_SKILLDATA_H
#define GUI_WIDGETS_SKILLDATA_H
+#include "resources/missileinfo.h"
#include "resources/soundinfo.h"
class Image;
@@ -34,8 +35,8 @@ struct SkillData final
std::string dispName;
std::string description;
- std::string missileParticle;
- std::string castingMissileParticle;
+ MissileInfo missile;
+ MissileInfo castingMissile;
std::string invokeCmd;
std::string castingAnimation;