var i = 0;
var t = 0;

var className = "Death Knight Talents";
var talentPath = "/info/basics/talents/";

tree[i] = "Blood"; i++;
tree[i] = "Frost"; i++;
tree[i] = "Unholy"; i++;

i = 0;

//rank
//horizontal position
//vertical position
//Blood talents
talent[i] = [0, "Butchery", 2, 1, 1]; i++;
talent[i] = [0, "Subversion", 3, 2, 1]; i++;
talent[i] = [0, "Blade Barrier", 5, 3, 1]; i++;
talent[i] = [0, "Bladed Armor", 5, 1, 2]; i++;
talent[i] = [0, "Scent of Blood", 3, 2, 2]; i++;
talent[i] = [0, "Two-Handed Weapon Specialization", 2, 3, 2]; i++;
talent[i] = [0, "Rune Tap", 1, 1, 3]; i++;
talent[i] = [0, "Dark Conviction", 5, 2, 3]; i++;
talent[i] = [0, "Death Rune Mastery", 3, 3, 3]; i++;
talent[i] = [0, "Improved Rune Tap", 3, 1, 4, [getTalentID("Rune Tap"),1]]; i++;
talent[i] = [0, "Spell Deflection", 3, 3, 4]; i++;
talent[i] = [0, "Vendetta", 3, 4, 4]; i++;
talent[i] = [0, "Bloody Strikes", 3, 1, 5]; i++;
talent[i] = [0, "Veteran of the Third War", 3, 3, 5]; i++;
talent[i] = [0, "Mark of Blood", 1, 4, 5]; i++;
talent[i] = [0, "Bloody Vengeance", 3, 2, 6, [getTalentID("Dark Conviction"),5]]; i++;
talent[i] = [0, "Abomination's Might", 2, 3, 6]; i++;
talent[i] = [0, "Bloodworms", 3, 1, 7]; i++;
talent[i] = [0, "Hysteria", 1, 2, 7]; i++;
talent[i] = [0, "Improved Blood Presence", 2, 3, 7]; i++; //UPDATED 3.1.0.9767 - OLD: Blood Aura
talent[i] = [0, "Improved Death Strike", 2, 1, 8]; i++; //UPDATED 3.1.0
talent[i] = [0, "Sudden Doom", 3, 2, 8]; i++;
talent[i] = [0, "Vampiric Blood", 1, 3, 8]; i++;
talent[i] = [0, "Will of the Necropolis", 3, 1, 9]; i++;
talent[i] = [0, "Heart Strike", 1, 2, 9]; i++;
talent[i] = [0, "Might of Mograine", 3, 3, 9]; i++;
talent[i] = [0, "Blood Gorged", 5, 2, 10]; i++;
talent[i] = [0, "Dancing Rune Weapon", 1, 2, 11]; i++;
treeStartStop[t] = i -1;
t++;

//Frost talents
talent[i] = [1, "Improved Icy Touch", 3, 1, 1]; i++;
talent[i] = [1, "Runic Power Mastery", 2, 2, 1]; i++; //UPDATED 3.1.0
talent[i] = [1, "Toughness", 5, 3, 1]; i++;
talent[i] = [1, "Icy Reach", 2, 2, 2]; i++;
talent[i] = [1, "Black Ice", 5, 3, 2]; i++;
talent[i] = [1, "Nerves of Cold Steel", 3, 4, 2]; i++;
talent[i] = [1, "Icy Talons", 5, 1, 3, [getTalentID("Improved Icy Touch"),3]]; i++;
talent[i] = [1, "Lichborne", 1, 2, 3]; i++;
talent[i] = [1, "Annihilation", 3, 3, 3]; i++;
talent[i] = [1, "Killing Machine", 5, 2, 4]; i++;
talent[i] = [1, "Chill of the Grave", 2, 3, 4]; i++;
talent[i] = [1, "Endless Winter", 2, 4, 4]; i++;
talent[i] = [1, "Frigid Dreadplate", 3, 2, 5]; i++;
talent[i] = [1, "Glacier Rot", 3, 3, 5]; i++;
talent[i] = [1, "Deathchill", 1, 4, 5]; i++;
talent[i] = [1, "Improved Icy Talons", 1, 1, 6, [getTalentID("Icy Talons"),5]]; i++;
talent[i] = [1, "Merciless Combat", 2, 2, 6]; i++
talent[i] = [1, "Rime", 3, 3, 6]; i++;
talent[i] = [1, "Chilblains", 3, 1, 7]; i++;
talent[i] = [1, "Hungering Cold", 1, 2, 7]; i++;
talent[i] = [1, "Improved Frost Presence", 2, 3, 7]; i++;
talent[i] = [1, "Blood of the North", 5, 2, 8]; i++;
talent[i] = [1, "Unbreakable Armor", 1, 3, 8]; i++;
talent[i] = [1, "Acclimation", 3, 1, 9]; i++;
talent[i] = [1, "Frost Strike", 1, 2, 9]; i++;
talent[i] = [1, "Guile of Gorefiend", 3, 3, 9]; i++;
talent[i] = [1, "Tundra Stalker", 5, 2, 10]; i++;
talent[i] = [1, "Howling Blast", 1, 2, 11]; i++;
treeStartStop[t] = i -1;
t++;

//Unholy talents
talent[i] = [2, "Vicious Strikes", 2, 1, 1]; i++;
talent[i] = [2, "Virulence", 3, 2, 1]; i++;
talent[i] = [2, "Anticipation", 5, 3, 1]; i++;
talent[i] = [2, "Epidemic", 2, 1, 2]; i++;
talent[i] = [2, "Morbidity", 3, 2, 2]; i++;
talent[i] = [2, "Unholy Command", 2, 3, 2]; i++;
talent[i] = [2, "Ravenous Dead", 3, 4, 2]; i++;
talent[i] = [2, "Outbreak", 3, 1, 3]; i++;
talent[i] = [2, "Necrosis", 5, 2, 3]; i++;
talent[i] = [2, "Corpse Explosion", 1, 3, 3]; i++;
talent[i] = [2, "On a Pale Horse", 2, 2, 4]; i++;
talent[i] = [2, "Blood-Caked Blade", 3, 3, 4]; i++;
talent[i] = [2, "Night of the Dead", 2, 4, 4]; i++;
talent[i] = [2, "Unholy Blight", 1, 1, 5]; i++;
talent[i] = [2, "Impurity", 5, 2, 5]; i++;
talent[i] = [2, "Dirge", 2, 3, 5]; i++;
talent[i] = [2, "Magic Suppression", 3, 2, 6]; i++;
talent[i] = [2, "Reaping", 3, 3, 6]; i++;
talent[i] = [2, "Master of Ghouls", 1, 4, 6, [getTalentID("Night of the Dead"),2]]; i++;
talent[i] = [2, "Desecration", 5, 1, 7]; i++;
talent[i] = [2, "Anti-Magic Zone", 1, 2, 7, [getTalentID("Magic Suppression"),3]]; i++;
talent[i] = [2, "Improved Unholy Presence", 2, 3, 7]; i++;
talent[i] = [2, "Ghoul Frenzy", 1, 4, 7]; i++;
talent[i] = [2, "Crypt Fever", 3, 2, 8]; i++;
talent[i] = [2, "Bone Shield", 1, 3, 8]; i++;
talent[i] = [2, "Wandering Plague", 3, 1, 9]; i++;
talent[i] = [2, "Ebon Plaguebringer", 3, 2, 9, [getTalentID("Crypt Fever"),3]]; i++;
talent[i] = [2, "Scourge Strike", 1, 3, 9]; i++;
talent[i] = [2, "Rage of Rivendare", 5, 2, 10]; i++;
talent[i] = [2, "Summon Gargoyle", 1, 2, 11]; i++;
treeStartStop[t] = i -1;
t++;

i = 0;


//Blood Talents Begin

//Butchery - BLOOD
rank[i] = [
"Whenever you kill an enemy that grants experience or honor, you generate up to 10 runic power. In addition, you generate 1 runic power per 5 sec. while in combat.",
"Whenever you kill an enemy that grants experience or honor, you generate up to 20 runic power. In addition, you generate 2 runic power per 5 sec. while in combat."
		];
i++;	

//Subversion - BLOOD
rank[i] = [
"Increases the critical strike chance of Blood Strike, Heart Strike and Obliterate by 3%, and reduces threat generated while in Blood or Unholy Presence by 8%.",
"Increases the critical strike chance of Blood Strike, Heart Strike and Obliterate by 6%, and reduces threat generated while in Blood or Unholy Presence by 16%.",
"Increases the critical strike chance of Blood Strike, Heart Strike and Obliterate by 9%, and reduces threat generated while in Blood or Unholy Presence by 25%."
		];
i++;

//Blade Barrier - BLOOD //UPDATED 3.1.0
rank[i] = [
"Whenever your Blood Runes are on cooldown, you gain the Blade Barrier effect, which decreases damage taken by 1% for the next 10 sec.",
"Whenever your Blood Runes are on cooldown, you gain the Blade Barrier effect, which decreases damage taken by 2% for the next 10 sec.",
"Whenever your Blood Runes are on cooldown, you gain the Blade Barrier effect, which decreases damage taken by 3% for the next 10 sec.",
"Whenever your Blood Runes are on cooldown, you gain the Blade Barrier effect, which decreases damage taken by 4% for the next 10 sec.",
"Whenever your Blood Runes are on cooldown, you gain the Blade Barrier effect, which decreases damage taken by 5% for the next 10 sec."
		];
i++;

//Bladed Armor - Blood
rank[i] = [
"Increases your attack power by 1 for every 180 armor value you have. ",
"Increases your attack power by 2 for every 180 armor value you have. ",
"Increases your attack power by 3 for every 180 armor value you have. ",
"Increases your attack power by 4 for every 180 armor value you have. ",
"Increases your attack power by 5 for every 180 armor value you have. "
		];
i++;



//Scent of Blood - BLOOD //UPDATED 3.1.0.9767 OLD: 20 sec
rank[i] = [
"You have a 15% chance after dodging, parrying, or taking direct damage to gain the Scent of Blood effect, causing your next melee hit to generate 5 runic power. This effect cannot occur more often than once every 10 sec.",
"You have a 15% chance after dodging, parrying, or taking direct damage to gain the Scent of Blood effect, causing your next 2 melee hits to generate 5 runic power. This effect cannot occur more often than once every 10 sec.",
"You have a 15% chance after dodging, parrying, or taking direct damage to gain the Scent of Blood effect, causing your next 3 melee hits to generate 5 runic power. This effect cannot occur more often than once every 10 sec."
		];
i++;

	
//Two-Handed Weapon Specialization - BLOOD
rank[i] = [
"Increases the damage you deal with two-handed melee weapons by 2%.",
"Increases the damage you deal with two-handed melee weapons by 4%."
		];
i++;	
	
//Rune Tap - Blood
rank[i] = [
"<span style=text-align:left;float:left;>1 Blood<br></span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>1 min cooldown</span><br>Converts 1 Blood Rune into 10% of your maximum health."
		];
i++;
	
//Dark Conviction - BLOOD
rank[i] = [
"Increases your chance to critically hit with weapons, spells and abilities by 1%.",
"Increases your chance to critically hit with weapons, spells and abilities by 2%.",
"Increases your chance to critically hit with weapons, spells and abilities by 3%.",
"Increases your chance to critically hit with weapons, spells and abilities by 4%.",
"Increases your chance to critically hit with weapons, spells and abilities by 5%."
		];
i++;

//Death Rune Mastery - BLOOD //UPDATED 3.1.0.9767 OLD: Missing last sentence
rank[i] = [
"Whenever you hit with Death Strike or Obliterate there is a 33% chance that the Frost and Unholy Runes will become Death Runes when they activate. Death Runes count as a Blood, Frost or Unholy Rune.",
"Whenever you hit with Death Strike or Obliterate there is a 66% chance that the Frost and Unholy Runes will become Death Runes when they activate. Death Runes count as a Blood, Frost or Unholy Rune.",
"Whenever you hit with Death Strike or Obliterate there is a 100% chance that the Frost and Unholy Runes will become Death Runes when they activate. Death Runes count as a Blood, Frost or Unholy Rune."
		];
