summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 6847f0233..cdf74be31 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4439,7 +4439,7 @@ int status_get_sc_def(struct block_list *bl, int type, int rate, int tick, int f
//Effect that cannot be reduced? Likely a buff.
if (!(rand()%10000 < rate))
return 0;
- return tick;
+ return tick?tick:1;
}
if (sd) {