24 lines
704 B
Plaintext
24 lines
704 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName sc_009
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 8/3/2005 6:27:32 PM
|
|
//:://////////////////////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 10)
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 10))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_PALADIN, GetPCSpeaker()) >= 10))
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|