Change
// Checks if the player can change to third class.
// Note: This does not include the level checks.
function Can_Change_Third {
// To change to third class you either need to be:
// * Second Class
// * Transcendent Second Class
// * Baby Second Class
if( !.ThirdClass )
return false; // Third job change disabled
if( !(eaclass()&EAJL_2) )
return false; // Not second Class
if( eaclass()&EAJL_THIRD )
return false; // Already Third Class
if( roclass(eaclass()|EAJL_THIRD) < 0 )
return false; // Job has no third Class
if( (eaclass()&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE )
return false; // Exp. Super Novice equals 3rd Cls, but has it's own case
if( Is_Baby() && (!.BabyClass || !.BabyThird) )
return false; // No Baby (Third) change allowed
return true;
}
to:
// Checks if the player can change to third class.
// Note: This does not include the level checks.
function Can_Change_Third {
// To change to third class you either need to be:
// * Second Class
// * Transcendent Second Class
// * Baby Second Class
if( !.ThirdClass )
return false; // Third job change disabled
if( !(eaclass()&EAJL_2) )
return false; // Not second Class
if( eaclass()&EAJL_THIRD )
return false; // Already Third Class
if( (eaclass()&EAJ_BASEMASK) == EAJ_TAEKWON )
return false; // No Star Emperor or Soul Reaper.
if( roclass(eaclass()|EAJL_THIRD) < 0 )
return false; // Job has no third Class
if( (eaclass()&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE )
return false; // Exp. Super Novice equals 3rd Cls, but has it's own case
if( Is_Baby() && (!.BabyClass || !.BabyThird) )
return false; // No Baby (Third) change allowed
return true;
}