diff options
author | Haru <haru@dotalux.com> | 2018-04-23 03:14:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 03:14:29 +0200 |
commit | efeb386abc51baffa561f32d7d3b30868af767cd (patch) | |
tree | 9de101741e8195c8c6c9b7cf5526172054ea1c03 /src/map/skill.h | |
parent | 14432c034f4c87e06651e89f04df714dc76036a1 (diff) | |
parent | 57ba23012d78b8bae37953d65831e932d1365283 (diff) | |
download | hercules-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.h | 4 |
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 */ |