RATDOG/_module/nss/cv_chk_lvl10plus.nss

26 lines
584 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: 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;
}