[Thing Template=AAUnitJPNAirplaneFighter]
{
	IDS = jpn_fighter
	name = "#jpn_fighter_name"
	editor_name = "#jpn_fighter_editor_name"
	
	[View]
	resource_prefix = JPNFighter/JPNFighter

	[PerformerComponent]
	{
		[Ability Template=AAAttackLocal]
		{
			idle_animation = idle  ;; Temporary fix
						
			[AbilityDefinition Template=AAAirplaneAttackMG]
			{
				name = "#jpn_fighter_AbilityDefinition_name"
				mana_cost = 1
				recharge_time = 1

				targets = +enemy, +air
				
				[Effect Template=APDamageEffect]
				amount = 200

				[Effect Template=AddDamageEffect]
				damage_type_IDS = gunfire
				targets = air
				amount = 4600

			
				[WhenDo template=FXC_PlaySFX]
				audio_ids = jpn_mg_heavy
			
			}
		}
	}

	[BodyComponent]
	{
		health = 2000
		defense = 30
	} 

 	[MoverComponent]
	{
		speed_max = 12
		turn_radius = 12
	}

	
	[PropertiesComponent]
	{
		[Property]
		property_IDS = mg
		
		[Property]
		property_IDS = combat_unit

		[Property]
		property_IDS = fighter
	}
		
}

