summaryrefslogtreecommitdiff
path: root/npc/functions/daily.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 03:31:25 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 03:31:25 -0300
commita74c7c39620ea48eccbbe527e5430743d89d478e (patch)
tree0719d0668221368b805cecc570c7e9ba6a17b49f /npc/functions/daily.txt
parent4eb87d5387fd9809b1bc0644fe1cbe15a31af4b5 (diff)
downloadserverdata-a74c7c39620ea48eccbbe527e5430743d89d478e.tar.gz
serverdata-a74c7c39620ea48eccbbe527e5430743d89d478e.tar.bz2
serverdata-a74c7c39620ea48eccbbe527e5430743d89d478e.tar.xz
serverdata-a74c7c39620ea48eccbbe527e5430743d89d478e.zip
Make this code easier to read
Diffstat (limited to 'npc/functions/daily.txt')
-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 fea29e33f..4cb242fef 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -218,7 +218,7 @@ function script guild_login_bonus {
if (.@g < 1)
return;
- .@c=min(5, getguildavg(.@g)/20)+min(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;