----------------------------------------
--
-- File: 'cadinq_krak_grenades'
--
-- Created by: AttributeEditor v2.0
-- Note: Do NOT edit by hand!
-- (c) 2001 Relic Entertainment Inc.
-- done by Chopsuey for ci mod

GameData = Inherit("cadinq_abilities")

GameData["ability_motion_name"] = "Melta_Bombs"
GameData["activation"] = "targeted"

-- added the diffrent terrain affects
GameData["area_effect"]["area_effect_information"]["area_effect_events"]["dirtsand"] = "unit_ability_fx/Melta_Bomb_Explosion"
GameData["area_effect"]["area_effect_information"]["area_effect_events"]["grass"] = "unit_ability_fx/Melta_Bomb_Explosion"
GameData["area_effect"]["area_effect_information"]["area_effect_events"]["rock"] = "unit_ability_fx/Melta_Bomb_Explosion"
GameData["area_effect"]["area_effect_information"]["area_effect_events"]["water"] = "unit_ability_fx/Melta_Bomb_Explosion"
--

GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_01"] = Reference("tp_vehicle_low")
GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_02"] = Reference("tp_vehicle_med")
GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_03"] = Reference("tp_vehicle_high")
GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_04"] = Reference("tp_building_low")
GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_05"] = Reference("tp_building_med")
GameData["area_effect"]["area_effect_information"]["target_filter"]["entry_06"] = Reference("tp_building_high")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_01"]["armour_piercing_value"] = 75.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_01"]["armour_type"] = Reference("tp_vehicle_low")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_02"]["armour_piercing_value"] = 100.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_02"]["armour_type"] = Reference("tp_vehicle_med")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_03"]["armour_piercing_value"] = 100.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_03"]["armour_type"] = Reference("tp_vehicle_high")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_04"]["armour_piercing_value"] = 75.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_04"]["armour_type"] = Reference("tp_building_low")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_05"]["armour_piercing_value"] = 100.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_05"]["armour_type"] = Reference("tp_building_med")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_06"]["armour_piercing_value"] = 75.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["armour_piercing_types"]["entry_06"]["armour_type"] = Reference("tp_building_high")
GameData["area_effect"]["weapon_damage"]["armour_damage"]["max_damage"] = 800.000
GameData["area_effect"]["weapon_damage"]["armour_damage"]["min_damage"] = 700.000
GameData["area_effect"]["weapon_damage"]["hit_events"]["tp_heavy_metal_armour"] = "unit_ability_fx/Melta_Bomb_Explosion"
GameData["area_effect"]["weapon_damage"]["hit_events"]["tp_light_metal_armour"] = "unit_ability_fx/Melta_Bomb_Explosion"
GameData["duration_time"] = 1.000
GameData["entity_busy_time"] = 1.000
GameData["initial_delay_time"] = 0.370
GameData["projectile_name"] = "Melta_Bomb"
GameData["range"] = 16.000
GameData["recharge_time"] = 120.000

GameData["requirements"]["required_1"] = Reference("required_research")
GameData["requirements"]["required_1"]["research_name"] = "cadinq_krak_grenade_research"

GameData["speech_directory"] = "ability/melta_bombs"

GameData["ui_info"]["icon_name"] = "space_marine_icons/meltabombs_icon"
GameData["ui_info"]["screen_name_id"] = "$2002920"
GameData["ui_info"]["help_text_id"] = "$2002921"
GameData["ui_info"]["help_text_list"]["text_01"] = "$2002922"
GameData["ui_info"]["help_text_list"]["text_02"] = "$2002923"
GameData["ui_info"]["help_text_list"]["text_03"] = "$2002924"
GameData["ui_info"]["help_text_list"]["text_04"] = "$2002925"
GameData["ui_info"]["help_text_list"]["text_05"] = "$2002926"
GameData["ui_info"]["help_text_list"]["text_06"] = "$2002927"
GameData["ui_info"]["help_text_list"]["text_07"] = "$2002928"
GameData["ui_info"]["help_text_list"]["text_08"] = "$2002929"