i++;


//Improved Rune Tap - Blood
rank[i] = [
"Increases the health provided by Rune Tap by 33% and lowers its cooldown by 10 sec.",
"Increases the health provided by Rune Tap by 66% and lowers its cooldown by 20 sec.",
"Increases the health provided by Rune Tap by 100% and lowers its cooldown by 30 sec."
		];
i++;

//Spell Deflection - BLOOD //UPDATED 3.1.0
rank[i] = [
"You have a chance equal to your Parry chance of taking 15% less damage from a direct damage spell.",
"You have a chance equal to your Parry chance of taking 30% less damage from a direct damage spell.",
"You have a chance equal to your Parry chance of taking 45% less damage from a direct damage spell."
		];
i++;

//Vendetta - BLOOD
rank[i] = [
"Heals you for up to 2% of your total maximum health whenever you kill a target that yields experience or honor.",
"Heals you for up to 4% of your total maximum health whenever you kill a target that yields experience or honor.",
"Heals you for up to 6% of your total maximum health whenever you kill a target that yields experience or honor."
		];
i++;



//Bloody Strikes - Blood //UPDATED 3.1.0 OLD: Increases the damage by 15% and the bonus damage from diseases by 10% of your Blood Strike and Heart strike, and increases the damage of Pestilence by 20%. (20%/30% 40%/60%)
rank[i] = [
"Increases the damage of Blood Strike and Heart Strike by 15% and increases the damage of Blood Boil by 10%.",
"Increases the damage of Blood Strike and Heart Strike by 30% and increases the damage of Blood Boil by 20%.",
"Increases the damage of Blood Strike and Heart Strike by 45% and increases the damage of Blood Boil by 30%."
		];
i++;




//Veteran of the Third War - Blood
rank[i] = [
"Increases your total Strength and Stamina by 2% and your expertise by 2.",
"Increases your total Strength and Stamina by 4% and your expertise by 4.",
"Increases your total Strength and Stamina by 6% and your expertise by 6."
		];
i++;

//Mark of Blood - Blood 
rank[i] = [
"<span style=text-align:left;float:left;>1 Blood</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br> Place a Mark of Blood on an enemy. Whenever the marked enemy deals damage to a target, that target is healed for 4% of its maximum health. Lasts for 20 sec or up to 20 hits."
		];
i++;






//Bloody Vengeance - Blood
rank[i] = [
"Gives you a 1% bonus to physical damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell, or ability. This effect stacks up to 3 times.",
"Gives you a 2% bonus to physical damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell, or ability. This effect stacks up to 3 times.",
"Gives you a 3% bonus to physical damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell, or ability. This effect stacks up to 3 times."
		];
i++;

//Abomination's Might - Blood
rank[i] = [
"Your Blood Strikes and Heart Strikes have a 25% chance and your Obliterates have a 50% chance to increase the attack power by 10% of raid members within 45 yards for 10 sec. Also increases your total Strength by 1%.",
"Your Blood Strikes and Heart Strikes have a 50% chance and your Obliterates have a 100% chance to increase the attack power by 10% of raid members within 45 yards for 10 sec. Also increases your total Strength by 2%."
		];
i++;
	

//Bloodworms - Blood
rank[i] = [
"Your weapon hits have a 3% chance to cause the target to spawn 2-4 Bloodworms. Bloodworms attack your enemies, healing you as they do damage for 20 sec or until killed.",
"Your weapon hits have a 6% chance to cause the target to spawn 2-4 Bloodworms. Bloodworms attack your enemies, healing you as they do damage for 20 sec or until killed.",
"Your weapon hits have a 9% chance to cause the target to spawn 2-4 Bloodworms. Bloodworms attack your enemies, healing you as they do damage for 20 sec or until killed."
		];
i++;

//Hysteria - Blood
rank[i] = [
"<span style=text-align:left;float:left;>1 Blood</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>2 min cooldown</span><br> Induces a friendly unit into a killing frenzy for 30 sec. The target is Enraged, which increases their physical damage by 20%, but causes them to suffer damage equal to 1% of their maximum health every second."
		];
i++;

//Improved Blood Presence - Blood //UPDATED 3.1.0
rank[i] = [
"While in Frost Presence or Unholy Presence, you retain 2% healing from Blood Presence, and healing done to you is increased by 5% in Blood Presence.",
"While in Frost Presence or Unholy Presence, you retain 4% healing from Blood Presence, and healing done to you is increased by 10% in Blood Presence."
		];
i++;

//Improved Death Strike - Blood //UPDATED 3.1.0
rank[i] = [
"Increases the damage of your Death Strike by 15% and increases its critical strike chance by 3%.",
"Increases the damage of your Death Strike by 30% and increases its critical strike chance by 6%.",
		];
i++;


//Sudden Doom - BLOOD //UPDATED 3.1.0.9767 OLD: Your Blood Strikes and Heart Strikes have a 5% chance to make your next Death Coil consume no runic power and critically hit if cast within 15 sec. (10% 15%)
rank[i] = [
"Your Blood Strikes and Heart Strikes have a 5% chance to launch a free Death Coil at your target.",
"Your Blood Strikes and Heart Strikes have a 10% chance to launch a free Death Coil at your target.",
"Your Blood Strikes and Heart Strikes have a 15% chance to launch a free Death Coil at your target."
		];
i++;


//Vampiric Blood - Blood //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>1 Blood</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>2 min cooldown</span><br>Temporarily grants the Death Knight 15% of maximum health and increases the amount of health generated through spells and effects by 35% for 20 sec. After the effect expires, the health is lost."
		];
i++;

