From e01d0605e26bc0b37ecbc119aa2db13078177d73 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 30 Oct 2018 21:48:50 -0200 Subject: That was not how I wanted Daily Rewards to work. Will be updated from Nov 2 onwards. --- npc/functions/daily.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 59c35e244..cc289e4ca 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -77,13 +77,13 @@ function script daily_login_bonus_handler { } else if (#LOGIN_STREAK == 3) { getitem StrangeCoin, 1; dispbottom l("##2 3 Days login bonus: ##B1x @@##b", getitemlink(StrangeCoin)); - } else if (.login_ref % 3 == 0) { + } else if (#LOGIN_STREAK % 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) { + } else if (#LOGIN_STREAK % 3 == 1) { .@value=max(20, rand(0, (#LOGIN_STREAK*2))); .@value+=(BaseLevel+JobLevel); Zeny=Zeny+.@value; -- cgit v1.2.3-60-g2f50