"DOTAAbilities"
{
    "Version"       "1"
	//=================================================================================================================
	// Ability: Hoodwink: Hunter's Boomerang
	//=================================================================================================================
	"hoodwink_hunters_boomerang"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_BOTH"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_VengefulSpirit.MagicMissile"

		"MaxLevel"						"1"
		"IsGrantedByShard"				"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"1100"
		"AbilityCastPoint"				"0.2"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"18"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"125"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"speed"					"900"
				"radius"				
				{
					"value"		"150"
					"affected_by_aoe_increase"	"1"	
				}
				"damage"				"200"
				"mark_duration"			"6.0"
				"slow_pct"				"25"
				"spell_amp"				"20"
				"status_resistance"		"0"
				"spread"				
				{
					"value"		"400"
					"affected_by_aoe_increase"	"1"	
				}
				"min_throw_duration"			"0.5"
				"max_throw_duration"			"1.2"
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Hoodwink: Decoy
	//=================================================================================================================
	"hoodwink_decoy"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IMMEDIATE | DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"

		"IsGrantedByScepter"			"1"
		"MaxLevel"						"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"30.0"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"60"
		
		// Cast Range
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"0"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"					"6.0"
			"decoy_detonate_radius"		
			{
				"value"		"250"
				"affected_by_aoe_increase"	"1"	
			}
			"decoy_stun_duration"				"1.6"
			"images_do_damage_percent"	"100"
			"images_take_damage_percent"	"100"
			"projectile_speed"	"1200"
			"movement_speed"				"15"
			"sharpshooter_damage_pct"			"60"

		}
	}
	
	//=================================================================================================================
	// Hoodwink: Acorn Shot
	//=================================================================================================================
	"hoodwink_acorn_shot"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING | DOTA_ABILITY_BEHAVIOR_ALT_CASTABLE"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"	
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_CREEP"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"


		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"16 14 12 10"
		"AbilityCastRange"				"675 700 725 750"
		"AbilityCastPoint"				"0.2"
		"AbilityManaCost"				"70 80 90 100"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{		
				"bonus_range"			"100"
				"acorn_shot_damage"		
				{
					"value"		"45 90 135 180"
					"CalculateSpellDamageTooltip"	"0"
				}
				"base_damage_pct"		
				{
					"value"		"80"
					"CalculateSpellDamageTooltip"	"0"
				}
				"bounce_count"			
				{
					"value"			"2 3 4 5"
					"special_bonus_unique_hoodwink_acorn_shot_bounces" "+2"
				}
				"bounce_range"			
				{
					"value"		"525"
					"affected_by_aoe_increase"	"1"	
				}
				"debuff_duration"		"0.3"
				"slow"					"100"
				"bounce_delay"			"0.1"
				"projectile_speed"			"2200"
				"can_bounce_off_of_trees"
				{
					"value"									"0"
					"special_bonus_facet_hoodwink_treebounce_trickshot"	"+1"
				}
				"bounces_after_tree_bounce"
				{
					"value"									"0"
					"special_bonus_facet_hoodwink_treebounce_trickshot"	"+1"
				}
				"AbilityCharges"
				{
					"special_bonus_unique_hoodwink_acorn_shot_charges"	"2"
				}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}

	//=================================================================================================================
	// Hoodwink: Bushwhack
	//=================================================================================================================
	"hoodwink_bushwhack"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_AOE"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_CREEP"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES_STRONG"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"1100"
		"AbilityCastPoint"				"0.2"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_2"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"90 100 110 120"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"trap_radius"		
			{
				"value"		"265"
				"affected_by_aoe_increase"	"1"	
			}
			"debuff_duration"		"1.5 1.7 1.9 2.1"
			"projectile_speed"	"1300"
			"total_damage"
			{
				"value"							"90 180 270 360"
				"CalculateSpellDamageTooltip"	"1"
				"special_bonus_unique_hoodwink_bushwhack_damage" "+50"
			}
			"animation_rate"	"0.3"
			"visual_height"		"50"
			
			"AbilityCooldown"
			{
				"value"												"15 14 13 12"
				"special_bonus_unique_hoodwink_bushwhack_cooldown"	"-2"
			}
		}
	}

	//=================================================================================================================
	// Hoodwink: Scurry
	//=================================================================================================================
	"hoodwink_scurry"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IMMEDIATE"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.0"
		"AbilityCastRange"				"275"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"0.0"

		"AbilityChargeRestoreTime"		"30 24 18 12"
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"35"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"redirect_chance"			"0"
			"movement_speed_pct"		"20 25 30 35"
			"duration"
			{
				"value"						"3.5 4.0 4.5 5.0"
				"special_bonus_unique_hoodwink_scurry_duration" "+1"
			}
			"AbilityCharges"				
			{
				"value"											"2"
				"special_bonus_unique_hoodwink_scurry_charges"	"+1"		// NOTE: If changing this, change the charges added in OnAbilityUpgrade
			}
			"radius"						
			{
				"value"		"275"
				"affected_by_aoe_increase"	"1"	
			}
			"evasion_multiplier"		"2"
			
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}

	//=================================================================================================================
	// Hoodwink: Sharpshooter
	//=================================================================================================================
	"hoodwink_sharpshooter"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_Mirana.ArrowCast"
		"AbilityDraftExtraAbilities"
		{
			"hoodwink_decoy" "scepter"
			"hoodwink_hunters_boomerang" "shard"
		}
		"AbilityDraftUltShardAbility"		"hoodwink_hunters_boomerang"

		"HasScepterUpgrade"				"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"3000"
		"AbilityCastPoint"				"0.0"

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


		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"100 150 200"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"AbilityCooldown"
			{
				"value"									"45"
				"special_bonus_facet_hoodwink_hipshot"	"x0.5"
			}
			"arrow_speed"		
			{
				"value"			"2200"
				"special_bonus_scepter"		"+25%"

			}
			"arrow_width"		
			{
				"value"	"125"
				"affected_by_aoe_increase"	"1"	

			}
			"arrow_range"		"3000"
			"arrow_vision"		
			{
				"value"		"350"
				"affected_by_aoe_increase"	"1"	
			}
			"max_charge_time"
			{
				"value"									"3.0"
				"special_bonus_facet_hoodwink_hipshot"	"x0.75"
			}			
			"max_damage"
			{
				"value"				"600 975 1350"
				"special_bonus_unique_hoodwink_sharpshooter_damage"		"+400"
				"special_bonus_facet_hoodwink_hipshot"	"x0.75"
			}
			"recoil_distance"
			{
				"value"										 "350"
			}
			"recoil_height"				"75"
			"recoil_duration"			"0.4"
			"max_slow_debuff_duration"
			{
				"value"									"5.0"
				"special_bonus_facet_hoodwink_hipshot"	"x0.75"
			}
			"misfire_time"
			{
				"value"									"5.0"
				"special_bonus_facet_hoodwink_hipshot"	"x0.75"
			}
			"slow_move_pct"
			{
				"value"					"30 40 50"
				"special_bonus_scepter"	"+20"
			}
			"turn_rate"
			{
				"value"									"60"
				"special_bonus_facet_hoodwink_hipshot"	"x1.33"
			}
			"turn_rate_tooltip"
			{
				"special_bonus_facet_hoodwink_hipshot"	"33"
			}
			"vision_along_indicator"
			{
				"value"												"0"
				"special_bonus_unique_hoodwink_sharpshooter_vision"	"=1"
			}
			"vision_radius_buffer"
			{
				"value"												"0"
				"special_bonus_unique_hoodwink_sharpshooter_vision"	"+35"
			}
			"base_power"				"0.2"
			"quick_draw_tooltip_pct_cooldown_reduction"
			{
				"value"									"0"
				"special_bonus_facet_hoodwink_hipshot"	"50"	// TOOLTIP ONLY, special_bonus_facet_hoodwink_hipshot values should be set to ( 100 - value ) / 100
			}
			"quick_draw_tooltip_efficacy_pct"
			{
				"value"									"0"
				"special_bonus_facet_hoodwink_hipshot"	"25"	// TOOLTIP ONLY, special_bonus_facet_hoodwink_hipshot values should be set to ( 100 - value ) / 100
			}
			"pierce_debuff_immunity"
			{
				"special_bonus_unique_hoodwink_sharpshooter_pure_damage"	"1"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CHANNEL_ABILITY_6"
	}

	//=================================================================================================================
	// Hoodwink: Sharpshooter Release
	//=================================================================================================================
	"hoodwink_sharpshooter_release"	
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_IMMEDIATE | DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE | DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		
		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.0"
		"AbilityCastRange"				"999999"
 		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_7"
 		"MaxLevel"						"3"
 		"DependentOnAbility"			"hoodwink_sharpshooter"
	}

	//=================================================================================================================
	// Hoodwink: Mistwoods Wayfarer (Innate)
	//=================================================================================================================
	"hoodwink_mistwoods_wayfarer"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE | DOTA_ABILITY_BEHAVIOR_SKIP_FOR_KEYBINDS | DOTA_ABILITY_BEHAVIOR_INNATE_UI"		
		"Innate"						"1"
 		"MaxLevel"						"1"
		"IsBreakable"					"1"

 		"AbilityValues"
 		{
 			"radius"						
			{
				"value"		"275"
				"affected_by_aoe_increase"	"1"	
			}

			"redirect_chance"
			{
				"value"					"14"
				"hero_levelup"			"1"
			}
 		}
	}

	//=================================================================================================================
	// Hoodwink: Tomo'kan Tracker
	//=================================================================================================================
	"hoodwink_tomokan_tracker"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE | DOTA_ABILITY_BEHAVIOR_SKIP_FOR_KEYBINDS | DOTA_ABILITY_BEHAVIOR_INNATE_UI"
		"Innate"						"1"
 		"MaxLevel"						"1"
		"IsBreakable"					"1"

 		"AbilityValues"
 		{
 			"search_radius"				"1200"
 			"trail_history_duration"	
 			{
 				"value"					"15"
 				"hero_levelup"			"+0.5"
 			}		
 			"trail_duration"			"0.5"
 			"trail_interval"			"0.2"
 		}
	}

	//=================================================================================================================
	// Hoodwink: Forager
	//=================================================================================================================
	"hoodwink_forager"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_BOTH"
		"AbilityUnitTargetFlags"		"DOTA_UNIT_TARGET_FLAG_INVULNERABLE"
		"Innate"						"1"
 		"MaxLevel"						"1"
		"IsBreakable"					"1"
		
		
		"AbilityChannelTime"			"1"
		"HasSubAbility"					"1"
		"SubAbilityNames"				"item_hoodwink_health_acorn;item_hoodwink_agility_acorn;item_hoodwink_mana_acorn"
					
		
		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"AbilityCooldown"				
			{	
				"value" 			"88"
				"hero_levelup"		"-1"
			}
			"gold_amount"				
			{				
				"hero_levelup"			"+5"
			}
			"radius"					"1200"
			"tree_radius"				"250"
			"tree_creation_interval"	"5.0"
			"max_trees"					"3"
			"old_destroy_radius"		"2500"
		}
	}
}