summaryrefslogtreecommitdiff
path: root/src/resources/skill
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-02 23:39:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-03 01:01:11 +0300
commit20f5a9d3754bd598f091ae7e66fa0294800f9b30 (patch)
tree84832f8a517a98c00c52e7c7b760778edec66e36 /src/resources/skill
parentdaa922db12d8387fefa0952dc06697614de0175f (diff)
downloadplus-20f5a9d3754bd598f091ae7e66fa0294800f9b30.tar.gz
plus-20f5a9d3754bd598f091ae7e66fa0294800f9b30.tar.bz2
plus-20f5a9d3754bd598f091ae7e66fa0294800f9b30.tar.xz
plus-20f5a9d3754bd598f091ae7e66fa0294800f9b30.zip
Add skill option for allow/prevent adding skill to auto skills shortcuts tab.
Diffstat (limited to 'src/resources/skill')
-rw-r--r--src/resources/skill/skilldata.cpp4
-rw-r--r--src/resources/skill/skilldata.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/skill/skilldata.cpp b/src/resources/skill/skilldata.cpp
index d16aefd8b..fb97a6aef 100644
--- a/src/resources/skill/skilldata.cpp
+++ b/src/resources/skill/skilldata.cpp
@@ -52,7 +52,9 @@ SkillData::SkillData() :
castingDstEffectId(-1),
castingGroundEffectId(-1),
srcEffectId(-1),
- dstEffectId(-1)
+ dstEffectId(-1),
+ haveIcon(false),
+ autoTab(true)
{
}
diff --git a/src/resources/skill/skilldata.h b/src/resources/skill/skilldata.h
index bb52b31cd..c4cc1124a 100644
--- a/src/resources/skill/skilldata.h
+++ b/src/resources/skill/skilldata.h
@@ -54,6 +54,7 @@ struct SkillData final
int srcEffectId;
int dstEffectId;
bool haveIcon;
+ bool autoTab;
SkillData();
A_DELETE_COPY(SkillData)