From f5a7fa8adb4e259a956fe82f41639f528bd70ada Mon Sep 17 00:00:00 2001 From: Lupus Date: Fri, 10 Dec 2004 08:41:26 +0000 Subject: fixed some exploits, changed ingredients added missing close; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@534 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/newgears/traveler.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'npc/quests/newgears/traveler.txt') diff --git a/npc/quests/newgears/traveler.txt b/npc/quests/newgears/traveler.txt index 291d9825f..68e9bb886 100644 --- a/npc/quests/newgears/traveler.txt +++ b/npc/quests/newgears/traveler.txt @@ -4,7 +4,7 @@ //= Halca (1.0) //= Mass Zero (1.1) //===== Current Version: ===================================== -//= 1.2 +//= 1.3 //===== Compatible With: ===================================== //= Any eAthena Version. //===== Description: ========================================= @@ -12,6 +12,7 @@ //===== Additional Comments: ================================= //= 1.2 Fixed wrong labels, added missing text //= added missing delitem, fixed names, item amount [Lupus] +//= 1.3 Fixed possible exploit [Lupus] //============================================================ morocc.gat,274,79,6 script Traveler 807,{ @@ -35,10 +36,10 @@ M_N1: if ((countitem(1026) < 1000) || (countitem(7065) < 100) || (countitem(945) < 10)) GOTO L_NOITEM;//Items: Acorn, Sea Otter Fur, Raccoon Leaf, mes "[Traveler]"; mes "Well, then here is your item"; - next; delitem 1026,1000;//Items: Acorn, delitem 7065,100;//Items: Sea Otter Fur, delitem 945,10;//Items: Raccoon Leaf, + next; getitem 5084,1;//Items: Lazy Racoon Hat, mes "[Traveler]"; mes "Enjoy."; @@ -59,12 +60,12 @@ M_N2: if ((countitem(624) < 1) || (countitem(959) < 300) || (countitem(1144) < 50) || (countitem(1023) < 1) || (countitem(938) < 100)) GOTO L_NOITEM; //Items: Rotten Fish, Stinky Scale, Sashimi, Fish Tail, Sticky Mucus, mes "[Traveler]"; mes "Okay, thanks."; - next; delitem 624,1;//Items: Rotten Fish, delitem 959,300;//Items: Stinky Scale, delitem 1144,50;//Items: Sashimi, delitem 1023,1;//Items: Fish Tail, delitem 938,100;//Items: Sticky Mucus, + next; getitem 5065,1;//Items: Fresh Blueish Fish, mes "[Traveler]"; mes "Thanks. Bye."; @@ -85,10 +86,10 @@ M_N3: if ((countitem(2233) < 1) || (countitem(983) < 1) || (countitem(7206) < 300)) GOTO L_NOITEM;//Items: Circlet, Black Dyestuff, Black Cat Doll, mes "[Traveler]"; mes "Okay, here you are."; - next; delitem 2233,1;//Items: Circlet, delitem 983,1;//Items: Black Dyestuff, delitem 7206,300;//Items: Black Cat Doll, + next; getitem 5058,1;//Items: Resting Cat, mes "[Traveler]"; mes "Good luck."; @@ -96,7 +97,7 @@ M_N3: M_N4: mes "[Traveler]"; - mes "Bring me 600 Raccoon Dog's Leaf (Raccoon Leaf)"; + mes "Bring me 600 Raccoon Dog's Leaves (Raccoon Leaf)."; next; mes "[Traveler]"; mes "You have these?"; @@ -105,12 +106,12 @@ M_N4: if (countitem(945) < 600) GOTO L_NOITEM;//Items: Raccoon Leaf, mes "[Traveler]"; - mes "Thanks. here's your leaf"; - next; + mes "Thanks. here's your leaf."; delitem 945,600;//Items: Raccoon Leaf, + next; getitem 5064,1;//Items: Transformation Leaf, mes "[Traveler]"; - mes "Enjoy your Item"; + mes "Enjoy your Item."; close; L_NOITEM: @@ -120,7 +121,7 @@ L_NOITEM: close; L_NOVICE: - mes "It's hot today..."; + mes "It's damn hot today..."; close; M_EXIT: -- cgit v1.2.3-70-g09d2