RoT2_PRC8/_module/nss/peruppi_clss_chk.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

22 lines
618 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName peruppi_clss_chk
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 7/7/2003 6:54:02 PM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_ASSASSIN, GetPCSpeaker()) >= 10)
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_ROGUE, GetPCSpeaker()) >= 15))
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;
}