summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-06 06:20:23 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-06 06:20:23 -0300
commit9d18bd16fa9598eaa9ab281a936525fe430290c9 (patch)
treecca36a6b8be443986c1bcdabab622060e1b2c602 /npc
parent118a46aaddf955ecdca08ea1116e5355ae608a49 (diff)
downloadserverdata-9d18bd16fa9598eaa9ab281a936525fe430290c9.tar.gz
serverdata-9d18bd16fa9598eaa9ab281a936525fe430290c9.tar.bz2
serverdata-9d18bd16fa9598eaa9ab281a936525fe430290c9.tar.xz
serverdata-9d18bd16fa9598eaa9ab281a936525fe430290c9.zip
Bump daily XP/JXP as well. XP + 25% JXP +17%
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/daily.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt
index 97bdb4499..5b75c801f 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -124,13 +124,13 @@ function script daily_login_bonus_handler {
} else if (#LOGIN_STREAK % 3 == 2) {
.@value=max(5, rand2(0, (#LOGIN_STREAK/4)));
.@value+=(BaseLevel**2);
- .@value=(.@value/2)+#LOGIN_STREAK;
+ .@value=(.@value*3/4)+#LOGIN_STREAK; // 50% → 75%
getexp .@value, 0;
dispbottom l("##2Daily login bonus: ##B@@ EXP##b", .@value);
} else {
.@value=max(5, rand2(0, (#LOGIN_STREAK/4)));
.@value+=(JobLevel**2);
- .@value=(.@value/3)+#LOGIN_STREAK;
+ .@value=(.@value/2)+#LOGIN_STREAK; // 33% → 50%
getexp 0, .@value;
dispbottom l("##2Daily login bonus: ##B@@ Job Exp.##b", .@value);
}