generated from Jaysyn/ModuleTemplate
24 lines
573 B
Plaintext
24 lines
573 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName 1in8arcane
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 31/03/2005 17:06:08
|
|
//:://////////////////////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetLevelByClass(CLASS_TYPE_WIZARD, GetPCSpeaker()) >= 1)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
// Add the randomness
|
|
if(Random(8) >= 1)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|