summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-04-23 03:14:29 +0200
committerGitHub <noreply@github.com>2018-04-23 03:14:29 +0200
commitefeb386abc51baffa561f32d7d3b30868af767cd (patch)
tree9de101741e8195c8c6c9b7cf5526172054ea1c03 /src/map/skill.h
parent14432c034f4c87e06651e89f04df714dc76036a1 (diff)
parent57ba23012d78b8bae37953d65831e932d1365283 (diff)
downloadhercules-efeb386abc51baffa561f32d7d3b30868af767cd.tar.gz
hercules-efeb386abc51baffa561f32d7d3b30868af767cd.tar.bz2
hercules-efeb386abc51baffa561f32d7d3b30868af767cd.tar.xz
hercules-efeb386abc51baffa561f32d7d3b30868af767cd.zip
Merge pull request #2005 from guilherme-gm/guildskillcd
Allow guild skills cooldown to continue when logged out
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index d7590921a..3de7f7bdf 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -1842,9 +1842,7 @@ struct s_skill_magicmushroom_db {
struct skill_cd_entry {
int duration;//milliseconds
-#if PACKETVER >= 20120604
- int total;/* used for display on newer clients */
-#endif
+ int total;/* used when reducing offline cooldown and for display on newer clients */
short skidx;//the skill index entries belong to
int64 started;/* gettick() of when it started, used vs duration to measure how much left upon logout */
int timer;/* timer id */