Selaa lähdekoodia

Hopefully fixed the custom jobmaster as well.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6203 54d463be-8e91-2dee-dedb-b68131a5f0ec
Playtester 19 vuotta sitten
vanhempi
commit
dbe31a0f87
2 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 1 0
      npc/Changelog.txt
  2. 2 0
      npc/custom/jobs/jobmaster.txt

+ 1 - 0
npc/Changelog.txt

@@ -28,6 +28,7 @@ Nexon
 Date		Added
 ======
 04/20
+	* Hopefully also fixed the custom job master [Playtester]
 	* Fixed it again, better use constants [Playtester]
 	* Fixed Rebirth script not working for some Knights and Crusaders [Playtester]
 	- needs some testing!

+ 2 - 0
npc/custom/jobs/jobmaster.txt

@@ -275,6 +275,8 @@ prontera.gat,153,193,6	script	Job Master	123,{
 		menu "No",L_quit,"Yes",-;
 		if ((BaseLevel < 99) || (JobLevel < 50)) goto L_cantCh;
 		set lastJob, readparam(19);
+		if(lastJob == Job_Knight2) set lastJob,Job_Knight;
+		if(lastJob == Job_Crusader2) set lastJob,Job_Crusader;
 		jobchange Job_Novice_High;
 		resetlvl(1);
 		skill 142,1,0;