"DOTAAbilities"
{
    "Version"       "1"
	
	//=================================================================================================================
	// Dragon Knight: Fireball
	//=================================================================================================================
	"dragon_knight_fireball"
	{
		"MaxLevel"						"1"
		"AbilityType"					"ABILITY_TYPE_BASIC"
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_POINT | DOTA_ABILITY_BEHAVIOR_AOE | DOTA_ABILITY_BEHAVIOR_HIDDEN  | DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"SpellImmunityType"				"SPELL_IMMUNITY_ENEMIES_NO"
		"FightRecapLevel"				"1"
		"IsGrantedByShard"			"1"
		

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastPoint"				"0.2"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"20"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"80"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"radius"			
			{
				"value"		"275"
				"affected_by_aoe_increase"	"1"
			}
			"damage"			
			{
				"value"			"75"
				"CalculateSpellDamageTooltip" "1"
			}
			"duration"			"8.0"
			"burn_interval"			"0.5"
			"linger_duration"			"2"
			"dragon_form_cast_range"	"1400"
			"melee_cast_range"			"600"
			"physical_damage_type"
			{
				"value"			"0"
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"+1"
			}	
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_5"
	}	
	
	//=================================================================================================================
	// Dragon Knight: Breathe Fire
	//=================================================================================================================
	"dragon_knight_breathe_fire"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_DIRECTIONAL | DOTA_ABILITY_BEHAVIOR_POINT | 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"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_MAGICAL"	
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_DragonKnight.BreathFire"

		// Casting
		//-------------------------------------------------------------------------------------------------------------

		"AbilityCastPoint"				"0.2"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		
		
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"90 95 100 105"
		
		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"start_radius"			
			{
				"value"		"150 150 150 150"
				"affected_by_aoe_increase"	"1"
			}
			"end_radius"			
			{
				"value"	"250 250 250 250"
				"affected_by_aoe_increase"	"1"
			}
			"range"					"750"
			"AbilityCastRange"		
			{
				"value"						"600"	
				"special_bonus_unique_dragon_knight_9"				"+60%"
			}

			"AbilityCooldown"
			{
				"value"							"14 13 12 11"
				"special_bonus_unique_dragon_knight_3"		"-2"
			}			
			"speed"					"1050"		
			"damage"			
			{
				"value"			"80 160 240 320"
				"special_bonus_unique_dragon_knight_9"				"+60%"
				"CalculateSpellDamageTooltip" "1"
			}
			"reduction"
			{
				"value"				"-30"

			}
			"dragon_form_bonus_pct"
			{
				"value"		"0"

			}
			"duration"				"11"
			"physical_damage_type"
			{
				"value"			"0"
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"+1"
			}			
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_1"
	}
	
	//=================================================================================================================
	// Dragon Knight: Dragon Tail
	//=================================================================================================================
	"dragon_knight_dragon_tail"
	{
		// 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"
		"SpellDispellableType"			"SPELL_DISPELLABLE_YES_STRONG"
		"FightRecapLevel"				"1"
		"AbilitySound"					"Hero_DragonKnight.DragonTail.Target"

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastRange"				"150"
		"AbilityCastPoint"				"0.0 0.0 0.0 0.0"
		
		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"16 14 12 10"
	
		// Damage.
		//-------------------------------------------------------------------------------------------------------------
		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"70 80 90 100"
		
		// Special	
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"stun_duration"			
			{
				"value"				"1.8 2.0 2.2 2.4"
				"special_bonus_unique_dragon_knight_2"		"+0.4"
			}
			"damage"					"60 90 120 150"
			"damage_pct"				"0"
			"dragon_cast_range"			"450"
			"projectile_speed"			"1600"
			"dragon_aoe"
			{
				"special_bonus_facet_dragon_knight_fire_dragon"		"100"
				"affected_by_aoe_increase"	"1"
			}
			"physical_damage_type"
			{
				"value"			"0"
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"+1"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_2"
	}

	//=================================================================================================================
	// Dragon Knight: Dragon Blood
	//=================================================================================================================
	"dragon_knight_dragon_blood"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE"
		"IsBreakable"					"1"
		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			// GREEN DRAGON
			"is_green_dragon"
			{
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"1"
			}
			"corrosive_breath_damage"
			{
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"5 10 15 20"
			}
			"corrosive_breath_duration"
			{
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"3"
				
			}
			"corrosive_breath_armor_reduction"
			{
				"special_bonus_facet_dragon_knight_corrosive_dragon"		"0 1 2 3"
			}

			// RED DRAGON
			"is_red_dragon"
			{
				"special_bonus_facet_dragon_knight_fire_dragon"		"1"
			}
			"magic_damage"
			{
				"special_bonus_facet_dragon_knight_fire_dragon"		"6 12 18 24"
			}
			"bonus_aoe"
			{
				"special_bonus_facet_dragon_knight_fire_dragon"		"25 50 75 100"
			}


			// BLUE DRAGON
			"is_blue_dragon"
			{
				"special_bonus_facet_dragon_knight_frost_dragon"		"1"
			}
			"frost_bonus_movement_speed"	
			{
				"special_bonus_facet_dragon_knight_frost_dragon"		"-14 -21 -28 -35"
			}
			"frost_bonus_attack_speed"		
			{
				"special_bonus_facet_dragon_knight_frost_dragon"		"-14 -21 -28 -35"
			}
			"frost_duration"
			{
				"special_bonus_facet_dragon_knight_frost_dragon"		"3.0"
			}
			"frost_healing_reduction"		
			{
				"special_bonus_facet_dragon_knight_frost_dragon"		"14 21 28 35"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}
	


	
	//=================================================================================================================
	// Dragon Knight: Innate Vigor
	//=================================================================================================================
	"dragon_knight_inherited_vigor"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_PASSIVE |  DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES | DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE"
		"MaxLevel"						"1"
		"Innate"						"1"
		"IsBreakable"					"1"

		
		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
			"base_health_regen"
			{
				"value"							"2"
				"special_bonus_unique_dragon_knight" "+12"
				"dynamic_value"					"true"
			}
			"base_armor"
			{
				"value"							"2"
				"special_bonus_unique_dragon_knight" "+12"
				"dynamic_value"					"true"
			}
			"level_mult"					"0.5"
			"regen_and_armor_multiplier_during_dragon_form"
			{
				"value"							"1.5"
			}
		}
		"AbilityCastAnimation"		"ACT_DOTA_CAST_ABILITY_3"
	}

	//=================================================================================================================
	// Dragon Knight: Elder Dragon Form
	//=================================================================================================================
	"dragon_knight_elder_dragon_form"
	{
		// General
		//-------------------------------------------------------------------------------------------------------------
		"AbilityBehavior"				"DOTA_ABILITY_BEHAVIOR_NO_TARGET"
		"AbilityType"					"ABILITY_TYPE_ULTIMATE"
		"AbilityUnitDamageType"			"DAMAGE_TYPE_PHYSICAL"	
		"SpellDispellableType"			"SPELL_DISPELLABLE_NO"
		"FightRecapLevel"				"2"
		"AbilitySound"					"Hero_DragonKnight.ElderDragonForm"
        "HasScepterUpgrade"             "1"
		"AbilityDraftExtraAbilities"
		{
			"dragon_knight_fireball" "shard"
		}

		// Casting
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCastAnimation"			"ACT_INVALID"

		// Time		
		//-------------------------------------------------------------------------------------------------------------
		"AbilityCooldown"				"100"

		// Cost
		//-------------------------------------------------------------------------------------------------------------
		"AbilityManaCost"				"50 50 50"		

		// Stats
		//-------------------------------------------------------------------------------------------------------------
		"AbilityModifierSupportValue"	"0.35"	// Attacks are primarily about the damage

		// Special
		//-------------------------------------------------------------------------------------------------------------
		"AbilityValues"
		{
				"duration"
				{
					"value"						"60"
				}
				"bonus_movement_speed"		"20"
				"bonus_attack_range"		
				{
					"value"			"350 350 350 350"
					"special_bonus_unique_dragon_knight_7"		"+150"
				}
				"bonus_attack_damage"		"20 50 80 110"
				"magic_resistance"		
				{
					"value"					"0"
				}
				"model_scale"			
				{
					"value"					"10 15 20"
					"special_bonus_scepter"		"+10"
				}	
				"is_green_dragon"
				{
					"value"							"0"
					"special_bonus_facet_dragon_knight_corrosive_dragon"		"+1"
				}
				"is_red_dragon"
				{
					"value"							"0"
					"special_bonus_facet_dragon_knight_fire_dragon"		"+1"
				}
				"is_blue_dragon"
				{
					"value"							"0"
					"special_bonus_facet_dragon_knight_frost_dragon"		"+1"
				}
				"ranged_splash_radius"				
				{
					"value"							"275"
					"affected_by_aoe_increase"		"1"
				}
				"ranged_splash_damage_pct"
				{
					"value"			"30 40 50 60"
				}
				"frost_breath_effect_bonus"
				{
					"special_bonus_facet_dragon_knight_frost_dragon"
					{
						"value"											"=20 =30 =40 =50"
						"special_bonus_unique_dragon_knight_8"			"+50"
					}
				}
				"corrosive_breath_effect_bonus"
				{
					"special_bonus_facet_dragon_knight_corrosive_dragon"
					{
						"value"											"=20 =30 =40 =50"
						"special_bonus_unique_dragon_knight_8"			"+50"
					}
				}
				"fire_breath_effect_bonus"
				{
					"special_bonus_facet_dragon_knight_fire_dragon"
					{
						"value"											"=20 =30 =40 =50"
						"special_bonus_unique_dragon_knight_8"			"+50"
					}
				}
				"wyrms_wrath_bonus_tooltip"
				{
					"value"													"20 30 40 50"
					"special_bonus_unique_dragon_knight_8"					"+50"
				}
				"health_bar_offset"
				{
					"value"													"300"
				}
		}
	}
}
