# healing weapon effect

use_ship_main_target = yes
target_type = target_enemies
target_focus = spread
on_hit = {
	hidden_effect = {
		FROM = {
			if = {
				limit = { has_hp_percentage < 0.99 }
				repair_amount = $REPAIR_AMOUNT$
			}
			else = {
				repair_armor_amount = $REPAIR_AMOUNT$
			}
		}
	}
	custom_tooltip = "mod_esc_weapon_effect_healing"
}
