From 94d88f2cc598fa038f47be57aa78fba9f0741508 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 12 Jun 2019 01:23:48 -0300 Subject: :> --- npc/functions/daily.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/functions/daily.txt') diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 697f133a9..6ca64ef0e 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -43,6 +43,7 @@ function script daily_login_bonus_handler { } else { #LOGIN_STREAK=1; #LOGIN_TABLE=gettime(6); + #TMW2_LOGINBONUS=0; } // Update last day you've claimed a reward @@ -133,6 +134,13 @@ function script daily_login_bonus_handler { dispbottom "##B##2"+l("It's TMW2 Server anniversary!")+" "+l("We thank every player, because without them, this would be nothing!")+"##b##0"; } } + if (gettime(6) == JUNE) { + if (#TMW2_LOGINBONUS != gettime(GETTIME_YEAR) && gettime(5) == 21) { + #TMW2_LOGINBONUS=gettime(GETTIME_YEAR); + getitem TreasureMap, 1; + dispbottom "##B##2"+l("It's Jesusalva's anniversary!")+" "+l("Also, Summer just started. Why not taking this opportunity to go Treasure Hunting?!")+"##b##0"; + } + } if (gettime(6) == DECEMBER) { if (!#XMAS_LOGINBONUS && gettime(5) >= 24 && gettime(5) <= 26) { #XMAS_LOGINBONUS=1; -- cgit v1.2.3-60-g2f50