diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-18 12:52:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-18 12:52:40 +0300 |
commit | 64fc4f0ccf6cfb25864e67e3f8cf29d4671c64d5 (patch) | |
tree | fa6dff8aa086eef0a8ecfc0eb67bb2028b86e772 /src/gui/widgets | |
parent | ea62d7b05f332f13e3a88ee24c3946600a77a085 (diff) | |
download | manaverse-64fc4f0ccf6cfb25864e67e3f8cf29d4671c64d5.tar.gz manaverse-64fc4f0ccf6cfb25864e67e3f8cf29d4671c64d5.tar.bz2 manaverse-64fc4f0ccf6cfb25864e67e3f8cf29d4671c64d5.tar.xz manaverse-64fc4f0ccf6cfb25864e67e3f8cf29d4671c64d5.zip |
Add skills duration/cooldown.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/skillinfo.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/skillinfo.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index c3987eed0..feb4d7023 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -50,6 +50,8 @@ SkillInfo::SkillInfo() : id(0), range(0), sp(0), + duration(0), + durationTime(0), type(SkillType::Unknown), modifiable(false), visible(false) diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index f41bc46fc..fcca73dce 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -57,6 +57,8 @@ struct SkillInfo final unsigned int id; int range; int sp; + int duration; + int durationTime; SkillType::SkillType type; bool modifiable; bool visible; |