@LabelIndex 16774
@StringIndex 0
class 0 warrior_mimic : default_npc {
parameter:
	float	Attack_DecayRatio = 6.600000;
	float	UseSkill_DecayRatio = 66000.000000;
	float	Attack_BoostValue = 500.000000;
	float	UseSkill_BoostValue = 100000.000000;
	int	CreviceOfDiminsion = 0;

handler:
	EventHandler ATTACKED(attacker,damage,skill_name_id,i0,f0) {
		if( CreviceOfDiminsion != 0 ) {
			if( myself::InMyTerritory(attacker) == 0 ) {
				myself::RemoveAttackDesire(attacker.id);
				return;
			}
		}
		if( ( ( skill_name_id / ( 256 * 256 ) ) == 27 || ( skill_name_id / ( 256 * 256 ) ) == 2065 ) && myself::DistFromMe(attacker) > 280 ) {
			i0 = ( myself.sm.level - 1 );
			i0 = ( i0 + 271581185 );
			if( myself::Skill_GetConsumeMP(278200321) < myself.sm.mp && myself::Skill_GetConsumeHP(278200321) < myself.sm.hp && myself::Skill_InReuseDelay(278200321) == 0 ) {
				myself::AddUseSkillDesire(myself.sm,278200321,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(12,attacker.class_id) ) {
			if( damage == 0 ) {
				damage = 1;
			}
			myself::AddAttackDesire(attacker,1,( ( ( 1.000000 * damage ) / ( myself.sm.level + 7 ) ) * 100 ));
		}
	}

}