//Will of the Necropolis - BLOOD //UPDATED 3.1.0.9767 OLD:Damage that would take you below 35% health is reduced by 5%. This effect cannot occur more often than once every 15 sec and cannot be triggered by damage which deals less than 5% of your health.
rank[i] = [
"Damage that would take you below 35% health or taken while you are at 35% health is reduced by 5%. This effect cannot occur more often than once every 15 sec and cannot be triggered by damage which deals less than 5% of your health.",
"Damage that would take you below 35% health or taken while you are at 35% health is reduced by 10%. This effect cannot occur more often than once every 15 sec and cannot be triggered by damage which deals less than 5% of your health.",
"Damage that would take you below 35% health or taken while you are at 35% health is reduced by 15%. This effect cannot occur more often than once every 15 sec and cannot be triggered by damage which deals less than 5% of your health."
		];
i++;

//Heart Strike - Blood  //UPDATED 3.1.0.9767 OLD:Instantly strike the target and his nearest ally, causing 60% weapon damage plus 287, total damage increased by 10% for each of your diseases on the target.
rank[i] = [
"<span style=text-align:left;float:left;>1 Blood</span><span style=text-align:right;float:right;>Melee range</span><br><span style=text-align:left;float:left;>Instant</span><br><span style=text-align:left;float:left;>Requires Melee Weapon</span><br> Instantly strike the target and his nearest ally, causing 50% weapon damage plus 368, total damage increased by 10% for each of your diseases on the target."
		];
i++;

//Might of Mograine - BLOOD //UPDATED 3.1.0.9767 OLD: included Obliterate
rank[i] = [
"Increases the critical strike damage bonus of your Blood Boil, Blood Strike, Death Strike, and Heart Strike abilities by 15%.",
"Increases the critical strike damage bonus of your Blood Boil, Blood Strike, Death Strike, and Heart Strike abilities by 30%.",
"Increases the critical strike damage bonus of your Blood Boil, Blood Strike, Death Strike, and Heart Strike abilities by 45%."
		];
i++;

//Blood Gorged - Blood
rank[i] = [
"When you are above 75% health, you deal 2% more damage. In addition, your attacks ignore up to 2% of your opponent's armor at all times.",
"When you are above 75% health, you deal 4% more damage. In addition, your attacks ignore up to 4% of your opponent's armor at all times.",
"When you are above 75% health, you deal 6% more damage. In addition, your attacks ignore up to 6% of your opponent's armor at all times.",
"When you are above 75% health, you deal 8% more damage. In addition, your attacks ignore up to 8% of your opponent's armor at all times.",
"When you are above 75% health, you deal 10% more damage. In addition, your attacks ignore up to 10% of your opponent's armor at all times."
		];
i++;

//Dancing Rune Weapon - Blood //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>50 Runic Power</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br><span style=text-align:left;float:left;>Requires Melee Weapon</span><br> Unleashes all available runic power to summon a second rune weapon that fights on its own for 5 sec plus 1 sec per 10 additional runic power, doing the same attacks as the Death Knight but for 50% reduced damage."
		];
i++;

//FROST TALENTS BEGIN----------------------------------------------------------------------
//Improved Icy Touch - Frost //UPDATED 3.1.0
rank[i] = [
"Your Icy Touch does an additional 5% damage and your Frost Fever reduces melee and ranged attack speed by an additional 2%.",
"Your Icy Touch does an additional 10% damage and your Frost Fever reduces melee and ranged attack speed by an additional 4%.",
"Your Icy Touch does an additional 15% damage and your Frost Fever reduces melee and ranged attack speed by an additional 6%."
		];
i++;

//Runic Power Mastery - Frost //UPDATED 3.1.0
rank[i] = [
"Increases your maximum Runic Power by 15.",
"Increases your maximum Runic Power by 30."
		];
i++;

//Toughness - Frost
rank[i]=[
"Increases your armor value from items by 3% and reduces the duration of all movement slowing effects by 6%.",
"Increases your armor value from items by 6% and reduces the duration of all movement slowing effects by 12%.",
"Increases your armor value from items by 9% and reduces the duration of all movement slowing effects by 18%.",
"Increases your armor value from items by 12% and reduces the duration of all movement slowing effects by 24%.",
"Increases your armor value from items by 15% and reduces the duration of all movement slowing effects by 30%."
	];
i++;

//Icy Reach - Frost
rank[i]=[
"Increases the range of your Icy Touch, Chains of Ice and Howling Blast by 5 yards.",
"Increases the range of your Icy Touch, Chains of Ice and Howling Blast by 10 yards."
	];
i++;

//Black Ice - Frost //UPDATED 3.1.0
rank[i] = [
"Increases your Frost and Shadow damage by 2%.",
"Increases your Frost and Shadow damage by 4%.",
"Increases your Frost and Shadow damage by 6%.",
"Increases your Frost and Shadow damage by 8%.",
"Increases your Frost and Shadow damage by 10%."
		];
i++;

//Nerves of Cold Steel - FROST
rank[i] = [
"Increases your chance to hit with one-handed melee weapons by 1% and increases the damage done by your offhand weapon by 5%.",
"Increases your chance to hit with one-handed melee weapons by 2% and increases the damage done by your offhand weapon by 10%.",
"Increases your chance to hit with one-handed melee weapons by 3% and increases the damage done by your offhand weapon by 15%."
		];
i++;

//Icy Talons - FROST
rank[i] = [
"You leech heat from victims of your Frost Fever, so that when their melee attack speed is reduced, yours increases by 4% for for the next 20 sec.",
"You leech heat from victims of your Frost Fever, so that when their melee attack speed is reduced, yours increases by 8% for for the next 20 sec.",
"You leech heat from victims of your Frost Fever, so that when their melee attack speed is reduced, yours increases by 12% for for the next 20 sec.",
"You leech heat from victims of your Frost Fever, so that when their melee attack speed is reduced, yours increases by 16% for for the next 20 sec.",
"You leech heat from victims of your Frost Fever, so that when their melee attack speed is reduced, yours increases by 20% for for the next 20 sec."
		];
i++;

//Lichborne - Frost //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>3 min cooldown</span><br>Draw upon unholy energy to become undead for 15 sec. While undead, you are immune to Charm, Fear and Sleep effects."
		];
i++;

//Annihilation - Frost
rank[i] = [
"Increases the critical strike chance of your melee special abilities by 1%. In addition, there is a 33% chance that your Obliterate will do its damage without consuming diseases.",
"Increases the critical strike chance of your melee special abilities by 2%. In addition, there is a 66% chance that your Obliterate will do its damage without consuming diseases.",
"Increases the critical strike chance of your melee special abilities by 3%. In addition, there is a 100% chance that your Obliterate will do its damage without consuming diseases.",
		];
i++;

//Killing Machine - Frost 
rank[i] = [
"Your melee attacks have a chance to make your next Icy Touch, Howling Blast or Frost Strike a critical Strike.",
"Your melee attacks have a chance to make your next Icy Touch, Howling Blast or Frost Strike a critical Strike. Effect occurs more often than Killing Machine (Rank 1).",
"Your melee attacks have a chance to make your next Icy Touch, Howling Blast or Frost Strike a critical Strike.  Effect occurs more often than Killing Machine (Rank 2).",
"Your melee attacks have a chance to make your next Icy Touch, Howling Blast or Frost Strike a critical Strike.  Effect occurs more often than Killing Machine (Rank 3).",
"Your melee attacks have a chance to make your next Icy Touch, Howling Blast or Frost Strike a critical Strike.  Effect occurs more often than Killing Machine (Rank 4).",
		];
i++;	

//Chill of the Grave - Frost
rank[i] = [
"Your Chains of Ice, Howling Blast, Icy Touch and Obliterate generate 2.5 additional runic power.",
"Your Chains of Ice, Howling Blast, Icy Touch and Obliterate generate 5 additional runic power. "
		];
i++;

//Endless Winter - FROST
rank[i] = [
"Your Chains of Ice has a 50% chance to cause Frost Fever and the cost of your Mind Freeze is reduced to 10 runic power.",
"Your Chains of Ice has a 100% chance to cause Frost Fever and the cost of your Mind Freeze is reduced to no runic power."
];
i++;

//Frigid Dreadplate - Frost
rank[i]=[
"Reduces the chance melee attacks will hit you by 1%.",
"Reduces the chance melee attacks will hit you by 2%.",
"Reduces the chance melee attacks will hit you by 3%."
	];
i++;

//Glacier Rot - FROST //UPDATED 3.1.0.9767 OLD: Diseased enemies take 7% more damage from your Icy Touch, Howling Blast and Frost Strike spells. (13% 20%)
rank[i]=[
"Diseased enemies take 7% more damage from your Icy Touch, Howling Blast and Frost Strike.",
"Diseased enemies take 13% more damage from your Icy Touch, Howling Blast and Frost Strike.",
"Diseased enemies take 20% more damage from your Icy Touch, Howling Blast and Frost Strike."
	];
i++;

//Deathchill - Frost
rank[i] = [
"<span style=text-align:left;float:left;>Instant<br></span><br><span style=text-align:right;float:right;>2 min cooldown</span><br>When activated, makes your next Icy Touch, Howling Blast, Frost Strike or Obliterate a critical hit if used within 30 sec."
		];
i++;

//Improved Icy Talons - Frost //UPDATED 3.1.0
rank[i] = [
"Your Icy Talons effect increases the melee haste of your entire group or raid by 20% for the next 20 sec. In addition, increases your haste by 5% at all times."
		];
i++;

//Merciless Combat - Frost
rank[i] = [
"Your Icy Touch, Howling Blast, Obliterate and Frost Strike do an additional 6% damage when striking targets with less than 35% health.",
"Your Icy Touch, Howling Blast, Obliterate and Frost Strike do an additional 12% damage when striking targets with less than 35% health."
		];
i++;

//Rime - Frost //UPDATED 3.1.0.9767 OLD:Increases the critical strike chance of your Icy Touch and Obliterate by 5% and casting Obliterate has a 5% chance to reset the cooldown on Howling Blast and to cause your next Howling Blastt to consume no runes.
rank[i] = [
"Increases the critical strike chance of your Icy Touch and Obliterate by 5% and casting Obliterate has a 5% chance to reset the cooldown on Howling Blast and cause your next Howling Blast to consume no runes.",
"Increases the critical strike chance of your Icy Touch and Obliterate by 10% and casting Obliterate has a 10% chance to reset the cooldown on Howling Blast and cause your next Howling Blast to consume no runes.",
"Increases the critical strike chance of your Icy Touch and Obliterate by 15% and casting Obliterate has a 15% chance to reset the cooldown on Howling Blast and cause your next Howling Blast to consume no runes."
		];
i++;

//Chilbrains - Frost //UPDATED 3.1.0
rank[i] = [
"Victims of your Frost Fever disease are Chilled, reducing movement speed by 15% for 10 sec.",
"Victims of your Frost Fever disease are Chilled, reducing movement speed by 30% for 10 sec.",
"Victims of your Frost Fever disease are Chilled, reducing movement speed by 50% for 10 sec."
		];
i++;

//Hungering Cold - FROST //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>40 Runic Power<br></span><br> <span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>1 min cooldown</span><br>Purges the earth around the Death Knight of all heat. Enemies within 10 yards are trapped in ice, preventing them from performing any action for 10 sec and infecting them with Frost Fever. Enemies are considered Frozen, but any damage other than diseases will break the ice."
		];
i++;

//Improved Frost Presence - FROST //UPDATED 3.1.0
rank[i] = [
"While in Blood Presence or Unholy Presence, you retain 5% health from Frost Presence, and damage done to you is decreased by an additional 1% in Frost Presence.",
"While in Blood Presence or Unholy Presence, you retain 10% health from Frost Presence, and damage done to you is decreased by an additional 2% in Frost Presence."
		];
i++;

