diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-10 17:48:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-10 17:48:18 -0300 |
commit | c5e94a0f4ff710010f61e9b5b1c79f5711a12d34 (patch) | |
tree | 23e974244b1b03798ff5dcc3f6fafa99ab8a8de9 | |
parent | 161ac79087ed455a5a9262b46da8ac139353739a (diff) | |
download | serverdata-c5e94a0f4ff710010f61e9b5b1c79f5711a12d34.tar.gz serverdata-c5e94a0f4ff710010f61e9b5b1c79f5711a12d34.tar.bz2 serverdata-c5e94a0f4ff710010f61e9b5b1c79f5711a12d34.tar.xz serverdata-c5e94a0f4ff710010f61e9b5b1c79f5711a12d34.zip |
NOUPDATES = Override daily login mechanism
-rw-r--r-- | npc/functions/daily.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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)); |