24 lines
633 B
Plaintext
24 lines
633 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName sc_073
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 9/1/2005 11:08:34 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
|
||
|
// Restrict based on the player's class
|
||
|
int iPassed = 0;
|
||
|
if(GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 15)
|
||
|
iPassed = 1;
|
||
|
if(iPassed == 0)
|
||
|
return FALSE;
|
||
|
|
||
|
// Restrict based on the player's alignment
|
||
|
if(GetAlignmentGoodEvil(GetPCSpeaker()) != ALIGNMENT_GOOD)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
}
|