From b7a88442cefed36b81f80139310061fed10527e1 Mon Sep 17 00:00:00 2001 From: masao87 Date: Sat, 4 Aug 2012 21:45:50 +0000 Subject: - Here comes the big Job folder Update. * Updated all 1-1, 2-1, 2-2 and the expanded files to the latest available official files and also added support for baby job change. * There might be some optimizations still needed at some places and there maybe occur some errors as well or the job change isn't fully working anymore since I didn't test all the jobs through the end (Me = Lazy), if so then please fill out a bug report in our bug tracker: http://rathena.org/board/tracker/project-4-scripts/ * Ninja, Gunslinger and the other files will follow within the next days. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16579 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/2-1a/LordKnight.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/jobs/2-1a/LordKnight.txt') diff --git a/npc/jobs/2-1a/LordKnight.txt b/npc/jobs/2-1a/LordKnight.txt index ba998483e..7ed54ba3e 100644 --- a/npc/jobs/2-1a/LordKnight.txt +++ b/npc/jobs/2-1a/LordKnight.txt @@ -16,7 +16,7 @@ //============================================================ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{ - if (ADVJOB == 0 || Upper != 1) { + if (FJOB == 0 || Upper != 1) { set .@karma_d,rand(1,10); if (.@karma_d > 4) { mes "[Lord Knight]"; @@ -36,7 +36,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{ mes "well being of our comrades."; close; } - else if (ADVJOB == Job_Lord_Knight && Class == Job_Swordman_High && JobLevel > 39) { + if ((FJOB == Job_Rune_Knight) && (Class == Job_Swordman_High) && (JobLevel > 39)) { mes "[Lord Knight]"; mes "Your time has come!"; mes "The world still needs you."; @@ -61,7 +61,7 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{ close; } jobchange Job_Lord_Knight; - set ADVJOB,0; + set FJOB,0; mes "[Lord Knight]"; mes "Congratulations!"; mes "As a Lord Knight,"; @@ -81,4 +81,4 @@ valkyrie,44,39,5 script Lord Knight#Valkyrie 56,{ mes "while you are here."; mes "Honor to the warriors!"; close; -} +} \ No newline at end of file -- cgit v1.2.3-60-g2f50