"DOTAAbilities"
{
    "Version"       "1"

	//=================================================================================================================
	// Legion Commander: Overwhelming Odds
	//=================================================================================================================
	"legion_commander_overwhelming_odds"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_AOE | DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_LegionCommander.Overwhelming.Location"
		"HasShardUpgrade"				"1"
		// Time		
		//-------------------------------------------------------------------------------------------------------------

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"0"
		"AbilityCastPoint"				"0.3 0.3 0.3 0.3"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"90 105 120 135"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{			
				"damage"				"40 70 100 130"
				"damage_per_unit"		"14 16 18 20"
				"damage_per_hero"		
				{
					"value"				"40 70 100 130"
					"special_bonus_unique_legion_commander_4"	"+35"
				}
				"bonus_attack_speed_creeps"		"0"
				"bonus_attack_speed"		"50 75 100 125"
				"duration"				"6.0"
				"radius"				
				{
					"value"		"600"
					"affected_by_aoe_increase"	"1"
				}
				"armor_per_creep"	
				{
					"special_bonus_shard"	"1"
				}
				"armor_per_hero"	
				{
					"special_bonus_shard"	"5"
				}
				"shard_duration"	
				{	
					"special_bonus_shard"	"8"
				}
				"AbilityCooldown"
				{
					"value"						"18"
					"special_bonus_unique_legion_commander_9"		"-2"
				}
				"duel_radius_bonus"
				{
					"special_bonus_shard"	"+100"
				}
				"shield_per_damage_pct"
				{
					"special_bonus_facet_legion_commander_stonehall_plate"	"+40"					
				}
				"shield_duration"
				{
					"special_bonus_facet_legion_commander_stonehall_plate"	"+6"					
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}

	//=================================================================================================================
	// Legion Commander: Press the Attack
	//=================================================================================================================
	"legion_commander_press_the_attack"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_FRIENDLY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
		"AbilityUnitTargetFlags"		"DOTA_UNIT_TARGET_FLAG_NOT_MAGIC_IMMUNE_ALLIES"
		"SpellImmunityType"				"SPELL_IMMUNITY_ALLIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilitySound"					"Hero_LegionCommander.PressTheAttack"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"700"
		"AbilityCastPoint"				"0.2"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"16.0 15.0 14.0 13.0"
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"90"

		// Stats
		//-------------------------------------------------------------------------------------------------------------
		"AbilityModifierSupportValue"	"3.0"	// Value much higher than cost.


		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"				
			{
				"value"				"5.0"
			}
			"move_speed"
			{
				"value"			"13 16 19 22"
				"special_bonus_unique_legion_commander_pta_movespeed"	"+12"
			}
			"hp_regen"
			{
				"value"				"24 36 48 60"
				"special_bonus_unique_legion_commander_6"	"+40"
			}
			"radius"
			{
				"value"						"0"
				"special_bonus_unique_legion_commander_5"			"+300"
				"affected_by_aoe_increase"							"1"
			}
			"immunity_duration"
			{
				"special_bonus_unique_legion_commander_8"			"1.5"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Legion Commander: Moment of Courage
	//=================================================================================================================
	"legion_commander_moment_of_courage"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"AbilitySound"					"Hero_LegionCommander.Courage"
		"IsBreakable"					"1"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"1.7 1.4 1.1 0.8"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"trigger_chance"			
			{
				"value"				"25"
				"special_bonus_unique_legion_commander_3" "+8"
			}
			"buff_duration"				"1.0"
			"hp_leech_percent"			
			{
				"value"		"55 65 75 85"
				"special_bonus_unique_legion_commander_7" "+75"
			}
			
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}

	//=================================================================================================================
	// Legion Commander: Duel
	//=================================================================================================================
	"legion_commander_duel"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"AbilityUnitTargetFlags"		"DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES | DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"SpellDispellableType"			"SPELL_DISPELLABLE_NO"
		"FightRecapLevel"				"2"
		"AbilitySound"					"Hero_LegionCommander.Duel"
		"HasShardUpgrade"			"1"
		"HasScepterUpgrade"			"1"


		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.3 0.3 0.3 0.3"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"75 75 75"

		// Stats
		//-------------------------------------------------------------------------------------------------------------
		"AbilityModifierSupportValue"	"3.0"	// Value much higher than cost.

		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"				
			{
				"value"				"4.0 4.5 5.0"		
				"special_bonus_scepter"		"+1.0"
			}
			"AbilityCastRange"		
			{
				"value"			"200"
			}		
			"reward_damage"			
			{
				"value"			"10 20 30"
				"special_bonus_shard"	"+5"
			}
			"assist_reward_damage"
			{
				"special_bonus_facet_legion_commander_spoils_of_war"	"5 10 15"				
			}
			"assist_pta_duration_pct"
			{
				"special_bonus_facet_legion_commander_spoils_of_war"	"25"
			}
			"debuff_immunity"
			{
				"special_bonus_scepter"		"+1"
			}
			"damage_reduction_pct"			
			{
				"value"				"0"
			}
			"AbilityCooldown"	
			{
				"value"				"60 55 50"
			}
			"shard_duel_damage_bonus"
			{
				"special_bonus_shard"	"5"
			}

		}
	}

	//=================================================================================================================
	// Ability: Legion Commander: Outfight Them!
	//=================================================================================================================
	"legion_commander_outfight_them"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"MaxLevel"						"4"
		"Innate"						"1"
		"DependentOnAbility"			"legion_commander_duel"
		"IsBreakable"					"1"

		"AbilityValues"
		{
			"heal_bonus_pct"	
			{
				"value"						"30 40 50 60"
			}
			"duration"				"4.0"
		}
	}
}
