diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-03 09:47:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-03 09:47:19 -0300 |
commit | 1d822e73cbc97d7ad9688a585b84f4360b244580 (patch) | |
tree | 46312bcaaf4a46cc7f8e9a1c03b086a7628dbdd1 | |
parent | 3c05fadf864eb3244117173841e5ad6d03965912 (diff) | |
download | serverdata-1d822e73cbc97d7ad9688a585b84f4360b244580.tar.gz serverdata-1d822e73cbc97d7ad9688a585b84f4360b244580.tar.bz2 serverdata-1d822e73cbc97d7ad9688a585b84f4360b244580.tar.xz serverdata-1d822e73cbc97d7ad9688a585b84f4360b244580.zip |
Deprecate Event Points
-rw-r--r-- | npc/003-1/events.txt | 3 | ||||
-rw-r--r-- | npc/003-3/malindou.txt | 2 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 11 |
3 files changed, 13 insertions, 3 deletions
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 //////////////////////////////////// |