"DOTAAbilities"
{
    "Version"       "1"

	//=================================================================================================================
	// Skywrath Mage: Arcane Bolt
	//=================================================================================================================
	"skywrath_mage_arcane_bolt"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_SkywrathMage.ArcaneBolt.Cast"
		"HasShardUpgrade"               "1"
		
		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.1 0.1 0.1 0.1"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"5.0 4.0 3.0 2.0"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"70"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"AbilityCastRange"
				{
					"value"								"875"
					"special_bonus_unique_skywrath_6"	"+125"
				}
				"pierce_spell_immunity"
				{
					"special_bonus_unique_skywrath_6"	"1"
				}
				"bolt_speed"			"500"
				"bolt_vision"			"325"
				"bolt_damage"			"60 90 120 150"
				"int_multiplier"		
				{
					"value"		"1.5"
					"special_bonus_unique_skywrath_2"	"+1.5"
					"CalculateSpellDamageTooltip"	"1"
				}
				"vision_duration"		"3.34"
				"extra_bolt_search_radius"
				{
					"value"				"500"
					"affected_by_aoe_increase"	"1"
				}
				
				"total_bolt_count"
				{
					"value"				"1"
					"special_bonus_shard"		"+2"
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}

	//=================================================================================================================
	// Skywrath Mage: Concussive Shot
	//=================================================================================================================
	"skywrath_mage_concussive_shot"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_SkywrathMage.ConcussiveShot.Cast"
		"HasScepterUpgrade"			"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.0 0.0 0.0 0.0"
		"AbilityCastRange"				"1600"
		"AbilityCastGestureSlot"		"DEFAULT"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"15 14 13 12"


		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"80 85 90 95" 


		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{ 
				"launch_radius"		
				{
					"value"	"1600"
					"affected_by_aoe_increase"	"1"
				}
				"launch_global"
				{
					"special_bonus_unique_skywrath_4"	"1"
				}
				"slow_radius"		
				{
					"value"			"250"
					"affected_by_aoe_increase"	"1"
				}
				"speed"				"800 800 800 800"
				"damage"			"120 180 240 300"
				"slow_duration"		"4.0"
				"movement_speed_pct"	
				{
					"value"				"40"
					"special_bonus_unique_skywrath_concussive_shot_slow"		"+20"
				}
				"shot_vision"
				{
					"value"			"300"
					"affected_by_aoe_increase"	"1"
				}
				"vision_duration"		"3.34"
				"scepter_radius"		
				{
					"special_bonus_scepter"	"500"
					"affected_by_aoe_increase"	"1"
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Skywrath Mage: Ancient Seal
	//=================================================================================================================
	"skywrath_mage_ancient_seal"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilitySound"					"Hero_SkywrathMage.AncientSeal.Target"
		"HasScepterUpgrade"			"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"700 750 800 850"
		"AbilityCastPoint"				"0.1 0.1 0.1 0.1"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"80 90 100 110"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"resist_debuff"			
				{
					"value"		"-20 -25 -30 -35"
					"special_bonus_unique_skywrath_3"	"-10"
					"DamageTypeTooltip"		"DAMAGE_TYPE_MAGICAL"
				}
				"seal_duration"			"3.0 4.0 5.0 6.0"
				"scepter_radius"		
				{
					"special_bonus_scepter"		"500"
					"affected_by_aoe_increase"	"1"
				}
				"AbilityCooldown"
				{
					"value"								"14"
					"special_bonus_unique_skywrath"		"-6"
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}

	//=================================================================================================================
	// Skywrath Mage: Mystic Flare
	//=================================================================================================================
	"skywrath_mage_mystic_flare"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_AOE | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"FightRecapLevel"				"2"

		"HasScepterUpgrade"			"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"1200"
		"AbilityCastPoint"				"0.1 0.1 0.1 0.1"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"
		"AbilityCastGestureSlot"		"DEFAULT"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"55 35 15"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"300 550 800"
			
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"radius"
				{
					"value"	"170"
					"affected_by_aoe_increase"	"1"
				}
				"duration"				"2.0"
				"damage"				
				{
					"value"			"800 1200 1600"
				"special_bonus_unique_skywrath_5" "+400"
				}
				"damage_interval"		"0.1"
				"scepter_radius"		
				{
					"special_bonus_scepter"		"500"
					"affected_by_aoe_increase"	"1"
				}
		}
	}

	//=================================================================================================================
	// Skywrath Mage: Shield of the Scion
	//=================================================================================================================
	"skywrath_mage_shield_of_the_scion"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_FORCE_NO_INNATE_UI"
		"MaxLevel"						"1"
		"IsBreakable"					"1"
		"Innate"						"1"


		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"stack_duration"			"25"
			"bonus_intelligence"		"0"
			"damage_barrier"
			{
				"value"					"13.5"
				"hero_levelup"			"+1.5"
				"DamageTypeTooltip"		"DAMAGE_TYPE_MAGICAL"
			}
			"barrier_duration"			"12"
		}
	}

	//=================================================================================================================
	// Skywrath Mage: Staff of the Scion
	//=================================================================================================================
	"skywrath_mage_staff_of_the_scion"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"MaxLevel"						"1"
		"IsBreakable"					"1"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			// can tweak not refreshing casted ability, can tweak not refreshing ultimate
			"cooldown_reduction"		"0.1"
		}
	}

	//=================================================================================================================
	// Ability: Skywrath Mage: Ruin And Restoration
	//=================================================================================================================
	"skywrath_mage_ruin_and_restoration"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"MaxLevel"						"4"
		"DependentOnAbility"			"skywrath_mage_mystic_flare"
		"IsBreakable"					"1"

		"AbilityValues"
		{
			"spell_lifesteal"	
			{
				"value"		"25 30 35 40"
				"special_bonus_unique_skywrath_arcane_bolt_lifesteal"			"+20"
			}
		}
	}
}
