generated from Jaysyn/ModuleTemplate
24 lines
548 B
Plaintext
24 lines
548 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName 1in5epic
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 10/03/2005 18:54:49
|
|
//:://////////////////////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetHitDice(GetPCSpeaker()) >= 13)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
// Add the randomness
|
|
if(Random(5) >= 1)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|