From e26586ce6efaceb31ec534d488dace4d73702f56 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Apr 2015 12:05:10 +0300 Subject: Add skill attributes with effect id what will play on caster and target while casting skill. New skill attributes: skillCastingSrcEffectId - will play this effect on caster while casting skill skillCastingDstEffectId - will play this effect on target while casting skill. This effects for casting skill, not for skill attack. --- src/gui/widgets/skillinfo.cpp | 2 ++ src/gui/widgets/skillinfo.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index 6aef016e5..864d973ea 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -54,6 +54,8 @@ SkillInfo::SkillInfo() : duration(0), durationTime(0), cooldown(0), + castingSrcEffectId(-1), + castingDstEffectId(-1), type(SkillType::Unknown), owner(SkillOwner::Player), modifiable(false), diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index 4ab0331af..3e4d99820 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -62,6 +62,8 @@ struct SkillInfo final int duration; int durationTime; int cooldown; + int castingSrcEffectId; + int castingDstEffectId; SkillType::SkillType type; SkillOwner::Type owner; bool modifiable; -- cgit v1.2.3-70-g09d2