summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-18 09:30:04 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-18 09:30:04 -0200
commitaff68b14dee5a49d29c8ad78b3d27dafc38072c5 (patch)
treed18c8af51decb52d90907ec87d2124bfd6a51d3f /npc/functions
parent2f7a7a90cfe142dd6d8f16e83ab45650efc34e52 (diff)
downloadserverdata-aff68b14dee5a49d29c8ad78b3d27dafc38072c5.tar.gz
serverdata-aff68b14dee5a49d29c8ad78b3d27dafc38072c5.tar.bz2
serverdata-aff68b14dee5a49d29c8ad78b3d27dafc38072c5.tar.xz
serverdata-aff68b14dee5a49d29c8ad78b3d27dafc38072c5.zip
Improve daily GP gain amount
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 c7104e45b..f4d84d802 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -82,7 +82,7 @@ function script daily_login_bonus_handler {
dispbottom l("##2 3 Days login bonus: ##B1x @@##b", getitemlink(StrangeCoin));
} else if (#LOGIN_STREAK % 3 == 0) {
.@value=max(20, rand(0, (#LOGIN_STREAK*2)));
- .@value+=(BaseLevel+JobLevel);
+ .@value+=(BaseLevel*2)+rand(JobLevel, JobLevel*3);
Zeny=Zeny+.@value;
dispbottom l("##2Daily login bonus: ##B@@ GP##b", .@value);
} else if (#LOGIN_STREAK % 3 == 2) {