summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 20:32:10 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-13 20:32:10 +0000
commite6702fae52ff77e11f11b993e4a4194000980993 (patch)
treeda60ccb71b38485b144782c61b7a14bc581811dc /npc
parenta5ed29018f12180aa41a8f247275bafffd2a938c (diff)
downloadhercules-e6702fae52ff77e11f11b993e4a4194000980993.tar.gz
hercules-e6702fae52ff77e11f11b993e4a4194000980993.tar.bz2
hercules-e6702fae52ff77e11f11b993e4a4194000980993.tar.xz
hercules-e6702fae52ff77e11f11b993e4a4194000980993.zip
Fixed exploit in Louyang NPC
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7143 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt1
-rw-r--r--npc/cities/louyang.txt10
2 files changed, 6 insertions, 5 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index a2e0a141e..9505cb48c 100644
--- a/npc/Changelog.txt
+++ b/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
diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt
index 7a2b82f22..37798a543 100644
--- a/npc/cities/louyang.txt
+++ b/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: