diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-03 19:46:15 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-03 19:46:15 -0300 |
commit | 0a60d4ba4544ac1d9fd4c1aba8f2b1cebcb126a3 (patch) | |
tree | a26a5a12b8e1a36416a121dec536a9dc0fc8d806 /npc | |
parent | e287c6cd8fae7b4a5d1ac586c246c5c3b4aaeb12 (diff) | |
download | serverdata-0a60d4ba4544ac1d9fd4c1aba8f2b1cebcb126a3.tar.gz serverdata-0a60d4ba4544ac1d9fd4c1aba8f2b1cebcb126a3.tar.bz2 serverdata-0a60d4ba4544ac1d9fd4c1aba8f2b1cebcb126a3.tar.xz serverdata-0a60d4ba4544ac1d9fd4c1aba8f2b1cebcb126a3.zip |
GP will now become Rare points. Strange Coin now cost 30 Rare points.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/017-1/misc.txt | 2 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 15 |
2 files changed, 15 insertions, 2 deletions
diff --git a/npc/017-1/misc.txt b/npc/017-1/misc.txt index c49665201..32cdbfac5 100644 --- a/npc/017-1/misc.txt +++ b/npc/017-1/misc.txt @@ -262,7 +262,7 @@ OnInit: sellitem CrystallizedMaggot, 6000; sellitem Sunglasses, 6000; sellitem BunnyEars, 800; - sellitem StrangeCoin, 10; + sellitem StrangeCoin, 30; // Gamble sellitem SupremeGift,30000; diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index e6b7db9cc..75f956bec 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -496,6 +496,15 @@ function script clientupdater { getitem MercBoxsetAA, 1; break; } // switch(ranking) + + // We should convert GP to rare points + // if you have less than 50k, we'll return you to initial amount + .@trugp=max(50000, .@gpval[.@ranking]); + + // You'll get 1 Rare Point for every 1k GP obtained + // Top was 1,000,000 → 1000 rare points + #RARE_POINTS+=.@trugp/1000; + } // if ranking } @@ -503,6 +512,7 @@ function script clientupdater { // #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted. if (#ADD_LVL) { .@dg=1; + /* mesn "Jesus Saves"; mesc l("Oh - Welcome to TMW2: Moubootaur Legends!"), 3; next; @@ -520,6 +530,7 @@ function script clientupdater { //atcommand "@blvl "+#ADD_LVL; //getitem TimeFlask, 1; #ADD_LVL=(#ADD_LVL*9)/10; + */ if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) { do { .@v=readparam(NextBaseExp)-readparam(BaseExp); @@ -534,8 +545,10 @@ function script clientupdater { } - if (.@dg) + if (.@dg) { + next; closeclientdialog; + } return; } |