summaryrefslogtreecommitdiff
path: root/src/resources/skill/skillinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-14 19:25:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-14 19:25:00 +0300
commit8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f (patch)
treebda5dc8f66925aed8a1671a9d806a407af7bef3f /src/resources/skill/skillinfo.h
parentf3781554bf946a22ac307d1c8fe6154db05bbf2e (diff)
downloadmanaverse-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.gz
manaverse-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.bz2
manaverse-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.tar.xz
manaverse-8ea20d3e1f61bcfeccf6885e11cacddeb014fe0f.zip
Add skill cast type option in skills window.
Can be changed, but for now unused.
Diffstat (limited to 'src/resources/skill/skillinfo.h')
-rw-r--r--src/resources/skill/skillinfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/skill/skillinfo.h b/src/resources/skill/skillinfo.h
index a9554b1b9..b49d79e2c 100644
--- a/src/resources/skill/skillinfo.h
+++ b/src/resources/skill/skillinfo.h
@@ -29,6 +29,8 @@
#include "enums/resources/skillowner.h"
#include "enums/resources/skilltype.h"
+#include "enums/resources/skill/casttype.h"
+
#include <string>
#include <vector>
#include <map>
@@ -57,7 +59,7 @@ struct SkillInfo final
SkillModel *model;
SkillData *data;
int level;
- int selectedLevel;
+ int customSelectedLevel;
int skillLevelWidth;
unsigned int id;
int range;
@@ -67,6 +69,7 @@ struct SkillInfo final
int cooldown;
SkillType::SkillType type;
SkillOwner::Type owner;
+ CastTypeT customCastType;
Modifiable modifiable;
Visible visible;
Visible alwaysVisible;