[Template USAFighter Inherit=AAUnitUSAAirplaneFighter]
{
	[View]
	resource_prefix = USAFighter/USAFighter

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

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

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


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

	[BodyComponent]
	{
		health = 3000
		defense = 100
	} 

 	[MoverComponent]
	{
		speed_max = 15
		turn_radius = 12.75
	}


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

		[Property]
		property_IDS = fighter
	}		
}

[Thing Template=USAFighter]
{
	IDS = usa_fighter
	name = "#usa_fighter_name"
	editor_name = "#usa_fighter_editor_name"
}

[Thing Template=USAFighter]
{
	IDS = usa_fighter_corsair
	name = "#usa_fighter_corsair_name"
	editor_name = "#usa_fighter_corsair_editor_name"
	
	[View]
	resource_prefix = USAFighterTropical/USAFighterTropical
}





