summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-10 17:48:18 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-10 17:48:18 -0300
commitc5e94a0f4ff710010f61e9b5b1c79f5711a12d34 (patch)
tree23e974244b1b03798ff5dcc3f6fafa99ab8a8de9
parent161ac79087ed455a5a9262b46da8ac139353739a (diff)
downloadserverdata-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.txt5
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));