"DOTAAbilities"
{
    "Version"       "1"
	
	//=================================================================================================================
	// Phantom Assassin: Fan of Knives ( shard ability )
	//=================================================================================================================
	"phantom_assassin_fan_of_knives"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES | DOTA_UNIT_TARGET_FLAG_MAGIC_IMMUNE_ENEMIES"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"SpellDispellableType"			"SPELL_DISPELLABLE_NO"
		"MaxLevel"						"1"
		"FightRecapLevel"				"1"
		"IsGrantedByScepter"			"1"
		"AbilitySound"					"Ability.Torrent"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.15"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"14"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"80"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"pct_health_damage_initial"			"30"
				"pct_health_damage"			"2"
				"degen"			"-50"
				"duration"		"4"
				"radius"			
				{
					"value"			"550"
					"affected_by_aoe_increase"	"1"
				}
				"projectile_speed"			"1000"
				"max_damage_initial"	"-1"
		}
	}

	//=================================================================================================================
	// Ability: Phantom Assassin's Stifling Dagger
	//=================================================================================================================
	"phantom_assassin_stifling_dagger"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_CREEP"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"	
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilitySound"					"Hero_PhantomAssassin.Dagger.Cast"
       

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"700 850 1000 1150"
		"AbilityCastPoint"				"0.3 0.3 0.3 0.3"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
	
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"30"

		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"AbilityCooldown"				
			{
				"value"				"6"
				"special_bonus_unique_phantom_assassin_7"	"-2.0"

			}
			"move_slow"					"-50"
			"dagger_speed"			"1200"
			"duration"			"2.1 2.4 2.7 3"
			"base_damage"			"65 70 75 80"
			"attack_factor"
			{
				"value"				"-70 -55 -40 -25"
				"special_bonus_unique_phantom_assassin_5"	"+15"
			}

			"attack_factor_tooltip"	
			{
				"value"				"30 45 60 75"
				"special_bonus_unique_phantom_assassin_5"	"+15"
				"DamageTypeTooltip"			"DAMAGE_TYPE_PHYSICAL"
			}

			"dagger_recast_time"
			{
				"special_bonus_shard"	"0"
			}

			"dagger_secondary_reduce"
			{
				"special_bonus_shard" "0"
			}

			"extra_daggers"
			{
				"special_bonus_unique_phantom_assassin"				"2"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}
	
	//=================================================================================================================
	// Ability: Phantom Assassin's Phantom Strike
	//=================================================================================================================
	"phantom_assassin_phantom_strike"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_CUSTOM"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_CUSTOM"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilitySound"					"Hero_PhantomAssassin.Strike.Start"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.25"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"0.1"
		"AbilityCharges"				"2"
		"AbilityChargeRestoreTime"		"21 18 15 12"
		
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"35 40 45 50"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"bonus_attack_speed"	
			{
				"value"													"80 120 160 200"
				"special_bonus_unique_phantom_assassin_strike_aspd"		"+60"
			}

			"duration"				
			{
				"value"											"3.0"
				"special_bonus_unique_phantom_assassin_4"		"+0.8"
			}
			"AbilityCastRange"
			{
				"value"											"650 750 850 950"
				"special_bonus_unique_phantom_assassin_6"		"+200"				
			}
			
			"creep_lifesteal_penalty"			"40"

		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}
	


	//=================================================================================================================
	// Ability: Phantom Assassin: Immaterial
	//=================================================================================================================
	"phantom_assassin_immaterial"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"MaxLevel"						"4"
		"IsBreakable"					"1"

		"AbilityValues"
		{
			"evasion"		
			{	
				"value"				"25 35 45 55"
				"special_bonus_unique_phantom_assassin_3"	"+20"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}


	//=================================================================================================================
	// Ability: Phantom Assassin's Blur
	//=================================================================================================================
	"phantom_assassin_blur"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"	
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_FRIENDLY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_NO"
		"Innate"						"1"
		"HasShardUpgrade" 		 	    "1"
		"MaxLevel"						"1"



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


		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"500"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.3"
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"50"
	
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			
			"duration"				"30"
			"radius"				"500"
			"fade_duration"			"0.8"
			"break_on_attack"							"0"
			"manacost_reduction_during_blur_pct"
			{
				"value"									"0"
			}
			"buff_duration_after_break"
			{
				"value"									"0"
			}
			"manacost_reduction_after_blur_pct"
			{
				"value"									"0"
			}
			"active_movespeed_bonus"
			{
				"value"								"9.5"
				"hero_levelup"						"+0.5"
			}
			"immediate_cast"
			{
				"special_bonus_shard"				"0"
			}
			"purge_on_cast"
			{
				"special_bonus_shard"				"0"
			}			
			"cooldown_refund_pct"
			{
				"special_bonus_shard"				"60"
			}
			"AbilityCooldown"				
			{
				"value"						"45"
				"special_bonus_shard"		"-10"
			}

		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}
	
	//=================================================================================================================
	// Ability: Phantom Coup de Grace
	//=================================================================================================================
	"phantom_assassin_coup_de_grace"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_YES"
		"AbilitySound"					"Hero_PhantomAssassin.CoupDeGrace"
		"IsBreakable"					"1"

		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"
		"AbilityDraftExtraAbilities"
		{
			"phantom_assassin_blur"				""
			"phantom_assassin_fan_of_knives"	"scepter"
		}

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"crit_chance"				
			{
				"value"			"17"
				"special_bonus_unique_phantom_assassin_2"	"+10"
				"special_bonus_facet_phantom_assassin_methodical"		"=0"
			}
			"dagger_crit_chance"
			{
				"value"			"34"
				"special_bonus_unique_phantom_assassin_2"	"+10"
				"special_bonus_facet_phantom_assassin_methodical"		"=0"
			}

			"crit_bonus"				
			{
				"value"													"200 325 450"
				"special_bonus_facet_phantom_assassin_methodical"		"+100"
			}
			"attacks_to_proc"
			{
				"special_bonus_facet_phantom_assassin_methodical"
				{
					"value"										"6"
					"special_bonus_unique_phantom_assassin_2"	"-1"
				}
			}
			"attacks_to_proc_creeps"
			{
				"special_bonus_facet_phantom_assassin_methodical"
				{
					"value"										"4"
					"special_bonus_unique_phantom_assassin_2"	"-1"
				}
			}
			"duration"				"6 8 10"
			"two_tooltip"
			{
				"special_bonus_facet_phantom_assassin_methodical"		"+2"
			}
		}
	}
}
