summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-22 16:05:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-22 16:05:36 -0300
commit50aec695da4825489110215e673cefd648c02b1b (patch)
treebcc1a492208ff2774ef240d4a698b1a42f125cb6 /npc
parente4830b178bab603f24a1eb60cf805ca5e04c4138 (diff)
downloadserverdata-50aec695da4825489110215e673cefd648c02b1b.tar.gz
serverdata-50aec695da4825489110215e673cefd648c02b1b.tar.bz2
serverdata-50aec695da4825489110215e673cefd648c02b1b.tar.xz
serverdata-50aec695da4825489110215e673cefd648c02b1b.zip
Change the cap to 45 and be more responsive
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 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;