diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2016-10-27 23:45:43 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-02-09 16:40:14 +0100 |
commit | 0f15d957cc0bb17415f85d26d2198ed248494e2f (patch) | |
tree | d862f2b600670db7b71adf3eb7d65e0bfa97fa4c /src/map/duel.h | |
parent | 3687a79c5ab173abf6263a003d9473d9c2938309 (diff) | |
download | hercules-0f15d957cc0bb17415f85d26d2198ed248494e2f.tar.gz hercules-0f15d957cc0bb17415f85d26d2198ed248494e2f.tar.bz2 hercules-0f15d957cc0bb17415f85d26d2198ed248494e2f.tar.xz hercules-0f15d957cc0bb17415f85d26d2198ed248494e2f.zip |
Update Duel System Cooldown
- Able to set cooldown in "seconds" format.
- New `duel_time_interval` value will be applied to any existing cooldown
if new value is reloaded in-game using `@reloadbattleconf`.
- Display the cooldown tick before can create new duel.
Diffstat (limited to 'src/map/duel.h')
-rw-r--r-- | src/map/duel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/duel.h b/src/map/duel.h index 4e8985b96..1620ca891 100644 --- a/src/map/duel.h +++ b/src/map/duel.h @@ -52,7 +52,7 @@ struct duel_interface { void (*reject) (const unsigned int did, struct map_session_data* sd); void (*leave) (const unsigned int did, struct map_session_data* sd); void (*showinfo) (const unsigned int did, struct map_session_data* sd); - int (*checktime) (struct map_session_data* sd); + int64 (*difftime) (struct map_session_data* sd); void (*init) (bool minimal); void (*final) (void); |