//::///////////////////////////////////////////////
//:: FileName jhr_sc_magicuser
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/21/2002 8:08:07 PM
//:://////////////////////////////////////////////
#include "prc_class_const"

int StartingConditional()
{
	object Player = GetPCSpeaker();
	
	int totalArcaneCasterLevels;
	
	totalArcaneCasterLevels = (GetLevelByClass(CLASS_TYPE_SORCERER, Player) +
								GetLevelByClass(CLASS_TYPE_WIZARD, Player) +
								GetLevelByClass(CLASS_TYPE_DREAD_NECROMANCER, Player) +
								GetLevelByClass(CLASS_TYPE_WARMAGE, Player) +
								GetLevelByClass(CLASS_TYPE_SHADOWCASTER, Player) +
								GetLevelByClass(CLASS_TYPE_BEGUILER, Player) +
								GetLevelByClass(CLASS_TYPE_DRAGON_SHAMAN, Player) +
								GetLevelByClass(CLASS_TYPE_DRAGONFIRE_ADEPT, Player) +
								GetLevelByClass(CLASS_TYPE_WARLOCK, Player));
	
	// Restrict based on the player's class

	if(totalArcaneCasterLevels == 0)
		return FALSE;

	return TRUE;
}
