[Template AAUSAAirplaneAttackBomb Template=AAAirplaneAttackBomb]
{
	mana_cost = 5
	range = 15
	area = 6
	recharge_time = 5
	max_targets = 12

	[WhenDo Template=FXC_PlaySFX]
	audio_ids = bomb_heavy
	at = TARGET_GROUND
}

[Thing Template=AAUnitUSAAirplaneBomber]
{
	IDS = usa_marinebomber
	name = "#usa_marinebomber_name"
	editor_name = "#usa_marinebomber_editor_name"
	
	[View]
	resource_prefix = USAMarineBomber/USAMarineBomber

	[PerformerComponent]
	{
		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = -0.3,-3.0,-0.4
			
			[AbilityDefinition Template=AAUSAAirplaneAttackBomb]
			{
				IDS = usa_bomb1
				name = "#usa_bomber_AbilityDefinition_name"
			
				[Effect Template=BlastDamageEffect]
				amount = 500
		
				[Effect Template=MoraleLossEffect]
				amount = 5.0
			}
		}

		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = 0.3,-3.0,-0.3
			
			[AbilityDefinition Template=AAUSAAirplaneAttackBomb]
			{
				IDS = usa_bomb2
				name = "#usa_bomber_AbilityDefinition_name_2"
			
				[Effect Template=APDamageEffect]
				amount = 1500
		
				[Effect Template=MoraleLossEffect]
				amount = 10.0
			}
		}

				
		}
	
	[BodyComponent]
	{
		health = 1000
		defense = 100
	} 

 	[MoverComponent]
	{
		speed_max = 15
		turn_radius = 12.75
	}


	[PropertiesComponent]
	{
		[Property]
		property_IDS = bomber
		
		[Property]
		property_IDS = combat_unit
	}
}
