generated from Jaysyn/ModuleTemplate
30 lines
753 B
Plaintext
30 lines
753 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName 1in6elf
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 10/03/2005 18:55:32
|
|
//:://////////////////////////////////////////////
|
|
#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_HALFELF)
|
|
//if(MyPRCGetRacialTy(RACIAL_TYPE_HALFELF, GetPCSpeaker()) >= 1)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
// Add the randomness
|
|
if(Random(6) >= 1)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|