summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-02-01 20:28:11 +0100
committerGitHub <noreply@github.com>2019-02-01 20:28:11 +0100
commit0c79697fd26c26aa3aca9f8db651c3c85d209624 (patch)
tree4e850b14b64d87da6677f9dd8490a77c96b6fa10 /src/map/status.c
parent51483b4569a6018f79ae8ece69273e3611e98a89 (diff)
parent14daf06347a4c33c267325a69cd4c039cb92f5ed (diff)
downloadhercules-0c79697fd26c26aa3aca9f8db651c3c85d209624.tar.gz
hercules-0c79697fd26c26aa3aca9f8db651c3c85d209624.tar.bz2
hercules-0c79697fd26c26aa3aca9f8db651c3c85d209624.tar.xz
hercules-0c79697fd26c26aa3aca9f8db651c3c85d209624.zip
Merge pull request #1631 from Emistry/fix_voice_of_siren
Fix Voice of Siren minimum duration.
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 65b52cbcf..f06bb0330 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7426,6 +7426,9 @@ static int status_get_sc_def(struct block_list *src, struct block_list *bl, enum
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);