//Blood of the North - FROST //UPDATED 3.1.0
rank[i] = [
"Increases Blood Strike and Frost Strike damage by 3%. In addition, whenever you hit with a Blood Strike or Pestilence there is a 20% chance that the Blood Rune will become a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Increases Blood Strike and Frost Strike damage by 6%. In addition, whenever you hit with a Blood Strike or Pestilence there is a 40% chance that the Blood Rune will become a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Increases Blood Strike and Frost Strike damage by 9%. In addition, whenever you hit with a Blood Strike or Pestilence there is a 60% chance that the Blood Rune will become a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Increases Blood Strike and Frost Strike damage by 12%. In addition, whenever you hit with a Blood Strike or Pestilence there is a 80% chance that the Blood Rune will become a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Increases Blood Strike and Frost Strike damage by 15%. In addition, whenever you hit with a Blood Strike or Pestilence there is a 100% chance that the Blood Rune will become a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune."
		];
i++;

//Unbreakable Armor - FROST //UPDATED 3.1.0.9767 CHECK ME WITH CLIENT (Error on WowHead)
rank[i] = [
"<span style=text-align:left;float:left;>1 Frost<br></span><br><span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>2 min cooldown</span><br>Reinforces your armor with a thick coat of ice, reducing damage from all attacks by 181 and increasing your Strength by 25% for 20 sec. The amount of damage reduced increases as your armor increases."
		];
i++;

//Acclimation - Frost
rank[i] = [
"When you are hit by a spell, you have a 10% chance to boost your resistance to that type of magic for 18 sec. Stacks up to 3 times.",
"When you are hit by a spell, you have a 20% chance to boost your resistance to that type of magic for 18 sec. Stacks up to 3 times.",
"When you are hit by a spell, you have a 30% chance to boost your resistance to that type of magic for 18 sec. Stacks up to 3 times.",
		];
i++;

//Frost Strike - Frost //UPDATED 3.1.0.9767 OLD: Instantly strike the enemy, causing 60% weapon damage plus 52 as Frost damage. Can't be dodged, blocked, or parried.
rank[i] = [
"<span style=text-align:left;float:left;>40 Runic Power<br></span><span style=text-align:right;float:right;>Melee Range</span><br><span style=text-align:left;float:left;>Instant</span><br/><span style=text-align:left;float:left;>Requires Melee Weapon<br></span><br>Instantly strike the enemy, causing 60% weapon damage plus 150 as Frost damage. Can't be dodged, blocked, or parried."
		];
i++;

//Guile of Gorefiend - Frost
rank[i] = [
"Increases the critical strike damage bonus of your Blood Strike, Frost Strike, Howling Blast and Obliterate abilities by 15%, and increases the duration of your Icebound Fortitude by 2 sec.",
"Increases the critical strike damage bonus of your Blood Strike, Frost Strike, Howling Blast and Obliterate abilities by 30%, and increases the duration of your Icebound Fortitude by 4 sec.",
"Increases the critical strike damage bonus of your Blood Strike, Frost Strike, Howling Blast and Obliterate abilities by 45%, and increases the duration of your Icebound Fortitude by 6 sec."
		];
i++;

//Tundra Stalker - Frost //UPDATED 3.1.0
rank[i] = [
"Your spells and abilities deal 3% more damage to targets infected with Frost Fever. Also increases your expertise by 1.",
"Your spells and abilities deal 6% more damage to targets infected with Frost Fever. Also increases your expertise by 2.",
"Your spells and abilities deal 9% more damage to targets infected with Frost Fever. Also increases your expertise by 3.",
"Your spells and abilities deal 12% more damage to targets infected with Frost Fever. Also increases your expertise by 4.",
"Your spells and abilities deal 15% more damage to targets infected with Frost Fever. Also increases your expertise by 5. "
		];
i++;

//Howling Blast - Frost //UPDATED 3.1.0.9767 OLD: Blast the target with a frigid wind dealing 198 to 214 Frost damage to all enemies within 10 yards.
rank[i] = [
"<span style=text-align:left;float:left;>1 Unholy, 1 Frost<br></span><span style=text-align:right;float:right;>25 yd range</span><br><span style=text-align:left;float:left;>Instant</span><br/><span style=text-align:left;float:left;>8 sec cooldown<br></span><br>Blast the target with a frigid wind dealing 518 to 562 Frost damage to all enemies within 10 yards."
		];
i++;

//UNHOLY TALENTS BEGIN--------------------------------------------------------

//Vicious Strikes - UNHOLY //UPDATED 3.1.0
rank[i]=[
"Increases the critical strike chance by 3% and the critical strike damage bonus by 15% of your Plague Strike and Scourge Strike.",
"Increases the critical strike chance by 6% and the critical strike damage bonus by 30% of your Plague Strike and Scourge Strike.",
	];
i++;

//Virulence - UNHOLY //UPDATED 3.1.0
rank[i]=[
"Increases your chance to hit with your spells by 1% and reduces the chance that your damage over time diseases can be cured by 10%.",
"Increases your chance to hit with your spells by 2% and reduces the chance that your damage over time diseases can be cured by 20%.",
"Increases your chance to hit with your spells by 3% and reduces the chance that your damage over time diseases can be cured by 30%."
	];
i++;

//Anticipation - UNHOLY //UPDATED 3.1.0
rank[i]=[
"Increases your Dodge chance by 1%.",
"Increases your Dodge chance by 2%.",
"Increases your Dodge chance by 3%.",
"Increases your Dodge chance by 4%.",
"Increases your Dodge chance by 5%."
	];
i++;

//Epidemic - UNHOLY
rank[i]=[
"Increases the duration of Blood Plague and Frost Fever by 3 sec.",
"Increases the duration of Blood Plague and Frost Fever by 6 sec."
	];
i++;

//Morbidity - UNHOLY
rank[i] = [
"Increases the damage and healing of Death Coil by 5% and reduces the cooldown on Death and Decay by 5 sec.",
"Increases the damage and healing of Death Coil by 10% and reduces the cooldown on Death and Decay by 10 sec.",
"Increases the damage and healing of Death Coil by 15% and reduces the cooldown on Death and Decay by 15 sec."
		];
