From 137395b992709248896fe66888778fe26169c1dc Mon Sep 17 00:00:00 2001 From: Saulc Date: Wed, 7 Feb 2018 21:26:03 +0100 Subject: fix zeny exploits --- npc/002-3/billybons.txt | 2 +- npc/005-1/_import.txt | 1 - npc/005-1/maya.txt | 2 +- npc/005-1/movetest.txt | 27 --------------------------- 4 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 npc/005-1/movetest.txt (limited to 'npc') diff --git a/npc/002-3/billybons.txt b/npc/002-3/billybons.txt index 6338f0406..33400049e 100644 --- a/npc/002-3/billybons.txt +++ b/npc/002-3/billybons.txt @@ -4,7 +4,7 @@ // Description: // Drunk easteregg telling about the player's past. -002-3,20,23,0 script Billy Bons NPC_BILLY_BONS,{ +002-3,20,23,0 script Billy Bons#TMW2 NPC_BILLY_BONS,{ if (rand(5) == 2) goto L_Hic; .@q = getq(ShipQuests_Bottle); if (.@q) == 1 close; diff --git a/npc/005-1/_import.txt b/npc/005-1/_import.txt index 505976e41..5c79c44df 100644 --- a/npc/005-1/_import.txt +++ b/npc/005-1/_import.txt @@ -4,5 +4,4 @@ "npc/005-1/_warps.txt", "npc/005-1/ayasha.txt", "npc/005-1/maya.txt", -"npc/005-1/movetest.txt", "npc/005-1/warpcandorbattle.txt", diff --git a/npc/005-1/maya.txt b/npc/005-1/maya.txt index 1b51c4a20..ff833506b 100644 --- a/npc/005-1/maya.txt +++ b/npc/005-1/maya.txt @@ -136,7 +136,7 @@ } while (@menu != 2); } - .@maya = getq(CandorQuest_Maya; + .@maya = getq(CandorQuest_Maya, if (BaseLevel <= 4 || BaseLevel <= 9 && .@maya == 1 || BaseLevel <= 14 && .@maya == 2) { diff --git a/npc/005-1/movetest.txt b/npc/005-1/movetest.txt deleted file mode 100644 index dcec64459..000000000 --- a/npc/005-1/movetest.txt +++ /dev/null @@ -1,27 +0,0 @@ -// Authors: Saulc - - -005-1,44,35,0 script AyashaT NPC_PLAYER,{ - - legiontalk; - - close; - -OnTimer1000: - domovestep; - -OnInit: - initpath "move", 44, 35, - "dir", UP, 0, - "wait", 2, 0, - "move", 51, 81, - "dir", DOWN, 0, - "wait", 2, 0,"" - "Mmove", 50, 88, - "dir", DOWN, 0, - "wait", 2, 0; - - initialmove; - initnpctimer; - .distance = 5; -} -- cgit v1.2.3-70-g09d2