class 1 warrior_mimic : warrior_parameter
{
handler:
	EventHandler ATTACKED(attacker,damage,skill_name_id,i0,f0)
	{
		if( ( skill_name_id / 256 ) == 27 || ( skill_name_id / 256 ) == 2065 )
		{
			i0 = ( myself.sm.level - 6 );
			i0 = ( i0 + 1060865 );
			if( myself::Skill_GetConsumeMP(1086721) < myself.sm.mp && myself::Skill_GetConsumeHP(1086721) < myself.sm.hp && myself::Skill_InReuseDelay(1086721) == 0 )
			{
				myself::AddUseSkillDesire(myself.sm,1086721,0,1,1000000);
			}
			if( myself::Skill_GetConsumeMP(i0) < myself.sm.mp && myself::Skill_GetConsumeHP(i0) < myself.sm.hp && myself::Skill_InReuseDelay(i0) == 0 )
			{
				myself::AddUseSkillDesire(attacker,i0,0,1,1000000);
			}
			myself::AddAttackDesire(attacker,1,( ( ( -1 * myself::Skill_GetEffectPoint(skill_name_id) ) / ( myself.sm.level + 7 ) ) * 150 ));
		}
		if( attacker.is_pc != 0 || myself::IsInCategory(11,attacker.npc_class_id) )
		{
			if( damage == 0 )
			{
				damage = 1;
			}
			myself::AddAttackDesire(attacker,1,( ( ( 1.000000 * damage ) / ( myself.sm.level + 7 ) ) * 100 ));
		}
	}

}
