Browse Source

Fixed exploit in Louyang NPC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7143 54d463be-8e91-2dee-dedb-b68131a5f0ec
Playtester 19 năm trước cách đây
mục cha
commit
abfc3def83
2 tập tin đã thay đổi với 6 bổ sung5 xóa
  1. 1 0
      npc/Changelog.txt
  2. 5 5
      npc/cities/louyang.txt

+ 1 - 0
npc/Changelog.txt

@@ -37,6 +37,7 @@ Musashiden
 Date		Added
 ======
 06/13
+	* Fixed exploit in Louyang NPC [Playtester]
 	* More Abyss/Thanatos spawn updates according to info from Tharis [Playtester]
 	* Added Dr.Evil's fixes to the Umbala NPCs [Playtester]
 	- probably needs some testing

+ 5 - 5
npc/cities/louyang.txt

@@ -1663,14 +1663,14 @@ L_DONE:
 	next;
 	mes "[Hua Tuo]";
 	mes "It's not much, but this medicine is an old family secret. I hope that it will be of use to you in dangerous situations.";
+	set QL_GOTHERB,0;
+	set QL_DOC1STTIME,0;
+	set QL_DOCQUEST,2;
 	getitem 679,2; //Pilule
 	set BaseExp,BaseExp + 10000;
 	next;
 	mes "[Hua Tuo]";
 	mes "Well then, I will see you around. Once again, I'd like to thank you for your help.";
-	set QL_GOTHERB,0;
-	set QL_DOC1STTIME,0;
-	set QL_DOCQUEST,2;
 	close;
 
 L_NOMED:
@@ -2733,6 +2733,8 @@ s_CameBack:
 	mes "warmth flowing throughout your";
 	mes "body. Eventually, you pass out.";
 	close2;
+	set QL_POISONKING,30;
+	set QL_POISONPATH,0;
 	getitem 678,3;
 	if(BaseLevel < 56)set BaseExp,BaseExp+8909;
 	if(BaseLevel > 55 && BaseLevel < 61)set BaseExp,BaseExp+10213;
@@ -2744,8 +2746,6 @@ s_CameBack:
 	if(BaseLevel > 85 && BaseLevel < 91)set BaseExp,BaseExp+152052;
 	if(BaseLevel > 90)set BaseExp,BaseExp+366786;
 	warp "louyang.gat",270,136;
-	set QL_POISONKING,30;
-	set QL_POISONPATH,0;
 	end;
 
 s_Proud: