//::///////////////////////////////////////////////
//:: FileName c1_isspellcaster
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 4/5/2004 9:38:49 PM
//:://////////////////////////////////////////////
#include "prc_class_const"

int StartingConditional()
{
	object oPC 	= GetPCSpeaker();

//:: Get all full spellcasters & warlocks	
	int iArcane	= GetLevelByClass(CLASS_TYPE_WIZARD, oPC)
				+ GetLevelByClass(CLASS_TYPE_SORCERER, oPC)			
				+ GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, oPC)
				+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
				+ GetLevelByClass(CLASS_TYPE_WARMAGE, oPC)		
				+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC)
				+ GetLevelByClass(CLASS_TYPE_CLERIC, oPC) 	
				+ GetLevelByClass(CLASS_TYPE_ARCHIVIST, oPC)
				+ GetLevelByClass(CLASS_TYPE_FAVOURED_SOUL, oPC)
				+ GetLevelByClass(CLASS_TYPE_HEALER, oPC)	
				+ GetLevelByClass(CLASS_TYPE_SUBLIME_CHORD, oPC)	
				+ GetLevelByClass(CLASS_TYPE_BLIGHTER, oPC)	
				+ GetLevelByClass(CLASS_TYPE_DRUID, oPC)	
				+ GetLevelByClass(CLASS_TYPE_OCULAR, oPC)
				+ GetLevelByClass(CLASS_TYPE_WARLOCK, oPC)					
				+ GetLevelByClass(CLASS_TYPE_SHAMAN, oPC)	
				+ GetLevelByClass(CLASS_TYPE_UR_PRIEST, oPC);

    // Restrict based on the player's class
    if(iArcane == 0)
        return FALSE;

    return TRUE;
}
