summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-12 01:23:48 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-12 01:23:48 -0300
commit94d88f2cc598fa038f47be57aa78fba9f0741508 (patch)
tree80f965232e7f8b1bc47f87577d8e520cfee97254
parent293665cf52fea28907f249da3e8c5f9c6a60ada6 (diff)
downloadserverdata-94d88f2cc598fa038f47be57aa78fba9f0741508.tar.gz
serverdata-94d88f2cc598fa038f47be57aa78fba9f0741508.tar.bz2
serverdata-94d88f2cc598fa038f47be57aa78fba9f0741508.tar.xz
serverdata-94d88f2cc598fa038f47be57aa78fba9f0741508.zip
:>
-rw-r--r--npc/functions/daily.txt8
1 files changed, 8 insertions, 0 deletions
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;