42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName vtw_isnaturalist
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 9/11/2005 1:03:56 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "prc_class_const"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
int iNatural = GetLevelByClass(CLASS_TYPE_BARBARIAN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_DRUID, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHIFTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BLACK_BLOOD_CULTIST, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_BLOODCLAW_MASTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_DEEPSTONE_SENTINEL, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FOCHLUCAN_LYRIST, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_FORESTMASTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_HATHRAN, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_JUSTICEWW, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_NENTYAR_HUNTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_PNP_SHIFTER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_STORMLORD, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_TOTEM_RAGER, oPC)
|
|
+ GetLevelByClass(CLASS_TYPE_WEREWOLF, oPC);
|
|
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
|
|
if(iNatural >= 1)
|
|
iPassed = 1;
|
|
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
} |