class 1 ai_boss05_vale_master_b : warrior_ag_casting_3skill_magical
{
parameter:
	int	DDMagic = 267845637;
	int	HoldMagic = 265158661;
	int	CancelMagic = 268304385;

handler:
	EventHandler CREATED()
	{
		myself.sm.weight_point = myself::FloatToInt(myself.sm.x);
		myself.sm.respawn_time = myself::FloatToInt(myself.sm.y);
		myself.sm.flag = myself::FloatToInt(myself.sm.z);
	}

	EventHandler SEE_CREATURE(creature)
	{
		if( creature.z > ( myself.sm.z - 100 ) && creature.z < ( myself.sm.z + 100 ) )
		{
			if( creature.is_pc == 0 && myself::IsInCategory(11,creature.npc_class_id) == 0 )
			{
				return;
			}
			if( myself::GetLifeTime() > 0 && myself::InMyTerritory(myself.sm) )
			{
				myself::AddAttackDesire(creature,1,200);
			}
			myself::MakeAttackEvent(creature,9,1);
		}
	}

}
