Explorar o código

Fixed a bug in the new Job Master
- he rebirthed you even if you haven't reached level 99

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6713 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester %!s(int64=19) %!d(string=hai) anos
pai
achega
b842e93beb
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      npc/Changelog.txt
  2. 1 1
      npc/custom/jobs/jobmaster.txt

+ 2 - 0
npc/Changelog.txt

@@ -31,6 +31,8 @@ Evera
 Date		Added
 ======
 05/23
+	* Fixed a bug in the new Job Master [Playtester]
+	- he rebirthed you even if you haven't reached level 99...
 	* Changed the questions of the Wizard Quiz to official ones [Playtester]
 05/22
 	* Global_Functions fix. Jobmaster fix. [Lance]

+ 1 - 1
npc/custom/jobs/jobmaster.txt

@@ -166,7 +166,7 @@ prontera.gat,153,193,6	script	Job Master	123,{
 			if((Class >=Job_Knight) && (Class <=Job_Crusader2)){
 				mes "Do you want to reborn?";
 				if(select("Yes","No")==1){
-					if(BaseLevel < 99 && JobLevel < 50) goto L_cantCh;
+					if(BaseLevel < 99 || JobLevel < 50) goto L_cantCh;
 					set lastJob, Class;
 					if(Class == Job_Knight2){
 						set lastJob, Job_Knight;