summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-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 23dfc00b5..9262fcda3 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -204,7 +204,7 @@ function script guild_login_bonus {
if (.@g < 1)
return;
- .@c=min(5, getguildavg(.@g)/20)+limit(1, getguildlvl(.@g)/5, 10);
+ .@c=min(5, getguildavg(.@g)/20)+min(1+getguildlvl(.@g)/5, 10);
if (#LOGIN_GUILD_WEEK != gettimeparam(GETTIME_WEEKDAY)) {
#LOGIN_GUILD_WEEK=gettimeparam(GETTIME_WEEKDAY);
getitem GuildCoin, .@c;