generated from Jaysyn/ModuleTemplate
29 lines
752 B
Plaintext
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;
|
|
}
|