Files
HeroesStone_PRC8/_module/nss/1in8elf.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

29 lines
752 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName 1in8arcane
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 31/03/2005 17:06:08
//:://////////////////////////////////////////////
#include "prc_inc_racial"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iRace = MyPRCGetRacialType(oPC);
// Restrict based on the player's class
int iPassed = 0;
if(iRace == RACIAL_TYPE_ELF)
//if(MyPRCGetRacialTy(RACIAL_TYPE_HALFELF, GetPCSpeaker()) >= 1)
iPassed = 1;
if(iPassed == 0)
return FALSE;
// Add the randomness
if(Random(8) >= 1)
return FALSE;
return TRUE;
}