i++;

//Unholy Command - Unholy
rank[i]=[
"Reduces the cooldown of your Death Grip ability by 5 sec.",
"Reduces the cooldown of your Death Grip ability by 10 sec."
	];
i++;

//Ravenous Dead - Unholy 
rank[i]=[
"Increases your total Strength 1% and the contribution your Ghouls get from your Strength and Stamina by 20%.",
"Increases your total Strength 2% and the contribution your Ghouls get from your Strength and Stamina by 40%.",
"Increases your total Strength 3% and the contribution your Ghouls get from your Strength and Stamina by 60%."
	];
i++;

//Outbreak - UNHOLY //UPDATED 3.1.0
rank[i]=[
"Increases the damage of Plague Strike by 10% and Scourge Strike by 7%.",
"Increases the damage of Plague Strike by 20% and Scourge Strike by 13%.",
"Increases the damage of Plague Strike by 30% and Scourge Strike by 20%."
	];
i++;

//Necrosis - Unholy //UPDATED 3.1.0
rank[i]=[
"Your auto attacks deal an additional 4% Shadow damage.",
"Your auto attacks deal an additional 8% Shadow damage.",
"Your auto attacks deal an additional 12% Shadow damage.",
"Your auto attacks deal an additional 16% Shadow damage.",
"Your auto attacks deal an additional 20% Shadow damage."
	];
i++;

//Corpse Explosion - UNHOLY //UPDATED 3.1.0.9767 OLD: 166 Shadow damage
rank[i] = [
"<span style=text-align:left;float:left;>40 Runic Power<br></span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>5 sec cooldown</span><br>Cause a corpse to explode for 443 Shadow damage to all enemies within 10 yards. Will use a nearby corpse if the target is not a corpse. Does not affect mechanical or elemental corpses."
		];
i++;

//On A Pale Horse - UNHOLY
rank[i]=[
"You become as hard to stop as death itself. The duration of all Stun and Fear effects used against you is reduced by 10%, and your mounted speed is increased by 10%. This does not stack with other movement speed increasing effects.",
"You become as hard to stop as death itself. The duration of all Stun and Fear effects used against you is reduced by 20%, and your mounted speed is increased by 20%. This does not stack with other movement speed increasing effects."
	];
i++;

//Blood-Caked Blade – Unholy //UPDATED 3.1.0
rank[i] = [
"Your auto attacks have a 10% chance to cause a Blood-Caked Strike, which hits for 25% weapon damage plus 12.5% for each of your diseases on the target.",
"Your auto attacks have a 20% chance to cause a Blood-Caked Strike, which hits for 25% weapon damage plus 12.5% for each of your diseases on the target.",
"Your auto attacks have a 30% chance to cause a Blood-Caked Strike, which hits for 25% weapon damage plus 12.5% for each of your diseases on the target."
		];
i++;

//Night of the Dead - Unholy //UPDATED 3.1.0
rank[i] = [
"Reduces the cooldown on Raise Dead by 45 sec. and the cooldown on Army of the Dead by 5 min. Also reduces the damage your pet takes from area of effect attacks by 40%.",
"Reduces the cooldown on Raise Dead by 90 sec. and the cooldown on Army of the Dead by 10 min. Also reduces the damage your pet takes from area of effect attacks by 70%."
		];
i++;

//Unholy Blight - Unholy //UPDATED 3.1.0.9767 OLD: 21 Shadow damage
rank[i] = [
"<span style=text-align:left;float:left;>40 Runic Power<br></span><br> <span style=text-align:left;float:left;>Instant<br></span><br>A vile swarm of unholy insects surrounds the Death Knight for a 10 yard radius. Enemies caught in the area take 48 Shadow damage per sec. Lasts 20 sec."
		];
i++;

//Impurity - UNHOLY //UPDATED 3.1.0
rank[i] = [
"The attack power bonus of your spells is increased by 4%.",
"The attack power bonus of your spells is increased by 8%.",
"The attack power bonus of your spells is increased by 12%.",
"The attack power bonus of your spells is increased by 16%.",
"The attack power bonus of your spells is increased by 20%."
		];
i++;

//Dirge - Unholy
rank[i] = [
"Your Death Strike, Obliterate, Plague Strike and Scourge Strike generate 2.5 additional runic power.",
"Your Death Strike, Obliterate, Plague Strike and Scourge Strike generate 5 additional runic power."
		];
i++;

//Magic Suppression - UNHOLY //UPDATED 3.1.0
rank[i] = [
"You take 2% less damage from all magic. In addition, your Anti-Magic Shell absorbs an additional 8% of spell damage.",
"You take 4% less damage from all magic. In addition, your Anti-Magic Shell absorbs an additional 16% of spell damage.",
"You take 6% less damage from all magic. In addition, your Anti-Magic Shell absorbs an additional 25% of spell damage.",
		];
i++;

//Reaping - Unholy //UPDATED 3.1.0
rank[i] = [
"Whenever you hit with Blood Strike or Pestilence there is a 33% chance that the Blood Rune becomes a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Whenever you hit with Blood Strike or Pestilence there is a 66% chance that the Blood Rune becomes a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune.",
"Whenever you hit with Blood Strike or Pestilence there is a 100% chance that the Blood Rune becomes a Death Rune when it activates. Death Runes count as a Blood, Frost or Unholy Rune."
		];
i++;

//Master of Ghouls - Unholy //UPDATED 3.1.0
rank[i]=[
"Reduces the cooldown on Raise Dead by 60 sec., and the Ghoul summoned by your Raise Dead spell is considered a pet under your control. Unlike normal Death Knight Ghouls, your pet does not have a limited duration."
	];
i++;

