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

21 lines
573 B
Plaintext

//Exotic level for store
int StartingConditional()
{
object oPC = GetPCSpeaker();
if((GetLocalInt(GetModule(), "iAllowStores") != 1))
{
if ((GetLevelByClass(CLASS_TYPE_MONK, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_ROGUE, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_BARD, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_HARPER, oPC)==0)&&
(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)==0))
return FALSE;
}
return TRUE;
}