PWE_PRC8/_module/nss/chk_class_palad.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

32 lines
828 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName chk_class_palad
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 11/27/2002 10:40:58 AM
//:://////////////////////////////////////////////
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iPal = GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
+ GetLevelByClass(CLASS_TYPE_CRUSADER, oPC)
+ GetLevelByClass(CLASS_TYPE_SOULBORN, oPC);
if(iPal == 0)
return FALSE;
else
return TRUE;
/* // Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_PALADIN, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE; */
}