From 118a46aaddf955ecdca08ea1116e5355ae608a49 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 6 May 2021 06:14:02 -0300 Subject: Daily GP reward is useless, boost it in 25% and bump the minimum. --- npc/functions/daily.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 4cb242fef..97bdb4499 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -116,8 +116,9 @@ function script daily_login_bonus_handler { getitem StrangeCoin, 1; 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=max(20, rand2(#LOGIN_STREAK, #LOGIN_STREAK*2)); .@value+=(BaseLevel*5/2)+rand2(JobLevel, JobLevel*7/20); + .@value=.@value * 5 / 4; // Bonus 25% Zeny=Zeny+.@value; dispbottom l("##2Daily login bonus: ##B@@ GP##b", .@value); } else if (#LOGIN_STREAK % 3 == 2) { -- cgit v1.2.3-60-g2f50