var i = 0;


var t = 0;


var className = "Priest Talents - Patch 1.10";
var talentPath = "/info/underdev/1p10/";

tree[i] = "Discipline"; i++;
tree[i] = "Holy"; i++;
tree[i] = "Shadow"; i++;

i = 0;

talent[i] = [0, "Unbreakable Will", 5, 2, 1]; i++;
talent[i] = [0, "Wand Specialization", 5, 3, 1]; i++;

talent[i] = [0, "Silent Resolve", 5, 1, 2]; i++;
talent[i] = [0, "Improved Power Word: Fortitude", 2, 2, 2]; i++;
talent[i] = [0, "Improved Power Word: Shield", 3, 3, 2]; i++;
talent[i] = [0, "Martyrdom", 2, 4, 2]; i++; 

talent[i] = [0, "Inner Focus", 1, 2, 3]; i++;
talent[i] = [0, "Meditation", 3, 3, 3]; i++;

talent[i] = [0, "Improved Inner Fire", 3, 1, 4]; i++;
talent[i] = [0, "Mental Agility", 5, 2, 4]; i++;
talent[i] = [0, "Improved Mana Burn", 2, 4, 4]; i++;


talent[i] = [0, "Mental Strength", 5, 2, 5]; i++;
talent[i] = [0, "Divine Spirit", 1, 3, 5, [getTalentID("Meditation"),3]]; i++;

talent[i] = [0, "Force of Will", 5, 3, 6]; i++;

talent[i] = [0, "Power Infusion", 1, 2, 7, [getTalentID("Mental Strength"),5]]; i++;


treeStartStop[t] = i -1;
t++;

//holy talents
talent[i] = [1, "Healing Focus", 2, 1, 1]; i++;
talent[i] = [1, "Improved Renew", 3, 2, 1]; i++;
talent[i] = [1, "Holy Specialization", 5, 3, 1]; i++;

talent[i] = [1, "Spell Warding", 5, 2, 2]; i++;
talent[i] = [1, "Divine Fury", 5, 3, 2]; i++;

talent[i] = [1, "Holy Nova", 1, 1, 3]; i++;
talent[i] = [1, "Blessed Recovery", 3, 2, 3]; i++;
talent[i] = [1, "Inspiration", 3, 4, 3]; i++;

talent[i] = [1, "Holy Reach", 2, 1, 4]; i++;
talent[i] = [1, "Improved Healing", 3, 2, 4]; i++;
talent[i] = [1, "Searing Light", 2, 3, 4, [getTalentID("Divine Fury"),5]]; i++;

talent[i] = [1, "Improved Prayer of Healing", 2, 1, 5]; i++;
talent[i] = [1, "Spirit of Redemption", 1, 2, 5]; i++;
talent[i] = [1, "Spiritual Guidance", 5, 3, 5]; i++;

talent[i] = [1, "Spiritual Healing", 5, 3, 6]; i++;

talent[i] = [1, "Lightwell", 1, 2, 7, [getTalentID("Spirit of Redemption"),1]]; i++;

treeStartStop[t] = i -1;
t++;

//shadow talents
talent[i] = [2, "Spirit Tap", 5, 2, 1]; i++;
talent[i] = [2, "Blackout", 5, 3, 1]; i++;
talent[i] = [2, "Shadow Affinity", 3, 1, 2]; i++;
talent[i] = [2, "Improved Shadow Word: Pain", 2, 2, 2]; i++;
talent[i] = [2, "Shadow Focus", 5, 3, 2]; i++;
talent[i] = [2, "Improved Psychic Scream", 2, 1, 3]; i++;
talent[i] = [2, "Improved Mind Blast", 5, 2, 3]; i++;
talent[i] = [2, "Mind Flay", 1, 3, 3]; i++;
talent[i] = [2, "Improved Fade", 2, 2, 4]; i++;
talent[i] = [2, "Shadow Reach", 3, 3, 4]; i++;
talent[i] = [2, "Shadow Weaving", 5, 4, 4]; i++;
talent[i] = [2, "Silence", 1, 1, 5, [getTalentID("Improved Psychic Scream"),2]]; i++;
talent[i] = [2, "Vampiric Embrace", 1, 2, 5]; i++;
talent[i] = [2, "Improved Vampiric Embrace", 2, 3, 5, [getTalentID("Vampiric Embrace"),1]]; i++;
talent[i] = [2, "Darkness", 5, 3, 6]; i++;
talent[i] = [2, "Shadowform", 1, 2, 7, [getTalentID("Vampiric Embrace"),1]]; i++;

treeStartStop[t] = i -1;
t++;

i = 0;


//Discipline Talents Begin

