summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/daily.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt
index cc0cae5ed..e906b8274 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -117,17 +117,17 @@ 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*2)+rand(JobLevel, JobLevel*3);
+ .@value+=(BaseLevel*5/2)+rand2(JobLevel, JobLevel*7/20);
Zeny=Zeny+.@value;
dispbottom l("##2Daily login bonus: ##B@@ GP##b", .@value);
} else if (#LOGIN_STREAK % 3 == 2) {
- .@value=max(5, rand(0, (#LOGIN_STREAK/4)));
+ .@value=max(5, rand2(0, (#LOGIN_STREAK/4)));
.@value+=(BaseLevel**2);
.@value=(.@value/2)+#LOGIN_STREAK;
getexp .@value, 0;
dispbottom l("##2Daily login bonus: ##B@@ EXP##b", .@value);
} else {
- .@value=max(5, rand(0, (#LOGIN_STREAK/4)));
+ .@value=max(5, rand2(0, (#LOGIN_STREAK/4)));
.@value+=(JobLevel**2);
.@value=(.@value/3)+#LOGIN_STREAK;
getexp 0, .@value;