PGCC_PRC8/_module/nss/vtw_haspriestlvl.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

21 lines
582 B
Plaintext

//Priest level for store
int StartingConditional()
{
object oPC = GetPCSpeaker();
if((GetLocalInt(GetModule(), "iAllowStores") == 1)) return TRUE;
if ((GetLevelByClass(CLASS_TYPE_CLERIC, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_PALADIN, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_BLACKGUARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_SHIFTER, oPC)==0))
return FALSE;
return TRUE;
}