//Unbreakable Will - Discipline
rank[i] = [
		"Increases your chance to resist Stun, Fear, and Silence effects by 3%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by 6%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by 9%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by 12%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by 15%."
		];

i++;		
		
		
//Wand Specialization - Discipline		
rank[i] = [
		"Increases your damage with Wands by 5%.",
		"Increases your damage with Wands by 10%.",
		"Increases your damage with Wands by 15%.",
		"Increases your damage with Wands by 20%.",
		"Increases your damage with Wands by 25%."
		];

i++;				
		
//Silent Resolve - Discipline
rank[i] = [
		"Reduces the threat generated by your spells by 4%.",
		"Reduces the threat generated by your spells by 8%.",
		"Reduces the threat generated by your spells by 12%.",
		"Reduces the threat generated by your spells by 16%.",
		"Reduces the threat generated by your spells by 20%."
		];

i++;		

//Improved Power Word: Fortitude - Discipline		
rank[i] = [
		"Increases the effect of your Power Word: Fortitude and Prayer of Fortitude spells by 15%.",
		"Increases the effect of your Power Word: Fortitude and Prayer of Fortitude spells by 30%."
		];

i++;		

//Improved Power Word: Shield - Discipline		
rank[i] = [
		"Increase the damage absorbed by your Power Word: Shield by 5%.",
		"Increase the damage absorbed by your Power Word: Shield by 10%.",
		"Increase the damage absorbed by your Power Word: Shield by 15%."
		];

i++;		

		
//Martyrdom - Discipline		
rank[i] = [
		"Gives you a 50% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time when taking damage and increases resistance to Interrupt effects by 10%.",
		"Gives you a 100% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time when taking damage and increases resistance to Interrupt effects by 20%."
		];

i++;		

//Inner Focus - Discipline		
rank[i] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, reduces the Mana cost of your next spell by 100% and increases its critical effect chance by 25% if it is capable of a critical effect."
		];

i++;		


//Meditation - Discipline
rank[i] = [
		"Allows 5% of your Mana regeneration to continue while casting.",
		"Allows 10% of your Mana regeneration to continue while casting.",
		"Allows 15% of your Mana regeneration to continue while casting.",
		];

i++;	


//Improved Inner Fire - Discipline		
rank[i] = [
		"Increases the beneficial effects of your Inner Fire spell by 10%.",
		"Increases the beneficial effects of your Inner Fire spell by 20%.",
		"Increases the beneficial effects of your Inner Fire spell by 30%."
		];

i++;		


//Mental Agility - Discipline		
rank[i] = [ 
		"Reduces the mana cost of your instant cast spells by 2%.",
		"Reduces the mana cost of your instant cast spells by 4%.",
		"Reduces the mana cost of your instant cast spells by 6%.",
		"Reduces the mana cost of your instant cast spells by 8%.",
		"Reduces the mana cost of your instant cast spells by 10%."
		];

i++;		

//Improved Mana Burn - Discipline		
rank[i] = [
		"Reduces the casting time of your Mana Burn spell by 0.25 sec.",
		"Reduces the casting time of your Mana Burn spell by 0.5 sec."
		];

i++;		


//Mental Strength - Discipline		
rank[i] = [
		"Increases your maximum Mana by 2%.",
		"Increases your maximum Mana by 4%.",
		"Increases your maximum Mana by 6%.",
		"Increases your maximum Mana by 8%.",
		"Increases your maximum Mana by 10%."
		];

i++;		


	
//Divine Spirit - Discipline				
rank[i] = [
			"<span style=text-align:left;float:left;>285 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Holy power infuses the target, increasing their Spirit by 17 for 30 min."
		];

i++;		
		


//Force of Will - Discipline		
rank[i] = [
		"Increases your spell damage by 1% and the critical strike chance of your offensive spells by 1%.",
		"Increases your spell damage by 2% and the critical strike chance of your offensive spells by 2%.",
		"Increases your spell damage by 3% and the critical strike chance of your offensive spells by 3%.",
		"Increases your spell damage by 4% and the critical strike chance of your offensive spells by 4%.",
		"Increases your spell damage by 5% and the critical strike chance of your offensive spells by 5%."
		];

i++;		


//Power Infusion - Discipline				
rank[i] = [
			"<span style=text-align:left;float:left;>182 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Infuses the target with power, increasing their spell damage and healing by 20%. Lasts 15 sec."
		];

i++;			
		
		
		

	
		
//Healing Focus - Holy
	
rank[i] = [
			"Gives you a 35% chance to avoid interruption caused by damage while casting any healing spell.",
			"Gives you a 70% chance to avoid interruption caused by damage while casting any healing spell."
		];		

i++;				
		
		
//Improved Renew - Holy
	
