diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-3/malindou.txt | 1 | ||||
-rw-r--r-- | npc/017-1/misc.txt | 48 | ||||
-rw-r--r-- | npc/018-2-1/dustman.txt | 6 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 2 |
4 files changed, 9 insertions, 48 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index b16104284..82b8edf8f 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -478,6 +478,7 @@ OnInit: if ($UPDATE < 1581875670) { $UPDATE=1581875670; query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='INN_REGISTER'"); + DelAccRegFromEveryPlayer("#RARE_POINTS"); debugmes ""; debugmes "* Variable cleanup"; debugmes ""; diff --git a/npc/017-1/misc.txt b/npc/017-1/misc.txt index 823f71b36..1779ddd77 100644 --- a/npc/017-1/misc.txt +++ b/npc/017-1/misc.txt @@ -238,50 +238,16 @@ OnInit: // Which is a script variable, meaning it will be a really special event. // Side Note: Might as well add a special cap for such situations. 017-1,118,83,0 script Pydisgner#spoints NPC_GUGLI,{ - if (!#RARE_POINTS) { - mesn; - mesq l("Hello %s and welcome to Land Of Fire Village. This used to be a whole server before the Monster King crashed it down here.", strcharinfo(0)); - next; - mesn; - mesq l("In this town you'll find many critical things for your journey, like artifacts, dungeons, crafts and refiners. Please enjoy your stay. And keep tuned for news about us!"); - // TODO: Add a link for LoF Discord Server - close; - } - mesn; - mesq l("Have you came here from Land Of Fire TMWA Server? Do you have the merge points with you?"); - next; - closeclientdialog; - openshop; - end; + mesn; + mesq l("Hello %s and welcome to Land Of Fire Village. This used to be a whole server before the Monster King crashed it down here.", strcharinfo(0)); + next; + mesn; + mesq l("In this town you'll find many critical things for your journey, like artifacts, dungeons, crafts and refiners. Please enjoy your stay. And keep tuned for news about us!"); + mes "@@https://discord.gg/q3Bwzgf|LoF Discord Server@@"; + close; OnInit: .sex = G_OTHER; .distance=5; - - tradertype(NST_CUSTOM); - - // Rares - sellitem BlacksmithAxe, 64000; - sellitem AxeHat, 7000; - sellitem Googles, 5000; - - // Uncommon - sellitem CrystallizedMaggot, 6000; - sellitem Sunglasses, 6000; - sellitem BunnyEars, 800; - sellitem StrangeCoin, 30; end; - -OnCountFunds: - setcurrency(#RARE_POINTS); - end; - -OnPayFunds: - // Due a script bug, you must always retain a point - if( #RARE_POINTS <= @price ) - end; - #RARE_POINTS=#RARE_POINTS-@price; - purchaseok(); - end; - } diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt index ba4d76692..fda324437 100644 --- a/npc/018-2-1/dustman.txt +++ b/npc/018-2-1/dustman.txt @@ -98,12 +98,6 @@ L_COD: mesn; mesq l("Hey, do you know the ##BCall Of Dusty##b event?"); next; - if (#RARE_POINTS || countitem(TimeFlask)) { - mesn; - mesq l("Also, you seem like you are from around LoF. Why don't you take a free @@?", getitemlink(BottledDust)); - next; - getitem BottledDust, 1; - } setq LoFQuest_COD, 1; goto L_InformationCOD; } diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index b0575f73e..2aaf1f980 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -539,7 +539,7 @@ function script clientupdater { // You'll get 1 Rare Point for every 1k GP obtained // Top was 1,000,000 → 1000 rare points - #RARE_POINTS+=.@trugp/1000; + //#RARE_POINTS+=.@trugp/1000; } // if ranking } |