//Desecration - Unholy //UPDATED 3.1.0
rank[i] = [
"Your Plague Strikes and Scourge Strikes cause the Desecrated Ground effect. Targets in the area are slowed by 10% by the grasping arms of the dead while you cause 1% additional damage while standing on the unholy ground. Lasts 12 sec.",
"Your Plague Strikes and Scourge Strikes cause the Desecrated Ground effect. Targets in the area are slowed by 20% by the grasping arms of the dead while you cause 2% additional damage while standing on the unholy ground. Lasts 12 sec.",
"Your Plague Strikes and Scourge Strikes cause the Desecrated Ground effect. Targets in the area are slowed by 30% by the grasping arms of the dead while you cause 3% additional damage while standing on the unholy ground. Lasts 12 sec.",
"Your Plague Strikes and Scourge Strikes cause the Desecrated Ground effect. Targets in the area are slowed by 40% by the grasping arms of the dead while you cause 4% additional damage while standing on the unholy ground. Lasts 12 sec.",
"Your Plague Strikes and Scourge Strikes cause the Desecrated Ground effect. Targets in the area are slowed by 50% by the grasping arms of the dead while you cause 5% additional damage while standing on the unholy ground. Lasts 12 sec."
		];
i++;

//Anti-Magic Zone - Unholy //UPDATED 3.1.0.9767 OLD: 12,124 spell damage
rank[i] = [
"<span style=text-align:left;float:left;>1 Unholy<br></span><br><span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>2 min cooldown</span><br> Places a large, stationary Anti-Magic Zone that reduces spell damage done to party or raid members inside it by 75%. The Anti-Magic Zone lasts for 10 sec or until it absorbs 10,002 spell damage."
		];
i++;

//Improved Unholy Presence - UNHOLY //UPDATED 3.1.0
rank[i] = [
"While in Blood Presence or Frost Presence, you retain 8% increased movement speed from Unholy Presence and your runes finish their cooldown 5% faster in Unholy Presence.",
"While in Blood Presence or Frost Presence, you retain 15% increased movement speed from Unholy Presence and your runes finish their cooldown 10% faster in Unholy Presence."
		];
i++;

//Ghoul Frenzy - Unholy //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>1 Unholy<br></span><br><span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>45 yd range</span><br>Grants your pet 25% haste for 30 sec and heals it for 60% of its health over the duration."
		];
i++;

//Crypt Fever - Unholy
rank[i] = [
"Your diseases also cause Crypt Fever, which increases disease damage taken by the target by 10%.",
"Your diseases also cause Crypt Fever, which increases disease damage taken by the target by 20%.",
"Your diseases also cause Crypt Fever, which increases disease damage taken by the target by 30%."
		];
i++;

//Bone Shield - Unholy
rank[i] = [
"<span style=text-align:left;float:left;>1 Unholy<br></span><br><span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>2 min cooldown</span><br><br>The Death Knight is surrounded by 4 whirling bones. While at least 1 bone remains, he takes 20% less damage from all sources and deals 2% more damage with all attacks, spells and abilities. Each damaging attack that lands consumes 1 bone. Lasts 5 min."
		];
i++;

//Wandering Plague - UNHOLY
rank[i] = [
"When your diseases damage an enemy, there is a chance equal to your melee critical strike chance that they will cause 33% additional damage to the target and all enemies within 8 yards. Ignores any target under the effect of a spell that is cancelled by taking damage.",
"When your diseases damage an enemy, there is a chance equal to your melee critical strike chance that they will cause 66% additional damage to the target and all enemies within 8 yards. Ignores any target under the effect of a spell that is cancelled by taking damage.",
"When your diseases damage an enemy, there is a chance equal to your melee critical strike chance that they will cause 100% additional damage to the target and all enemies within 8 yards. Ignores any target under the effect of a spell that is cancelled by taking damage."
		];
i++;

//Ebon Plaguebringer - UNHOLY
rank[i] = [
"Your Crypt Fever morphs into Ebon Plague, which increases magic damage taken by 4% in addition to increasing disease damage taken. Improves your critical strike chance with weapons and spells by 1% at all times.",
"Your Crypt Fever morphs into Ebon Plague, which increases magic damage taken by 9% in addition to increasing disease damage taken. Improves your critical strike chance with weapons and spells by 2% at all times.",
"Your Crypt Fever morphs into Ebon Plague, which increases magic damage taken by 13% in addition to increasing disease damage taken. Improves your critical strike chance with weapons and spells by 3% at all times."
		];
i++;

//Scourge Strike - Unholy //UPDATED 3.1.0.9767 OLD: An unholy strike that deals 50 to 51% of weapon damage as Shadow damage plus 191 CHECK ME WITH CLIENT (Error on WowHead)
rank[i] = [
"<span style=text-align:left;float:left;>1 Unholy 1 Frost<br></span><span style=text-align:right;float:right;>Melee range</span><br> <span style=text-align:left;float:left;>Instant<br></span><br><span style=text-align:left;float:left;>Requires Melee Weapon<br></span><br>An unholy strike that deals 45% of weapon damage as Shadow damage plus 152, total damage increased 11% per each of your diseases on the target."
		];
i++;

//Rage of Rivendare - Unholy
rank[i] = [
"Your spells and abilities deal 2% more damage to targets infected with Blood Plague. Also increases your expertise by 1.",
"Your spells and abilities deal 4% more damage to targets infected with Blood Plague. Also increases your expertise by 2.",
"Your spells and abilities deal 6% more damage to targets infected with Blood Plague. Also increases your expertise by 3.",
"Your spells and abilities deal 8% more damage to targets infected with Blood Plague. Also increases your expertise by 4.",
"Your spells and abilities deal 10% more damage to targets infected with Blood Plague. Also increases your expertise by 5."
		];
i++;

//Summon Gargoyle - UNHOLY //UPDATED 3.1.0
rank[i] = [
"<span style=text-align:left;float:left;>50 Runic Power<br></span><span style=text-align:right;float:right;>30 yd range</span><br> <span style=text-align:left;float:left;>Instant<br></span><span style=text-align:right;float:right;>3 min cooldown</span><br>A Gargoyle flies into the area and bombards the target with Nature damage modified by the Death Knight's attack power. Persists for 10 sec plus 1 sec per 3 runic power up to 40 sec."
		];
i++;
//UNHOLY Talents End^^


