24 lines
618 B
Plaintext
24 lines
618 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName chk_class_align
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 1/23/2003 8:55:48 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
|
||
|
// Restrict based on the player's class
|
||
|
int iPassed = 0;
|
||
|
if(GetHitDice(GetPCSpeaker()) >= 20)
|
||
|
iPassed = 1;
|
||
|
if(iPassed == 0)
|
||
|
return FALSE;
|
||
|
|
||
|
// Restrict based on the player's alignment
|
||
|
if(GetAlignmentGoodEvil(GetPCSpeaker()) != ALIGNMENT_GOOD)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
}
|