summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-07-23 21:22:35 -0300
committerJesusaves <cpntb1@ymail.com>2024-07-23 21:22:35 -0300
commit57122f6e33b9019619c8f7280b0e89313915d8da (patch)
treeecfcdb4df6802206b24a70af09fdbe31986c22bb
parentb522054128ce59246e4bec02c03a8ac3cea16aa4 (diff)
downloadserverdata-57122f6e33b9019619c8f7280b0e89313915d8da.tar.gz
serverdata-57122f6e33b9019619c8f7280b0e89313915d8da.tar.bz2
serverdata-57122f6e33b9019619c8f7280b0e89313915d8da.tar.xz
serverdata-57122f6e33b9019619c8f7280b0e89313915d8da.zip
June's Hardcore Challenge rewards
-rw-r--r--npc/functions/clientversion.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index b61863dc4..238e56bb2 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1241,6 +1241,32 @@ function script clientupdater {
if (getq(SQuest_Paxel) >= 2)
TakeMoney(10000, l("Paxel forgot to collect payment for Prsm helmet"));
}
+ // June's Hardcore Challenge
+ // ter 23 jul 2024 19:50:00 -03
+ if (UPDATE < 1721775000) {
+ UPDATE=1721775000;
+ .@dg=1;
+ showavatar NPC_LOF_RICH;
+ mesn ("TMW2 Staff");
+ mesc l("Hello, @@! We are proud to announce the @@ RESULTS!", strcharinfo(0) , b(l("June's Hardcore Challenge"))), 3;
+ next;
+ mesc l("1st Place - Poppet (Lv 35)");
+ mesc l("2nd Place - ThinkSome (Lv 30)");
+ mesc l("3rd Place - Test_User (Lv 24)");
+ mesc l("4th Place - YuckFou (Lv 21)");
+
+ if (strcharinfo(0) == "poppet")
+ getitem StrangeCoin, 250;
+ else if (strcharinfo(0) == "ThinkSome")
+ getitem StrangeCoin, 200;
+ else if (strcharinfo(0) == "Test_User")
+ getitem StrangeCoin, 150;
+ else if (strcharinfo(0) == "YuckFou")
+ getitem StrangeCoin, 100;
+
+ mes "";
+ next;
+ }
// TODO: Anniversary (leap years disregarded)
// :// End of Regular Update System
@@ -1257,6 +1283,20 @@ function script clientupdater {
#VALENTINE20_REWARDS=false;
}
+ // Deconstitute global login variables
+ if ($BETASERVER && ##ADD_SC) {
+ #ADD_SC += ##ADD_SC;
+ ##ADD_SC = 0;
+ }
+ if ($BETASERVER && ##ADD_GP) {
+ #ADD_GP += ##ADD_GP;
+ ##ADD_GP = 0;
+ }
+ if ($BETASERVER && ##ADD_MPT) {
+ #ADD_MPT += ##ADD_MPT;
+ ##ADD_MPT = 0;
+ }
+
// Permanent Gold Boost
// #ADD_GP means the user have to right to get some gp
if (#ADD_GP) {