20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName sc_chkcleric
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 10/17/2002 3:57:10 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
|
||
|
// Restrict based on the player's class
|
||
|
int iPassed = 0;
|
||
|
if(GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 1)
|
||
|
iPassed = 1;
|
||
|
if(iPassed == 0)
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
}
|