[Thing Template=AAUnitGERAirplaneFighter]
{
	IDS = usa_fighterp40
	name = "#usa_fighterp40_name"
	editor_name = "#usa_fighterp40_editor_name"

	[View]
	resource_prefix = USAFighterp40/USAFighterp40
	
	[PerformerComponent]
	{
		[Ability Template=AAAttackLocal]
		{
			idle_animation = idle  ;; Temporary fix
						
			[AbilityDefinition Template=AAAirplaneAttackMG]
			{
				name = "#usa_fighterp40_AbilityDefinition_name"
				mana_cost = 1
				recharge_time = 0.33

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

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


				[WhenDo template=FXC_PlaySFX]
				audio_ids = usa_mg_heavy
			}
		}
	}
		
	[BodyComponent]
	{
		health = 3200
		defense = 100
	} 

 	[MoverComponent]
	{
		speed_max = 12.75
		turn_radius = 13.5
	}


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

		[Property]
		property_IDS = fighter
	}
		
}

