summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/017-1/misc.txt2
-rw-r--r--npc/functions/clientversion.txt15
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;
}