From 50aec695da4825489110215e673cefd648c02b1b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 22 May 2020 16:05:36 -0300 Subject: Change the cap to 45 and be more responsive --- npc/functions/daily.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/daily.txt') 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; -- cgit v1.2.3-60-g2f50