summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-03-29 01:25:50 -0300
committerGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-04-08 10:26:29 -0300
commit57ba23012d78b8bae37953d65831e932d1365283 (patch)
tree28aec1aed5c3112b2fbd6a6800f2c036826f4f5b /src/map/skill.h
parent38527550c17241e1c905f8077f6589413091087e (diff)
downloadhercules-57ba23012d78b8bae37953d65831e932d1365283.tar.gz
hercules-57ba23012d78b8bae37953d65831e932d1365283.tar.bz2
hercules-57ba23012d78b8bae37953d65831e932d1365283.tar.xz
hercules-57ba23012d78b8bae37953d65831e932d1365283.zip
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 */