From c5e94a0f4ff710010f61e9b5b1c79f5711a12d34 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 Feb 2020 17:48:18 -0300 Subject: NOUPDATES = Override daily login mechanism --- npc/functions/daily.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/functions') diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index bcd25306b..a6eee8a69 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -51,7 +51,10 @@ function script daily_login_bonus_handler { //debugmes "[DLBH] month checks ok"; // Handle rewards: Streaks first, daily later. Streak reward prevail over daily reward. - if (#LOGIN_STREAK > 27) { + if ($@NOUPDATES) { + dispbottom col(l("Updates disabled, daily login reward: 1,000 GP"), 1); + Zeny+=1000; + } else if (#LOGIN_STREAK > 27) { getitem StrangeCoin, 2; getitem CasinoCoins, 1; dispbottom l("##2 @@ Days login bonus: ##B2x @@, 1x @@##b", #LOGIN_STREAK, getitemlink(StrangeCoin), getitemlink(CasinoCoins)); -- cgit v1.2.3-70-g09d2