From ad8fe4131ee71b832d9cf5c75997705ff0f9770a Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Tue, 28 Aug 2007 22:23:59 +0000 Subject: * Knight job quest bug fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11081 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-1/knight.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'npc/jobs') 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"; -- cgit v1.2.3-70-g09d2