;; brw04042004 - NOTE: To change the *COST* of a special operation
;; 	you must look in the template_ability_special_op_aa.tgi

[AbilityDefinition Template=AASpecialOp]
{
	IDS = banzai_charge
	name = "#banzai_charge_name"
	description = "#banzai_charge_description"
	targets = +FRIEND -ORGANIZATION -BUILDING
	recharge_time = 30
	area = 20
	max_targets = 500
	target_location_vfx = friendly_target_decal_vfx

	icon = /UI/%s/Game/SpecialOps/IconBanzaiCharge.png
		
	[Effect Template=EnchantmentEffect]
	{
		[EnchantmentProperty]
		{
			IDS = property_banzai_charge
			name = "#banzai_charge_Effect_EnchantmentProperty_name"
			enchantment_type = ench_type_courage
			duration = 600
			icon = /Properties/PropertyIcons/IconPropertyMorale.png
			
			[Modifier Template=MultiplyModifier]
			attribute = RECHARGE_TIME
			amount = +0.50
			
			[Modifier Template=MultiplyModifier]
			attribute = HEALTH
			amount = +0.20

			[Modifier Template=EnchantmentImmunityModifier]
			enchantment_type = ench_type_fear
		
			[WhenAdded Template=FXC_CreateVFX]
			target_flags = +infantry
			VFX_IDS = banzai_decal

			[WhenAdded Template=FXC_CreateVFX]
			target_flags = +vehicle
			VFX_IDS = banzai_decal_large
			
			[WhenAdded Template=FXC_CreateVFX]
			VFX_IDS = banzai_charge_glow			
		}
	}

	[Flags]
	enchantment = true
			
	[WhenDo Template=FXC_PlaySFX]
	audio_ids = banzai_charge_sfx
	at = TARGET_GROUND

	[WhenDo Template=FXC_CreateVFX]
	vfx_ids = banzai_charge_sign
	at = TARGET_GROUND

}