rank[i] = [
			"Increases the amount healed by your Renew spell by 5%.",
			"Increases the amount healed by your Renew spell by 10%.",
			"Increases the amount healed by your Renew spell by 15%."
		];		

i++;		
		
//Holy Specialization - Holy

rank[i] = [
			"Increases the critical effect chance of your Holy spells by 1%.",
			"Increases the critical effect chance of your Holy spells by 2%.",
			"Increases the critical effect chance of your Holy spells by 3%.",
			"Increases the critical effect chance of your Holy spells by 4%.",
			"Increases the critical effect chance of your Holy spells by 5%."
		];

i++;		


//Spell Warding - Holy
		
rank[i] = [
			"Reduces all spell damage taken by 2%.",
			"Reduces all spell damage taken by 4%.",
			"Reduces all spell damage taken by 6%.",
			"Reduces all spell damage taken by 8%.",
			"Reduces all spell damage taken by 10%."
		];

i++;	


//Divine Fury - Holy

rank[i] = [
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.1 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.2 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.3 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.4 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.5 sec."
		];

i++;

//Holy Nova - Holy		
		
rank[i] = [
			"185 Mana<br><span style=text-align:left;float:left;>Instant cast</span><br>Causes an explosion of holy light around the caster, causing 28 to 32 Holy damage to all enemy targets within 10 yards and healing all party members within 10 yards for 52 to 60. These effects cause no threat."
		];

i++;


//Blessed Recovery - Holy	
		
rank[i] = [
			"After being struck by a melee or ranged critical hit, heal 8% of the damage taken over 6 sec.",
			"After being struck by a melee or ranged critical hit, heal 16% of the damage taken over 6 sec.",
			"After being struck by a melee or ranged critical hit, heal 25% of the damage taken over 6 sec."
		];

i++;	

//Inspiration - Holy	
		
rank[i] = [
			"Increases your target's armor by 8% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, or Prayer of Healing spell.",
			"Increases your target's armor by 16% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, or Prayer of Healing spell.",
			"Increases your target's armor by 25% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, or Prayer of Healing spell."
		];

i++;		





//Holy Reach - Holy

rank[i] = [
			"Increases the range of your Smite and Holy Fire spells and the radius of your Prayer of Healing and Holy Nova spells by 10%.",
			"Increases the range of your Smite and Holy Fire spells and the radius of your Prayer of Healing and Holy Nova spells by 20%."
		];

i++;		

//Improved Healing - Holy

rank[i] = [
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 5%.",
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 10%.",
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 15%."
		];

i++;		

//Searing Light - Holy

rank[i] = [
			"Increases the damage of your Smite and Holy Fire spells by 5%.",
			"Increases the damage of your Smite and Holy Fire spells by 10%."
		];

i++;		




//Improved Prayer of Healing - Holy	
		
rank[i] = [
			"Reduces the Mana cost of your Prayer of Healing spell by 10%.",
			"Reduces the Mana cost of your Prayer of Healing spell by 20%."
		];

i++;

//Spirit of Redemption - Holy
		
rank[i] = [
			"Upon death, the priest becomes the Spirit of Redemption for 10 sec.  The Spirit of Redemption cannot move, attack, be attacked or targeted by any spells or effects.  While in this form, the priest can cast any healing spell free of cost.  When the effect ends, the priest dies."
		];

i++;		




//Spiritual Guidance - Holy
		
rank[i] = [
			"Increases spell damage and healing by up to 5% of your total Spirit.",
			"Increases spell damage and healing by up to 10% of your total Spirit.",
			"Increases spell damage and healing by up to 15% of your total Spirit.",
			"Increases spell damage and healing by up to 20% of your total Spirit.",
			"Increases spell damage and healing by up to 25% of your total Spirit."
		];

i++;



//Spiritual Healing - Holy

rank[i] = [
			"Increases the amount healed by your healing spells by 2%.",
			"Increases the amount healed by your healing spells by 4%.",
			"Increases the amount healed by your healing spells by 6%.",
			"Increases the amount healed by your healing spells by 8%.",
			"Increases the amount healed by your healing spells by 10%."
		];		

i++;	



//Lightwell - Holy

rank[i] = [
			"225 Mana<br><span style=text-align:left;float:left;>3 sec cast</span><span style=text-align:right;float:right;>10 min cooldown</span><br>Creates a holy Lightwell near the priest.  Friendly targets can click the Lightwell to restore 800 health over 10 sec.  Being attacked cancels the effect.  Lightwell lasts for 2 min or 5 charges."
		];		

