"DOTAAbilities"
{
    "Version"       "1"

	//=================================================================================================================
	// Alchemist: Berserk Potion (Shard)
	//=================================================================================================================
	"alchemist_berserk_potion"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_FRIENDLY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
		"SpellImmunityType"				"SPELL_IMMUNITY_ALLIES_YES"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES"
		"MaxLevel"						"1"
		"FightRecapLevel"				"1"
		"IsGrantedByShard"  			"1"
		"HasShardUpgrade"				"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"800"
		"AbilityCastPoint"				"0.2"
		"AbilityCastAnimation"			"ACT_DOTA_CAST_ABILITY_4"
		
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"35"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"100"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"		"15"
			"attack_speed"		"50"
			"hp_regen"		"40"
			"projectile_speed"			"900"
			"move_speed"			"30"
			"chemical_rage_cooldown_reduction_pct"
			{
				"value"					"0"
			}

		}
	}

	//=================================================================================================================
	// Alchemist: Acid Spray
	//=================================================================================================================
	"alchemist_acid_spray"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_AOE"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.1"
		"AbilityCastRange"				"900"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"21"
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"120"
		
		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"radius"				
			{
				"value"		"350 400 450 500"
				"affected_by_aoe_increase"	"1"
			}
			"duration"				"15"
			"damage"
			{
				"value"			"25 30 35 40"
				"CalculateSpellDamageTooltip" "1"
			}
			"armor_reduction"		
			{
				"value"						"3 4 5 6"
				"special_bonus_unique_alchemist_5"		"+1"
			}
			"armor_allies"	
			{
				"value"					"0"
				"special_bonus_unique_alchemist_3"	"+1"
			}
			"tick_rate"				"1.0"
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}

	//=================================================================================================================
	// Alchemist: Unstable Concoction
	//=================================================================================================================
	"alchemist_unstable_concoction"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET | DOTA_ABILITY_BEHAVIOR_IMMEDIATE"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES_STRONG"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_Alchemist.UnstableConcoction.Fuse"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"775" // for visualization on hover
		"AbilityCastPoint"				"0.0"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"17"
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"100"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"brew_time"					"5.0"
			"brew_explosion"			"5.5"
			"min_stun"					"0.25"
			"max_stun"					"1.7 2.2 2.7 3.2"
			"min_damage"				"0"
			"max_damage"				
			{ 
				"value"					"150 220 290 360"
				"special_bonus_unique_alchemist_2"		"+400"
			}

			"radius"
			{
				"value"					"250"
				"special_bonus_unique_alchemist"	"+150"
				"affected_by_aoe_increase"	"1"
			}
			"move_speed"
			{
				"value"					"4 8 12 16"
				"display_type"			"kBuffPercentage"
			}
			"chemical_rage_cooldown_reduction_pct"
			{
				"value"					"0"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Alchemist: Unstable Concoction Throw
	//=================================================================================================================
	"alchemist_unstable_concoction_throw"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | DOTA_ABILITY_BEHAVIOR_AOE | DOTA_ABILITY_BEHAVIOR_HIDDEN"
		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_ENEMY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO"
		"AbilityUnitTargetFlags"		"DOTA_UNIT_TARGET_FLAG_NOT_CREEP_HERO"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		
		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"775"
		"AbilityCastPoint"				"0.2"
  		"AbilityCastAnimation"			"ACT_INVALID"

		// Stats
		//-------------------------------------------------------------------------------------------------------------
		"AbilityModifierSupportBonus"	"120"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"brew_time"					"5.0"
			"min_stun"					"0.25"
			"max_stun"					"1.75 2.25 2.75 3.25"
			"min_damage"				"0"
			"max_damage"				
			{ 
				"value"					"150 220 290 360"
				"special_bonus_unique_alchemist_2"		"+400"
			}
			"projectile_speed"			"900"
			"midair_explosion_radius"
			{
				"value"					"250"
				"special_bonus_unique_alchemist"	"+125"
				"affected_by_aoe_increase"	"1"
			}			
			"brew_explosion"			"7.0"
		}
	}

	//=================================================================================================================
	// Alchemist: Goblin's Greed
	//=================================================================================================================
	"alchemist_goblins_greed"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_HIDDEN | DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_FORCE_NO_INNATE_UI"

		"AbilityUnitTargetTeam"			"DOTA_UNIT_TARGET_TEAM_FRIENDLY"
		"AbilityUnitTargetType"			"DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_SELF"
		"MaxLevel"						"1"
		"Innate"						"1"
		"IsBreakable"					"1"
		"HasScepterUpgrade"			"1"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"0"
		"AbilityCastPoint"				"0.2"
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"


		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"				"40"
			
			"bonus_gold"		"2"			
			"bonus_gold_tooltip"			
			{
				"value"								"2"
				"special_bonus_scepter"		"+0"
				"dynamic_value"				"true"
			}
			
			"bonus_bonus_gold"		"2"
			"bonus_gold_per_scepter"		"3"
			"bounty_multiplier"		"2"
			"damage"
			{
				"special_bonus_unique_alchemist_7"	"+3"
			}

			"bonus_gold_cap"		"16"
			"bonus_gold_cap_tooltip"
			{
				"value"								"16"
				"special_bonus_scepter"				"+0"
				"dynamic_value"				"true"

			}

			"scepter_bonus_damage"
			{
				"value"						"15"
			}

			//tooltip doesn't always update properly when you give it away because of how special_bonus_scepter works; just keep a different tooltip value for this
			"scepter_bonus_damage_tooltip"
			{
				"special_bonus_scepter"		"+0"
				"dynamic_value"				"true"

			}

			"scepter_spell_amp"
			{
				"special_bonus_scepter"		"0"
			}
		//	"gpm_increase_per_stack"
		//	{
	//			"value"						"70"
	//		}

			//tooltip doesn't always update properly when you give it away because of how special_bonus_scepter works; just keep a different tooltip value for this
			//"gpm_increase_per_stack_tooltip"
			//{
			//		"special_bonus_scepter"		"+70"
			//}

		}
	}

	//=================================================================================================================
	// Alchemist: Chemical Rage
	//=================================================================================================================
	"alchemist_chemical_rage"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"SpellDispellableType"			"SPELL_DISPELLABLE_NO"
		"FightRecapLevel"				"2"
		"AbilitySound"					"Hero_Alchemist.ChemicalRage.Cast"

		"AbilityDraftExtraAbilities"
		{
			"alchemist_berserk_potion" "shard"
		}

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.0"
		"AbilityCastAnimation"			"ACT_INVALID"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"60.0"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"50 75 100"

		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"duration"				"30"
			"transformation_time"	"0.35"
			"base_attack_time"		
			{
				"value"		"1.2 1.1 1.0"
				"special_bonus_unique_alchemist_8"		"-0.1"

			}
			"bonus_health"			"0"
			"bonus_health_regen"
			{
				"value"	"50 85 120"
				"special_bonus_unique_alchemist_4"		"+50"
			}
			"bonus_mana_regen"		"0"
			"bonus_movespeed"
			{
				
				"value"		"20 30 40"
				"special_bonus_unique_alchemist_6"			"+50"
			}
		}
	}
	//=================================================================================================================
	// Alchemist: Corrosive Weaponry
	//=================================================================================================================
	"alchemist_corrosive_weaponry"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"AbilitySound"					"Hero_Meepo.Geostrike"
		"IsBreakable"					"1"

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{		
				"max_stacks"				"7 10 13 16"
				"debuff_duration"			"4.0"
				"slow_per_stack"			
				{
					"value"					"2.5 3 3.5 4"
					"display_type"			"kDebuffPercentage"
					"special_bonus_unique_alchemist_weaponry_power"	"+1"
				}
				"attack_dmg_per_stack"
				{
					"value"					"2.5 3 3.5 4"
					"display_type"			"kDebuffPercentage"
					"special_bonus_unique_alchemist_weaponry_power"	"+1"
				}
				"stacks_per_attack"			"2"
				"one_tooltip"				"1"

		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}
}
