summaryrefslogtreecommitdiff
path: root/src/resources/skill
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-23 03:12:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-23 03:12:38 +0300
commit871f05609ec03cad93773112c3324ba7b0488388 (patch)
tree3ec1d858a3d6a6a3a96b2ab954b41b01751b563e /src/resources/skill
parentde2637f1e6211bb4a8b122b3aca53723a3440522 (diff)
downloadmanaverse-871f05609ec03cad93773112c3324ba7b0488388.tar.gz
manaverse-871f05609ec03cad93773112c3324ba7b0488388.tar.bz2
manaverse-871f05609ec03cad93773112c3324ba7b0488388.tar.xz
manaverse-871f05609ec03cad93773112c3324ba7b0488388.zip
Allow skill source and destination particle effects depend on skill level.
Diffstat (limited to 'src/resources/skill')
-rw-r--r--src/resources/skill/skilldata.cpp6
-rw-r--r--src/resources/skill/skilldata.h4
-rw-r--r--src/resources/skill/skillinfo.cpp4
-rw-r--r--src/resources/skill/skillinfo.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/src/resources/skill/skilldata.cpp b/src/resources/skill/skilldata.cpp
index fc42dc78d..74c7718a6 100644
--- a/src/resources/skill/skilldata.cpp
+++ b/src/resources/skill/skilldata.cpp
@@ -47,7 +47,11 @@ SkillData::SkillData() :
updateEffectId(-1),
removeEffectId(-1),
hitEffectId(-1),
- missEffectId(-1)
+ missEffectId(-1),
+ castingSrcEffectId(-1),
+ castingDstEffectId(-1),
+ srcEffectId(-1),
+ dstEffectId(-1)
{
}
diff --git a/src/resources/skill/skilldata.h b/src/resources/skill/skilldata.h
index a8c4e8ccd..016ba98cb 100644
--- a/src/resources/skill/skilldata.h
+++ b/src/resources/skill/skilldata.h
@@ -48,6 +48,10 @@ struct SkillData final
int removeEffectId;
int hitEffectId;
int missEffectId;
+ int castingSrcEffectId;
+ int castingDstEffectId;
+ int srcEffectId;
+ int dstEffectId;
SkillData();
A_DELETE_COPY(SkillData)
diff --git a/src/resources/skill/skillinfo.cpp b/src/resources/skill/skillinfo.cpp
index 3cae391e7..9c81219d5 100644
--- a/src/resources/skill/skillinfo.cpp
+++ b/src/resources/skill/skillinfo.cpp
@@ -54,10 +54,6 @@ SkillInfo::SkillInfo() :
duration(0),
durationTime(0),
cooldown(0),
- castingSrcEffectId(-1),
- castingDstEffectId(-1),
- srcEffectId(-1),
- dstEffectId(-1),
type(SkillType::Unknown),
owner(SkillOwner::Player),
modifiable(Modifiable_false),
diff --git a/src/resources/skill/skillinfo.h b/src/resources/skill/skillinfo.h
index 3e8b174df..a9554b1b9 100644
--- a/src/resources/skill/skillinfo.h
+++ b/src/resources/skill/skillinfo.h
@@ -65,10 +65,6 @@ struct SkillInfo final
int duration;
int durationTime;
int cooldown;
- int castingSrcEffectId;
- int castingDstEffectId;
- int srcEffectId;
- int dstEffectId;
SkillType::SkillType type;
SkillOwner::Type owner;
Modifiable modifiable;