summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-12 21:10:37 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-12 21:10:37 -0200
commit8e40c3c7ed7a94cad0ee1631930b4b9144093459 (patch)
treedefcfd618cdf8d117972db945ee14dcc06da8676 /npc
parentc6a60b9d0060310126b5b6d6b11819804ea47a0a (diff)
downloadserverdata-8e40c3c7ed7a94cad0ee1631930b4b9144093459.tar.gz
serverdata-8e40c3c7ed7a94cad0ee1631930b4b9144093459.tar.bz2
serverdata-8e40c3c7ed7a94cad0ee1631930b4b9144093459.tar.xz
serverdata-8e40c3c7ed7a94cad0ee1631930b4b9144093459.zip
Fix a bug on TMW-2 Day
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/daily.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt
index b64607db8..c7104e45b 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -108,7 +108,7 @@ function script daily_login_bonus_handler {
// Therefore, contributors get an extra reward
.@m=htget($@CONTRIBUTORS, strtolower(strcharinfo(0)), 0);
if (.@m)
- getitem StrangeCoin, max(9, .@m/100)+1;
+ getitem StrangeCoin, min(9, .@m/100)+1;
dispbottom "##B##2"+l("It's TMW2 Project anniversary!")+" "+l("We thank every developer which helped this project thus far!")+"##b##0";
}
}