From 1d822e73cbc97d7ad9688a585b84f4360b244580 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 3 May 2020 09:47:19 -0300 Subject: Deprecate Event Points --- npc/003-1/events.txt | 3 +-- npc/003-3/malindou.txt | 2 +- npc/functions/clientversion.txt | 11 +++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt index d566d5bd1..ff785a579 100644 --- a/npc/003-1/events.txt +++ b/npc/003-1/events.txt @@ -22,8 +22,7 @@ if (.@pos > 0) { // Reverse it so top 10 value is 2, and top 2 value is 10. .@pos=11-.@pos; - EVENT_POINTS=.@pos*10; - mesc l("You got @@ Event Points for leaderboard position.", .@pos*10), 2; + getitem StrangeCoin, .@pos*2; } } } diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index df0279419..38eb11483 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -548,7 +548,7 @@ OnInit: debugmes ""; } // Current UPDATE value: Dom Abr 26 12:41:55 BRT 2020 - // Language over simplification + // Fix Tolchi mess if ($UPDATE < 1587915715) { $UPDATE=1587915715; query_sql("UPDATE `inventory` SET `opt_val0` = '15', `opt_val1` = '5' WHERE (`opt_idx0`='189' OR `opt_idx0`='200') AND (`opt_idx1`='189' OR `opt_idx1`='200') AND (`opt_val0` > '15' AND `opt_val1` > '15')"); diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 004751099..aa04a279c 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -801,6 +801,17 @@ function script clientupdater { if (AFKING >= 2592000) sk_lvup(TMW2_SPEECH); // 90 days mark } + // Deprecate event points + // dom abr 26 12:41:55 BRT 2020 + if (UPDATE < 1587915715) { + UPDATE=1587915715; + + if (EVENT_POINTS) { + getitem StrangeCoin, EVENT_POINTS/5; + EVENT_POINTS=0; + } + + } // :// End of Regular Update System //////////////////////////////////// -- cgit v1.2.3-70-g09d2