"DOTAAbilities"
{
    "Version"       "1"

	//=================================================================================================================
	// Spectre: Spectral Dagger
	//=================================================================================================================
	"spectre_spectral_dagger"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_Spectre.DaggerCast"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"1800"
		"AbilityCastPoint"				"0.3"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"100 110 120 130"

		// Stats
		//-------------------------------------------------------------------------------------------------------------
		"AbilityModifierSupportValue"	"0.0"	// Modifier has no support value

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"damage"				
				{
					"value"			"80 120 160 200"
					"special_bonus_unique_spectre_6" "+80"
				}
				"bonus_movespeed"		
				{
					"value"			"14 16 18 20"
					"special_bonus_unique_spectre_3"  	"+15"
				}
				"dagger_path_duration"	"12.0"
				"hero_path_duration"	"7.0"
				"buff_persistence"		"4.0"
				"dagger_radius"			
				{
					"value"			"125"
					"affected_by_aoe_increase"	"1"
				}
				"path_radius"			
				{
					"value"	"175"
					"affected_by_aoe_increase"	"1"
				}
				"vision_radius"			
				{
					"value"			"200"
					"affected_by_aoe_increase"	"1"
				}
				"speed"					"800"
				"dagger_grace_period"	"1.0"
				"applies_desolate"
				{
					"value"				"0"					
				}
				"AbilityCooldown"
				{
					"value"				"22 20 18 16"
					"special_bonus_unique_spectre" "-3"
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}

	//=================================================================================================================
	// Spectre: Desolate
	//=================================================================================================================
	"spectre_desolate"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_FORCE_NO_INNATE_UI | DOTA_ABILITY_BEHAVIOR_HIDDEN"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PURE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"AbilitySound"					"Hero_Spectre.Desolate"
		"IsBreakable"					"1"
		"Innate"						"1"
		"MaxLevel"						"1"
	

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{

			"bonus_damage"
			{
				"value"									"23"
				"hero_levelup"							"+2"
				"special_bonus_unique_spectre_2"		"+12"
			}
			"radius"						"350"
			
			"illusion_damage_outgoing"
			{
				"special_bonus_unique_spectre_4"	"+15"	//Note: This is adjusting all outgoing illusion damage that have the Desolate ability 
	
			}

			
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Spectre: Dispersion
	//=================================================================================================================
	"spectre_dispersion"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
        "HasShardUpgrade"				"1"
		"IsBreakable"					"1"


		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"damage_reflection_pct"
			{
				"value"		"9 12 15 18"
				"special_bonus_unique_spectre_5"		"+4"
			}
			"min_radius"			
			{
				"value"		"350"
				"affected_by_aoe_increase"	"1"
			}
			"max_radius"			
			{
				"value"		"700"
				"affected_by_aoe_increase"	"1"
			}
				"activation_cooldown"
			{
				"value"				"0"
				"special_bonus_shard"				"+25"
			}
			"activation_manacost"
			{
				"value"				"0"
				"special_bonus_shard"				"+50"
			}
			"activation_bonus_pct"
			{
				"value"				"0"
				"special_bonus_shard"				"+50"
			}
			"activation_duration"
			{
				"value"				"0"
				"special_bonus_shard"				"+5"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}

	//=================================================================================================================
	// Spectre: Haunt
	//=================================================================================================================
	"spectre_haunt"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"FightRecapLevel"				"2"
		"AbilitySound"					"Hero_Spectre.Haunt"
		"HasScepterUpgrade"				"1"

		"AbilityDraftExtraAbilities"
		{
			"spectre_reality"	""
		}

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.3"
		"AbilityCastAnimation"			"ACT_DOTA_OVERRIDE_ABILITY_4"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"125 175 225"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"AbilityCooldown"				
			{
				"value"											"160 150 140"
				"special_bonus_scepter"							"-20"
			}
			"scepter_cooldown_reduction_tooltip"				"20"
			"duration"					"6.0"
			"illusion_damage_outgoing"
			{
				"value"					"-70 -50 -30"
			}
			"tooltip_outgoing"			
			{
				"value"				"30 50 70"
			}
			"illusion_damage_incoming"	"100 100 100"
			"tooltip_illusion_total_damage_incoming"
			{
				"value"					"200 200 200"

				// "damage" in attribute name but it's a percentage-based effect
				"CalculateSpellDamageTooltip"	"0"
				"DamageTypeTooltip"	"DAMAGE_TYPE_NONE"
			}
			"attack_delay"				"0"
			"destroy_if_target_is_dead"
			{
				"value"										"1"
				"special_bonus_facet_spectre_twist_the_knife"	"=0"
			}

			"fear_duration"		
			{
				"value"			"0"
				"special_bonus_scepter"		"=2.0"
			}
			"fear_aoe"
			{
				"value"			"0"
				"special_bonus_scepter"		"=400"
			}
			"fear_movespeed_slow"
			{
				"value"			"0"
				"special_bonus_scepter"		"50"
			}
		}
	}

	//=================================================================================================================
	// Spectre: Shadow Step
	//=================================================================================================================
	"spectre_shadow_step"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_AOE"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"AbilityUnitTargetFlags"		"DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"FightRecapLevel"				"2"
		"LinkedAbility"					"spectre_reality"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.3"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"

		//-------------------------------------------------------------------------------------------------------------
		
		"AbilityCastPoint"				"0.3"
		"AbilityCooldown"				"24 21 18 15"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"60 65 70 75"


		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"AbilityCastRange"				
			{
				"value"					"1000"
			}
			"duration"					
			{
				"value"							"3.5 4.0 4.5 5.0"
				"special_bonus_unique_spectre_shadow_step_duration"	"+1.0"
			}	
			"illusion_damage_incoming"	"75"
			"tooltip_illusion_total_damage_incoming"
			{
				"value"					"175"

				// "damage" in attribute name but it's a percentage-based effect
				"CalculateSpellDamageTooltip"	"0"
				"DamageTypeTooltip"	"DAMAGE_TYPE_NONE"
			}
			"illusion_outgoing_damage"	
			{
				"value" 							"35 40 45 50"
				"CalculateSpellDamageTooltip"		"0"
				"DamageTypeTooltip"					"DAMAGE_TYPE_PHYSICAL"
			}
			
			"move_speed"						"900"
			"bonus_move_speed_illusion_pct"		"35"
		}
	}

	//=================================================================================================================
	// Spectre: Reality
	//=================================================================================================================
	"spectre_reality"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE | DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES"
		"AbilityType"					"ABILITY_TYPE_BASIC"
		"MaxLevel"						"1"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_5"
		
		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"25"

		// Time		
		//-------------------------------------------------------------------------------------------------------------

		"AbilityValues"
		{
			"cast_dagger_on_target"
			{
				"value"						"0"
				"special_bonus_shard"		"0"
			}
			"may_target_shadow_step"
			{
				"value"						"1"
			}
			"AbilityCooldown"
			{
				"value"										"1.5"
			}
			"travel_time"					"0.2"
			"min_speed"						"1500"
		}
	}

	//=================================================================================================================
	// Spectre: Innate No Collision
	//=================================================================================================================
	"spectre_spectral"
	{
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_SKIP_FOR_KEYBINDS"

		"MaxLevel"						"1"
		"Innate"						"1"

		"AbilityValues"
		{	
			"radius"					"40"
			"linger_time"				"0.3"
			"speed_bonus"	
			{
				"value"		"40"
				"hero_levelup"	"10"
			}
		}
	}
}
