WoR_PRC8/_module/nss/check_nosubraces.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

19 lines
589 B
Plaintext

// updated to include the werewolf, hill giant, gnoll, ogre, ogre-mage subrace
int StartingConditional()
{
if(GetIsDM(GetPCSpeaker()))
{ return TRUE; }
object oPC = GetPCSpeaker();
string Subrace = GetStringLowerCase(GetSubRace(oPC));
if(Subrace == "" || (Subrace != "drow" && Subrace != "vampire" && Subrace != "lich" && Subrace != "werecat" && Subrace != "dark-elf" && Subrace != "werewolf" && Subrace != "giant-hill" && Subrace != "gnoll" && Subrace != "ogre" && Subrace != "ogre-mage"))
{
return TRUE;
}
else
{
return FALSE;
}
}