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

32 lines
874 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName chk_class_cleric
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 11/27/2002 10:39:14 AM
//:://////////////////////////////////////////////
#include "prc_class_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iDivine = GetLevelByClass(CLASS_TYPE_CLERIC, oPC)
+ GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC)
+ GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
+ GetLevelByClass(CLASS_TYPE_HEALER, oPC);
if(iDivine == 0)
return FALSE;
else
return TRUE;
/* // Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
return TRUE;*/
}