[Template AARUSAirplaneAttackBomb Template=AAAirplaneAttackBomb]
{
	mana_cost = 5
	range = 15
	area = 6
	recharge_time = 5
	max_targets = 12
							
	[Effect Template=BlastDamageEffect]
	amount = 1000

	[Effect Template=MoraleLossEffect]
	amount = 10.0

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

[Thing Template=AAUnitRUSAirplaneBomber]
{
	IDS = rus_bomber
	name = "#rus_bomber_name"
	editor_name = "#rus_bomber_editor_name"
		
	[View]
	resource_prefix = RUSBomber/RUSBomber

	[PerformerComponent]
	{
		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = -0.3,-3.0,-0.4
			
			[AbilityDefinition Template=AARUSAirplaneAttackBomb]
			IDS = rus_bomb1
			name = "#rus_bomber_AbilityDefinition_name"
		}

		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = 0.3,-3.0,-0.3
			
			[AbilityDefinition Template=AARUSAirplaneAttackBomb]
			IDS = rus_bomb2
			name = "#rus_bomber_AbilityDefinition_name_2"
		}

		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = -0.3,-3.5,-0.2
			
			[AbilityDefinition Template=AARUSAirplaneAttackBomb]
			IDS = rus_bomb3
			name = "#rus_bomber_AbilityDefinition_name_3"
		}

		[Ability Template=AAProjectileLocal]
		{
			;spawn_position = 0.3,-3.5,-0.1
			
			[AbilityDefinition Template=AARUSAirplaneAttackBomb]
			IDS = rus_bomb4
			name = "#rus_bomber_AbilityDefinition_name_4"
		}
	}
	
	[BodyComponent]
	{
		health = 6000
		defense = 100
	} 

 	[MoverComponent]
	{
		speed_max = 7
		turn_radius = 16
	}


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