diff options
Diffstat (limited to 'src/resources/skill')
-rw-r--r-- | src/resources/skill/skilldata.cpp | 6 | ||||
-rw-r--r-- | src/resources/skill/skilldata.h | 4 | ||||
-rw-r--r-- | src/resources/skill/skillinfo.cpp | 4 | ||||
-rw-r--r-- | src/resources/skill/skillinfo.h | 4 |
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; |