32 lines
828 B
Plaintext
32 lines
828 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName chk_class_palad
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 11/27/2002 10:40:58 AM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iPal = GetLevelByClass(CLASS_TYPE_PALADIN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_CRUSADER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SOULBORN, oPC);
|
|
|
|
if(iPal == 0)
|
|
return FALSE;
|
|
else
|
|
return TRUE;
|
|
|
|
/* // Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetLevelByClass(CLASS_TYPE_PALADIN, GetPCSpeaker()) >= 1)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE; */
|
|
}
|