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-2a/Professor.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'npc/jobs/2-2a/Professor.txt') diff --git a/npc/jobs/2-2a/Professor.txt b/npc/jobs/2-2a/Professor.txt index b6b38afdc..6b8b0e300 100644 --- a/npc/jobs/2-2a/Professor.txt +++ b/npc/jobs/2-2a/Professor.txt @@ -16,7 +16,7 @@ //============================================================ valkyrie,53,47,3 script Scholar#Valkyrie 743,{ - if (ADVJOB == 0 || Upper != 1) { + if (FJOB == 0 || Upper != 1) { set .@karma_d,rand(1,10); if (.@karma_d > 4) { mes "[Scholar]"; @@ -40,7 +40,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 743,{ mes "process of learning..."; close; } - else if (ADVJOB == Job_Professor && Class == Job_Mage_High && JobLevel > 39) { + if ((FJOB == Job_Sorcerer) && (Class == Job_Mage_High) && (JobLevel > 39)) { mes "[Scholar]"; mes "Rune-Midgard doesn't"; mes "have enough Scholars to"; @@ -68,7 +68,7 @@ valkyrie,53,47,3 script Scholar#Valkyrie 743,{ close; } jobchange Job_Professor; - set ADVJOB,0; + set FJOB,0; mes "[Scholar]"; mes "Congratulations!"; mes "As a Professor, I hope"; @@ -89,5 +89,4 @@ valkyrie,53,47,3 script Scholar#Valkyrie 743,{ mes "while you are here."; mes "Honor to the warriors!"; close; -} - +} \ No newline at end of file -- cgit v1.2.3-70-g09d2