From d9bdb29ea7ac15775efd5fc2719cd40061752181 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jul 2016 16:22:08 +0300 Subject: Add support for loading casting animation for each skill and level. --- src/resources/skill/skilldata.cpp | 3 ++- src/resources/skill/skilldata.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/resources') 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; -- cgit v1.2.3-70-g09d2