diff options
author | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-14 00:37:37 +0800 |
---|---|---|
committer | Emistry Haoyan <Equinox1991@gmail.com> | 2017-03-14 00:37:37 +0800 |
commit | 14daf06347a4c33c267325a69cd4c039cb92f5ed (patch) | |
tree | 42e76a05e027cd65bfa1a3920aba6bd6efb268e2 /src/map | |
parent | 7b4d4fb92603ef1e622b52e777cd5ac1b7f97d55 (diff) | |
download | hercules-14daf06347a4c33c267325a69cd4c039cb92f5ed.tar.gz hercules-14daf06347a4c33c267325a69cd4c039cb92f5ed.tar.bz2 hercules-14daf06347a4c33c267325a69cd4c039cb92f5ed.tar.xz hercules-14daf06347a4c33c267325a69cd4c039cb92f5ed.zip |
Fix Voice of Siren minimum duration.
- The minimum duration of Voice of Siren is now 10 seconds
- Credit https://github.com/rathena/rathena/commit/f7a276ec7389389b6b56653ad87b21eb937aace6
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 78c11899b..926bdb40a 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7309,6 +7309,9 @@ int status_get_sc_def(struct block_list *src, struct block_list *bl, enum sc_typ case SC_NETHERWORLD: tick = max(tick, 4000); break; + case SC_SIREN: + tick = max(tick, 10000); // Minimum duration 10s + break; default: //Skills need to trigger even if the duration is reduced below 1ms tick = max(tick, 1); |