26 lines
		
	
	
		
			584 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			584 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//::///////////////////////////////////////////////
 | 
						|
//:: cv_chk_lvl10plus.nss
 | 
						|
//:: Copyright (c) 2022 Project RATDOG
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
/*
 | 
						|
    Checks to see if the PC is 10th level.
 | 
						|
 | 
						|
*/
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
//:: Created By: Jaysyn
 | 
						|
//:: Created On: 20220703
 | 
						|
//:://////////////////////////////////////////////
 | 
						|
 | 
						|
int StartingConditional()
 | 
						|
{
 | 
						|
//:: Declare major variables
 | 
						|
    object oPC = GetPCSpeaker();
 | 
						|
 | 
						|
//:: The PC's total level must be at least 10.
 | 
						|
    if ( GetHitDice(oPC) < 10 )
 | 
						|
        return FALSE;
 | 
						|
 | 
						|
    return TRUE;
 | 
						|
}
 | 
						|
 |