@LabelIndex 103766
@StringIndex 0
class 0 ai_ocular_servitor : wizard_basic {
parameter:
	int	Skill01_Check_Dist = 0;
	int	Skill02_ID = 348323843;
	int	Skill01_Probablity = 1500;
	int	Skill02_Probablity = 0;
	int	Skill02_Target = 2;
	int	Skill02_Type = 3;

handler:
	EventHandler USE_SKILL_FINISHED(skill_name_id,target,success,c0,h0) {
		if( skill_name_id == Skill01_ID ) {
			myself::RemoveAttackDesire(target.id);
		}
		if( skill_name_id == Skill02_ID && success == 1 ) {
			myself::Despawn();
		}
		super;
	}

	EventHandler PARTY_DIED(private) {
		if( private == myself.boss && private != myself.sm ) {
			myself::RemoveAllDesire();
			myself::AddUseSkillDesire(myself.sm,Skill02_ID,1,1,100000000);
		}
		super;
	}

}
