summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/motd.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index 5e4778b2d..e6cafa342 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -244,6 +244,7 @@ OnPCLoginEvent:
} else if (.login_ref % 3 == 0) {
.@value=max(5, rand(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 if (.login_ref % 3 == 1) {
@@ -254,6 +255,7 @@ OnPCLoginEvent:
} else {
.@value=max(5, rand(0, (#LOGIN_STREAK/4)));
.@value+=(JobLevel**2);
+ .@value=(.@value/3)+#LOGIN_STREAK;
getexp 0, .@value;
dispbottom l("##2Daily login bonus: ##B@@ Job Exp.##b", .@value);
}