summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/knight.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-28 22:23:59 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-28 22:23:59 +0000
commitad8fe4131ee71b832d9cf5c75997705ff0f9770a (patch)
tree32debb44bd72b1ae22c4c70b79bb166a42f3a1b0 /npc/jobs/2-1/knight.txt
parentd5cc24c109ddb1d0f15e0c6e431f10bc402ac821 (diff)
downloadhercules-ad8fe4131ee71b832d9cf5c75997705ff0f9770a.tar.gz
hercules-ad8fe4131ee71b832d9cf5c75997705ff0f9770a.tar.bz2
hercules-ad8fe4131ee71b832d9cf5c75997705ff0f9770a.tar.xz
hercules-ad8fe4131ee71b832d9cf5c75997705ff0f9770a.zip
* Knight job quest bug fixes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11081 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-1/knight.txt')
-rw-r--r--npc/jobs/2-1/knight.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index c7d2e4e76..b96cb5f01 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -29,6 +29,8 @@
//= 2.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
//= 2.3 Several bugfixes with the help of Barron-Monster. [L0ne_W0lf]
//= 2.4 Minor fixes to timer#knt. [L0ne_W0lf]
+//= 2.5 Fixes a small bug with making claymores. [L0ne_W0lf]
+//= Corrected usages of killmonster and killmonsterall.
//============================================================
prt_in,88,101,4 script Chivalry Captain#knt 56,{
@@ -1339,7 +1341,9 @@ OnStartArena:
if($@KntUsers > 0) end;
if ((getwaitingroomstate(33)) == 0) end; // stops the rest of the script from running if there is no one in the waiting room;
- killmonsterall "job_knt";
+ killmonster "job_knt", "Knight1::OnMyMobDead";
+ killmonster "job_knt", "Knight2::OnMyMobDead";
+ killmonster "job_knt", "Knight3::OnMyMobDead";
warpwaitingpc "job_knt",43,146;
donpcevent "Knight1::OnEnable";
end;
@@ -1370,7 +1374,6 @@ OnEnable:
OnDisable:
killmonster "job_knt", "Knight1::OnMyMobDead";
- killmonsterall "job_knt";
disablenpc "Knight1";
end;
@@ -2097,7 +2100,7 @@ OnEnable:
end;
OnDisable:
- killmonsterall "job_knt","Timer#knt::OnMyMobDead";
+ killmonster "job_knt","Timer#knt::OnMyMobDead";
disablenpc "Timer#knt";
disablenpc "Warp#knt";
end;
@@ -2158,7 +2161,7 @@ prt_in,87,92,4 script Sir Gray#knt 119,{
close;
}
else {
- if (Zeny > 73999 && countitem(999) > 0 && BaseJob == Job_Swordman) {
+ if (Zeny > 73999 && countitem(999) > 0 && BaseJob == Job_Knight) {
mes "[Sir Gray]";
mes "You are ready!";
mes "You must know the";