Explorar o código

Fixed exploit in the Slotted Sunglasses Quest

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9483 54d463be-8e91-2dee-dedb-b68131a5f0ec
KarLaeda %!s(int64=18) %!d(string=hai) anos
pai
achega
65051e211d
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  1. 2 0
      npc/Changelog.txt
  2. 4 4
      npc/custom/quests/sunglasses.txt

+ 2 - 0
npc/Changelog.txt

@@ -33,6 +33,8 @@ KarLaeda
 
 Date		Added
 ======
+12/13
+	* Fixed exploit in the Slotted Sunglasses Quest [KarLaeda]
 12/11
 	* Adjusted Rachel Sanctuary entrance to prevent exploits [Playtester]
 	- added Ktullanux to spawns until the quest is added

+ 4 - 4
npc/custom/quests/sunglasses.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= Aegis - amichan
 //===== Current Version: =====================================
-//= 1.5
+//= 1.6
 //===== Compatible With: =====================================
 //= Any eAthena Version;
 //===== Description: =========================================
@@ -11,6 +11,7 @@
 //===== Additional Comments: =================================
 //= 1.0 by Aegis 1.1 by aichan 1.2 by x[tsk] 1.3 by Darkchild
 //= 1.5 Fixed Exploit [Lupus]
+//= 1.6 Fixed Exploit [KarLaeda]
 //============================================================
 
 // quest will reset it self after 1 pair of Slotted Sunglasses is made. 
@@ -126,11 +127,11 @@ L_SG_Q2_Check:
 	mes "[Maseph]";
 	mes "Here you go my friend.";
 	getitem 2202,1;
+// quest reset
+	set SG_QUEST1,0;
 	next;
 	mes "[Maseph]";
 	mes "Enjoy your ^000088Slotted Sunglasses^000000.";
-// quest reset
-	set SG_QUEST1,0;
 	close;
 L_SG_Sunglasses:
 	mes "[Maseph]";
@@ -141,4 +142,3 @@ L_SG_Funds:
 	mes "You do not have enough money. Please come back to me when you do.";
 	close;
 }
-