30 lines
1010 B
Plaintext
30 lines
1010 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName vtw_isnaturalist
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 9/11/2005 1:03:56 PM
|
|
//:://////////////////////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetLevelByClass(CLASS_TYPE_ARCANE_ARCHER, GetPCSpeaker()) >= 1)
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_BARBARIAN, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_CLERIC, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_SHIFTER, GetPCSpeaker()) >= 1))
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|