i++;	











		
//Spirit Tap - Shadow
rank[i]=[
			"Gives you a 20% chance to gain a 100% bonus to your Spirit after killing a target that yields experience.  For the duration, your Mana will regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 40% chance to gain a 100% bonus to your Spirit after killing a target that yields experience.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 60% chance to gain a 100% bonus to your Spirit after killing a target that yields experience.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 80% chance to gain a 100% bonus to your Spirit after killing a target that yields experience.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 100% chance to gain a 100% bonus to your Spirit after killing a target that yields experience.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec."
			];

i++;			
			
//Blackout - Shadow
rank[i]=[
			"Gives your Shadow damage spells a 2% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 4% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 6% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 8% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 10% chance to stun the target for 3 sec."
		];

i++;		
		
//Shadow Affinity - Shadow
rank[i]=[
			"Reduces the threat generated by your Shadow spells by 8%.",
			"Reduces the threat generated by your Shadow spells by 16%.",
			"Reduces the threat generated by your Shadow spells by 25%."
		];

i++;		
		
//Improved Shadow Word: Pain - Shadow
rank[i]=[
			"Increases the duration of your Shadow Word: Pain spell by 3 sec.",
			"Increases the duration of your Shadow Word: Pain spell by 6 sec."
		];

i++;		
		
//Shadow Focus - Shadow
rank[i]=[
			"Reduces your target's chance to resist your Shadow spells by 2%.",
			"Reduces your target's chance to resist your Shadow spells by 4%.",
			"Reduces your target's chance to resist your Shadow spells by 6%.",
			"Reduces your target's chance to resist your Shadow spells by 8%.",
			"Reduces your target's chance to resist your Shadow spells by 10%."
		];

i++;		
		
//Improved Psychic Scream - Shadow
rank[i]=[
			"Reduces the cooldown of your Psychic Scream spell by 2 sec.",
			"Reduces the cooldown of your Psychic Scream spell by 4 sec."
		];

i++;		
		
//Improved Mind Blast - Shadow
rank[i]=[
			"Reduces the cooldown of your Mind Blast spell by 0.5 sec.",
			"Reduces the cooldown of your Mind Blast spell by 1 sec.",
			"Reduces the cooldown of your Mind Blast spell by 1.5 sec.",
			"Reduces the cooldown of your Mind Blast spell by 2 sec.",
			"Reduces the cooldown of your Mind Blast spell by 2.5 sec."
		];

i++;		
		
//Mind Flay - Shadow
rank[i]=[
			"<span style=text-align:left;float:left;>45 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br>Channeled<br>Assault the target's mind with Shadow energy, causing 75 damage over 3 sec and slowing the target to 50% of their movement speed."
		];

i++;		
		
//Improved Fade - Shadow
rank[i]=[
			"Decreases the cooldown of your Fade ability by 3 sec.",
			"Decreases the cooldown of your Fade ability by 6 sec."
		];

i++;		
		
//Shadow Reach - Shadow
rank[i]=[
			"Increases the range of your Shadow damage spells by 6%.",
			"Increases the range of your Shadow damage spells by 13%.",
			"Increases the range of your Shadow damage spells by 20%."
		];

i++;		
		
		
//Shadow Weaving - Shadow
rank[i]=[
			"Your Shadow damage spells have a 20% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 3% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 40% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 3% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 60% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 3% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 80% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 3% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 100% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 3% and lasts 15 sec. Stacks up to 5 times."
		];

i++;				
		
//Silence - Shadow
rank[i]=[
			"<span style=text-align:left;float:left;>225 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>45 sec cooldown</span><br>Silences the target, preventing them from casting spells for 5 sec."
		];

i++;		
		

		
//Vampiric Embrace
rank[i]=[
			"<span style=text-align:left;float:left;>40 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>10 sec cooldown</span><br>Afflicts your target with Shadow energy that causes all party members to be healed for 20% of any Shadow damage you deal for 1 min."
		];

i++;		


//Improved Vampiric Embrace
rank[i]=[
			"Increases the percentage healed by Vampiric Embrace by an additional 5%.",
			"Increases the percentage healed by Vampiric Embrace by an additional 10%."
		];

i++;		
		
//Darkness - Shadoww
rank[i]=[
			"Increases your Shadow spell damage by 2%.",
			"Increases your Shadow spell damage by 4%.",
			"Increases your Shadow spell damage by 6%.",
			"Increases your Shadow spell damage by 8%.",
			"Increases your Shadow spell damage by 10%."
		];

i++;		
		
//Shadow Form - Shadoow
rank[i]=[
			"550 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>1.5 sec cooldown</span><br>Assume a Shadowform, increasing your Shadow damage by 15% and reducing Physical damage done to you by 15%.  However, you may not cast Holy spells while in this form."
		];
//Shadow Talents End^^

