From 0ff91dcf4754a867be162095f500ca5b0bea2fdf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Aug 2017 21:24:51 +0300 Subject: Add additional attributes to missile particles in skills. --- src/resources/skill/skilldata.cpp | 4 ++-- src/resources/skill/skilldata.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/resources') 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; -- cgit v1.2.3-70-g09d2