var i = 0;
var t = 0;


var className = "jedi";

tree[i] = "general"; i++;
tree[i] = "path"; i++;

/* updated for beastmastery */

tree[i] = "beastmastery"; i++;

/* updated for beastmastery */

i = 0;

talent[i] = [0, "Crippling Accuracy", 4, 2, 1]; i++; 
talent[i] = [0, "Enhanced Strength", 2, 3, 1]; i++;
talent[i] = [0, "Enhanced Constitution", 2, 4, 1]; i++;
talent[i] = [0, "Enhanced Agility", 2, 5, 1]; i++; 
talent[i] = [0, "Enhanced Stamina", 2, 6, 1]; i++;
talent[i] = [0, "Improved Force Throw", 2, 2, 2]; i++;
talent[i] = [0, "Alacrity", 4, 5, 2]; i++;
talent[i] = [0, "Improved Crippling Accuracy", 3, 2, 3,[getTalentID("Improved Force Throw"),2]]; i++;
talent[i] = [0, "Exacting Strikes", 4, 4, 3]; i++;
talent[i] = [0, "Force Cloak", 1, 5, 3,[getTalentID("Alacrity"),4]]; i++;
talent[i] = [0, "Heightened Speed", 4, 6, 3]; i++;
talent[i] = [0, "Stance Saber Block", 1, 2, 4]; i++;
talent[i] = [0, "Improved Saber Block", 3, 3, 4,[getTalentID("Stance Saber Block"),1]]; i++;
talent[i] = [0, "Incisiveness", 4, 4, 4,[getTalentID("Exacting Strikes"),4]]; i++;
talent[i] = [0, "Second Wind", 2, 6, 4, [getTalentID("Heightened Speed"),4]]; i++;
talent[i] = [0, "Force Shockwave", 1, 2, 5]; i++;
talent[i] = [0, "Improved Force Shockwave", 3, 3, 5,[getTalentID("Force Shockwave"),1]]; i++;
talent[i] = [0, "Fidelity", 4, 4, 5,[getTalentID("Incisiveness"),4]]; i++;
talent[i] = [0, "Improved Force Cloak", 1, 5, 5,[getTalentID("Force Cloak"),1]]; i++;

treeStartStop[t] = i -1;
t++;

//Jedi Path talents
talent[i] = [1, "Cautious Nature", 4, 2, 1]; i++;
talent[i] = [1, "Remorseless Nature", 4, 6, 1]; i++;
talent[i] = [1, "Practiced Fluidity", 4, 1, 2,[getTalentID("Cautious Nature"),4]]; i++;
talent[i] = [1, "Soothing Aura", 4, 3, 2,[getTalentID("Cautious Nature"),4]]; i++;
talent[i] = [1, "Brutality", 4, 5, 2,[getTalentID("Remorseless Nature"),4]]; i++;
talent[i] = [1, "Force Choke", 1, 7, 2,[getTalentID("Remorseless Nature"),4]]; i++;
talent[i] = [1, "Reactive Response", 2, 1, 3,[getTalentID("Practiced Fluidity"),4]]; i++;
talent[i] = [1, "Forsake Fear", 1, 2, 3,[getTalentID("Cautious Nature"),4]]; i++;
talent[i] = [1, "Cloud Minds", 1, 4, 3]; i++;
talent[i] = [1, "Dark Lightning", 1, 5, 3,[getTalentID("Brutality"),4]]; i++;
talent[i] = [1, "Tempt Hatred", 2, 6, 3,[getTalentID("Remorseless Nature"),4]]; i++;
talent[i] = [1, "Improved Force Choke", 2, 7, 3,[getTalentID("Force Choke"),1]]; i++;
talent[i] = [1, "Force Clarity", 1, 1, 4,[getTalentID("Reactive Response"),2]]; i++;
talent[i] = [1, "Hermetic Touch", 1, 3, 4,[getTalentID("Soothing Aura"),4]]; i++;
talent[i] = [1, "Expansive Trickery", 3, 4, 4,[getTalentID("Cloud Minds"),1]]; i++;
talent[i] = [1, "Wracking Energy", 3, 5, 4,[getTalentID("Dark Lightning"),1]]; i++;
talent[i] = [1, "Anticipate Aggression", 1, 1, 5,[getTalentID("Force Clarity"),1]]; i++;
talent[i] = [1, "Lasting Aura", 2, 3, 5,[getTalentID("Hermetic Touch"),1]]; i++;
talent[i] = [1, "Lethargy", 4, 4, 5,[getTalentID("Expansive Trickery"),3]]; i++;
talent[i] = [1, "Maelstrom", 1, 5, 5,[getTalentID("Wracking Energy"),3]]; i++;
talent[i] = [1, "Strangulation", 2, 7, 5,[getTalentID("Improved Force Choke"),2]]; i++;

treeStartStop[t] = i -1;
t++;

/* updated for beastmastery */
//BEAST  talents
talent[i] = [2, "Enhanced Skill Acquisition", 4, 1, 1,[41,1]]; i++;
talent[i] = [2, "Creature Knowledge", 1, 2, 1,[42,1]]; i++;
talent[i] = [2, "Attack!", 1, 3, 1,[43,1]]; i++;
talent[i] = [2, "Incubation", 1, 4, 1]; i++;

talent[i] = [2, "Beast Empathy", 3, 5, 1,[getTalentID("Incubation"),1]]; i++;
talent[i] = [2, "Stupid Pet Tricks", 1, 6, 1,[getTalentID("Beast Empathy"),3]]; i++;
talent[i] = [2, "Create Mount", 1, 7, 1,[getTalentID("Stupid Pet Tricks"),1]]; i++;
talent[i] = [2, "Soothing Comfort", 1, 1, 2,[getTalentID("Enhanced Skill Acquisition"),4]]; i++;
talent[i] = [2, "Swift Recovery", 1, 2, 2,[getTalentID("Soothing Comfort"),1]]; i++;
talent[i] = [2, "Mending", 1, 3, 2,[getTalentID("Swift Recovery"),1]]; i++;
talent[i] = [2, "Additional Combat Command", 1, 4, 2,[getTalentID("Mending"),1]]; i++;
talent[i] = [2, "Incubation Quality", 3, 5, 2,[getTalentID("Beast Empathy"),3]]; i++;
talent[i] = [2, "Incubation Processing Time", 3, 7, 2,[getTalentID("Create Mount"),1]]; i++;
talent[i] = [2, "Exceptional Nutrition", 2, 1, 3,[getTalentID("Soothing Comfort"),1]]; i++;
talent[i] = [2, "Improved Pet Recovery", 1, 2, 3,[getTalentID("Exceptional Nutrition"),2]]; i++;
talent[i] = [2, "Additional Combat Command", 1, 3, 3,[getTalentID("Improved Pet Recovery"),1]]; i++;
talent[i] = [2, "Genetic Engineering", 3, 5, 3,[getTalentID("Incubation Quality"),3]]; i++;
talent[i] = [2, "DNA Harvesting", 3,6, 3,[getTalentID("Stupid Pet Tricks"),1]]; i++;
talent[i] = [2, "Dexterity Training", 2, 1, 4,[getTalentID("Exceptional Nutrition"),2]]; i++;
talent[i] = [2, "Specialized Supplements", 1, 2, 4,[getTalentID("Dexterity Training"),2]]; i++;
talent[i] = [2, "Additional Combat Command", 1, 3, 4,[getTalentID("Specialized Supplements"),1]]; i++;
talent[i] = [2, "Fortitude", 3, 1, 5,[getTalentID("Dexterity Training"),2]]; i++;
talent[i] = [2, "Savagery", 3, 2, 5,[getTalentID("Fortitude"),3]]; i++;
talent[i] = [2, "Harmonious Understanding", 3, 3, 5,[getTalentID("Savagery"),3]]; i++;


treeStartStop[t] = i -1;
t++;

/* updated for beastmastery */

i = 0;


//General Talents Begin

//Cripping Accuracy  - General
rank[i] = [
"The chance to snare an enemy with Force Throw is increased by 25% per point spent."
		];
i++;		
		
//Enhanced Strength - General
rank[i] = [
"Strength increased by 25 points per point spent."
		];
i++;		

//Enhanced Constitution - General
rank[i] = [
"Constitution increased by 25 points per point spent."
		];
i++;		
		
//Enhanced Agility - General
rank[i] = [
"Agility increased by 25 points per point spent."
		];
i++;		

//Enhanced Stamina  - General
rank[i] = [
"Stamina increased by 25 points per point spent.",
		];
i++;		

//Improved Force Throw - General
rank[i] = [
"Force Throw's damage is increased by 5% per point spent."
		];
i++;		
		
//Alacrity - General
rank[i] = [
"The chance for a blow to glance off you is increased by 2% per point spent."
		];		
i++;		


//Improved Cripping Accuracy - General
rank[i] = [ 
"Force Throw's snare duration is increased by 2 seconds per point spent."
		];
i++;		


//Exacting Strikes - General 
rank[i] = [
"Strike and sweep damage is increased by 2% per point spent."
		];
i++;		

//Force Cloak - General
rank[i] = [
"Grants the ability to use Force Cloak."
		];
i++;		

//Heightened Speed - General
rank[i] = [
"Force Run's speed is increased by 10% per point spent."
		];
i++;		

//Stance Saber Block - General  
rank[i] = [
"A passive additional 10% chance to Saber Block ranged weapons with a lightsaber, while in a stance."
		];
i++;		

//Improved Saber Block- General
rank[i] = [
"Improves the chance to block a ranged weapon's shot with a lightsaber by 8% per point spent."
		];
i++;		

//Incisiveness - General
rank[i] = [
"Increases the chance to critical strike by 1% per point spent."
		];		
i++;		

//Second Wind - General  			
rank[i] = [
"Force Run's duration is increased by 2 seconds per point spent."
		];
i++;		


//Force Shockwave - General
rank[i] = [
"Grants the ability to use Force Shockwave attacks."
		];
i++;

//Improved Force Shockwave- General
rank[i] = [
"Force Shockwave's damage is increased by 2% per point spent."
		];
i++;


//Fidelity - General
rank[i] = [
"All damage attacks are increased by 1% damage per point spent."
		];
i++;

//Improved Force Cloak - General
rank[i] = [
"Force Cloak allows a Jedi to escape from combat."
		];
i++;


//Path Talents Begin
//Cautious Nature - Path
rank[i] = [
"Constitution increased by 10 per point spent, when using a Jedi stance."
		];
i++;

//Remorseless Nature- Path
rank[i] = [
"Stamina is increased by 10 per point spent, when using a Jedi focus."
		];
i++;

//Practiced Fluidity - Path
rank[i] = [
"Glancing blow chance is increased by 1% per point spent, when using a Jedi stance."
		];
i++;		

//Soothing Aura - Path
rank[i] = [
"Self heals are increased by 25% per point spent."
		];
i++;		

//Brutality - Path 
rank[i] = [
"Critical strikes are increased by 1% per point spent, when using a Jedi focus."
		];		
i++;		

//Force Choke - Path
rank[i] = [
"Grants the ability to use Force Choke attacks."
		];
i++;		

//Reactive Response - Path 
rank[i] = [
"Each damaging strike on the Jedi increases that Jedi's action by 6% per point spent."
		];
i++;		

//Forsake Fear - Path  
rank[i] = [
"For 10 seconds, the Jedi and all members of the Jedi's party regenerate an extra 6% of their action per second."
		];
i++;		

//Cloud Minds - Path 
rank[i] = [
"Grants the ability to use Mind Trick."
		];
i++;		

//Dark Lightning - Path  
rank[i] = [
"Grants the ability to use Dark Lightning attacks."
		];
i++;				

//Tempt Hatred- Path 
rank[i] = [
"When struck, the Jedi's opponent has a 10% chance per point spent to lose 5% action."
		];
i++;		
		
//Improved Force Choke - Path 
rank[i] = [
"Force Choke's damage is increased by 4% per point spent and Force Choke's snare is increased by 4 seconds per point spent."
		];
i++;		

//Force Clarity- Path 
rank[i] = [
		"Adds a 5% chance to strike twice with a lightsaber."
		];
i++;		
		
//Hermetic Touch - Path 

rank[i] = [
"Self heals gain the ability to cure and temporarily become immune to all damage over time attacks."
		];
i++;
	
//Expansive Trickery- Path
rank[i]=[
"Increases the radius for Cloud Minds by 2 meters per point spent."
		];
i++;		
		
//Wracking Energy - Path
rank[i]=[
"Adds a snare debuff to Force Lightning.  Each point spent increases the duration of the snare by 2 seconds per point spent."
		];
i++;		



		
//Anticipate Agression - Path
rank[i]=[
"All damage dealt to Jedi is reduced by 6%."
		];
i++;		
		
//Lasting Aura - Path
rank[i]=[
"Increases the immunity to damage over time effects by 3 seconds per point spent."
	];
i++;		

//Lethargy - Path
rank[i]=[
"The duration of the Mind Trick and Cloud Minds debuffs on affected targets are increased by two seconds for every point."
	];
i++;		
		
//Maelstrom- Path 
rank[i]=[
"Grants the ability to use the Maelstrom attacks, which are an area effect lightning attack."
		];
i++;		
	
//Strangulation - Path
rank[i]=[
"Adds a 5% chance per point spent to root an opponent, when using a Force Choke attack."
		];
i++;	

//Path Talents End^^



/* updated for beastmastery */
//beastmaster Talents Begin

//Enhanced Skill Acquisition - beastmaster
rank[i] = [
"This skill improves your chance to learn abilities that you may use to train your pet."
		];
i++;

//Creature Knowledge- beastmaster
rank[i] = [
"Enables you to gather detailed knowledge about a creature."
		];
i++;

//Attack! - beastmaster
rank[i] = [
"You may command a beast under your control to attack anything you are able to attack yourself."
		];
i++;		

//Incubation - beastmaster
rank[i] = [
"Allows you to use an Incubator to bio-engineer new beasts. You will also receive the \"Revive Beast\" command."
		];
i++;		

//Beast Empathy - beastmaster 
rank[i] = [
"Improves your ability to keep your beasts happy."
		];		
i++;		

//Stupid Pet Tricks - beastmaster
rank[i] = [
"Beasts under your control will do tricks at your command."
		];
i++;		

//Create Mount - beastmaster 
rank[i] = [
"Allows you to make an incubated egg into a mount."
		];
i++;		

//Soothing Comfort - beastmaster  
rank[i] = [
"Removes a harmful effect, state or damage over time effect from your beast."
		];
i++;		

//Swift Recovery - beastmaster 
rank[i] = [
"Reduces the amount of time it takes to revive your beast from incapacitation."
		];
i++;		

//Mending - beastmaster  
rank[i] = [
"Restores health to your injured beast."
		];
i++;				

//Additional Combat Command - beastmaster 
rank[i] = [
"You may teach your beast an additional combat command."
		];
i++;		
		
//Incubation Quality - beastmaster 
rank[i] = [
"Can provide up to 20% bonus to your enzyme qualities during incubation."
		];
i++;		

//Incubation Processing Time - beastmaster 
rank[i] = [
		"Reduces the time required to incubate and hatch a beast. Will reduce the time by 2,5 and 8 hours for every point spent."
		];
i++;		
		
//Exceptional Nutrition - beastmaster 

rank[i] = [
"Increases the Health of all beasts under your control by up to 100%."
		];
i++;
	
//Improved Pet Recovery - beastmaster
rank[i]=[
"Increases the amount of health your beast receives when you revive it from incapacitation."
		];
i++;		
		
//Additional Combat Command - beastmaster
rank[i]=[
"You may teach your beast an additional combat command."
		];
i++;		
		
//Genetic Engineering - beastmaster
rank[i]=[
"Grants a bonus to Genetic Engineering."
		];
i++;		
		

//DNA Harvesting - beastmaster
rank[i]=[
"A bonus to DNA Harvesting. Every 10 points gives you a 5% bonus to minimum quality from DNA extraction."
	];
i++;		
		
//Dexterity Training - beastmaster 
rank[i]=[
"Increase the attack speed of beasts under your control by up to 100%."
		];
i++;		
	
//Specialized Supplements - beastmaster
rank[i]=[
"Increase the Health and Action regeneration rate of your beast by up to 100%."
		];
i++;	

//Additional Combat Command - beastmaster
rank[i]=[
"You may teach your beast an additional combat command."
	];
i++;		
		
//Fortitude - beastmaster 
rank[i]=[
"Increase the armor of beasts under your control by 100%."
		];
i++;		
	
//Savagery  - beastmaster
rank[i]=[
"Increase the damage caused by beasts under your control by 100%."
		];
i++;	


//Harmonious Understanding  - beastmaster
rank[i]=[
"You and your beast are able to anticipate each other's needs. Reduces your penalty when controlling a beast."
		];
i++;	

//beastmaster Talents End^^

/* updated for beastmastery */

i=0;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;


StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;

/* updated for beastmastery */
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
StateArray[i]=[0];i++;
/* updated for beastmastery */
i = 0;
t = 0;
var nlclass = "Jedi";

nltree[i] = "General"; i++;
nltree[i] = "Path"; i++;

/* updated for beastmastery */

nltree[i] = "Beast Mastery"; i++;

/* updated for beastmastery */

i = 0;
//General
//The last parameter for checking default
nltalent[i] = ["Crippling Accuracy","m","FORCE THROW SNARE",25,50,75,100,1]; i++;
nltalent[i] = ["Enhanced Strength","m","STRENGTH|Modifies Strength",25,50,"--","--",1]; i++;
nltalent[i] = ["Enhanced Constitution","m","CONSTITUTION|Modifies Constitution",25,50,"--","--",1]; i++;
nltalent[i] = ["Enhanced Agility","m","AGILITY|Modifies Agility",25,50,"--","--",1]; i++; 
nltalent[i] = ["Enhanced Stamina","m","STAMINA|Modifies Stamina",25,50,"--","--",1]; i++;
nltalent[i] = ["Improved Force Throw","m","FORCE THROW DAMAGE",5,10,"--","--",0]; i++;
nltalent[i] = ["Alacrity","m","ALL GLANCE",2,4,6,8,0]; i++;
nltalent[i] = ["Improved Crippling Accuracy","m","THROW SNARE DURATION",2,4,6,"--",0]; i++;
nltalent[i] = ["Exacting Strikes","m","SWEEP DAMAGE",2,4,6,8,0,"STRIKE DAMAGE",2,4,6,8]; i++;
nltalent[i] = ["Force Cloak","s","Force Cloak: This ability allows invisibility for a duration of time.  With Improved Force Cloak, Force Cloak can escape combat.","--","--","--","--",0]; i++;
nltalent[i] = ["Heightened Speed","m","FORCE RUN MOVEMENT",10,20,30,40,0]; i++;
nltalent[i] = ["Stance Saber Block","m","STANCE SABER BLOCK",10,"--","--","--",0]; i++;
nltalent[i] = ["Improved Saber Block","m","SABER BLOCK",8,16,24,"--",0]; i++;
nltalent[i] = ["Incisiveness","m","CRITICAL CHANCE INCREASE|Increase critical chance.",1,2,3,4,0]; i++;
nltalent[i] = ["Second Wind","m","FORCE RUN DURATION",2,4,"--","--",0]; i++;
nltalent[i] = ["Force Shockwave|FORCE SHOCKWAVE 1: CRUMPLE","s","Force Crumple: A crushing Force cone effect attack that causes damage to your opponents in front of you.","--","--","--","--",0]; i++;
nltalent[i] = ["Improved Force Shockwave","m","SHOCKWAVE DAMAGE",2,4,6,"--",0]; i++;
nltalent[i] = ["Fidelity","m","ALL ATTACKS DAMAGE|Percent damage increase.",1,2,3,4,0]; i++;
nltalent[i] = ["Improved Force Cloak","m","ESCAPE COMBAT",1,"--","--","--",0]; i++;


treeStartStop[t] = i -1;
t++;

//Path

nltalent[i] = ["Cautious Nature","m","STANCE CONSTITUTION",10,20,30,40,1]; i++;
nltalent[i] = ["Remorseless Nature","m","FOCUS STAMINA",10,20,30,40,1]; i++;
nltalent[i] = ["Practiced Fluidity","m","STANCE GLANCE",1,2,3,4,0]; i++;
nltalent[i] = ["Soothing Aura","m","HEAL DAMAGE",25,50,75,100,0]; i++;
nltalent[i] = ["Brutality","m","FOCUS CRITICAL",1,2,3,4,0]; i++;
nltalent[i] = ["Force Choke|FORCE CHOKE 1: GRAPPLE","s","Grapple: A light choke attack that damages your opponent.","--","--","--","--",0]; i++;
nltalent[i] = ["Reactive Response","m","DAMAGE ADDS TO ACTION",6,12,"--","--",0]; i++;
nltalent[i] = ["Forsake Fear","s","Forsake Fear: A meditative state that focuses the Force to nearby party members and yourself to regenerate action.  Combat damage does not interrupt this meditative state.","--","--","--","--",0]; i++;
nltalent[i] = ["Cloud Minds|MIND TRICK 2: CLOUD MINDS","s","Cloud Minds: An ability that briefly confuses opponents in the area causing them to forget you as a threat. <br><br>Weaker attack: Mind Trick","--","--","--","--",0]; i++;
nltalent[i] = ["Dark Lightning|FORCE LIGHTNING 2: SHOCK","s","Force Shock: Channel the Force into an electric shock that sends electricity burning through your opponent.<br><br>Weaker attack: Force Spark","--","--","--","--",0]; i++;
nltalent[i] = ["Tempt Hatred","m","DAMAGE ATTACKER ACTION",10,20,"--","--",0]; i++;
nltalent[i] = ["Improved Force Choke","m","CHOKE DAMAGE",4,8,"--","--",0,"CHOKE DURATION",4,8,"--","--"]; i++;
nltalent[i] = ["Force Clarity","m","SECOND ATTACK",5,"--","--","--",0]; i++;
nltalent[i] = ["Hermetic Touch","m","ALL DOT IMMUNITY",1,"--","--","--",0,"HEAL DOT DAMAGE",100,"--","--","--"]; i++;
nltalent[i] = ["Expansive Trickery","m","CLOUD MINDS SIZE",2,4,6,"--",0]; i++;
nltalent[i] = ["Wracking Energy","m","LIGHTNING DURATION",2,4,6,"--",0,"FORCE LIGHTNING SNARE",100,"--","--","--"]; i++;
nltalent[i] = ["Anticipate Aggression","m","CONVERT DAMAGE",6,"--","--","--",0]; i++;
nltalent[i] = ["Lasting Aura","m","IMMUNITY DURATION",3,6,"--","--",0]; i++;
nltalent[i] = ["Lethargy","m","MIND TRICK DURATION",2,4,6,8,0]; i++;
nltalent[i] = ["Maelstrom|FORCE MAELSTROM 1","s","Force Maelstrom 1: A cone effect Force Lightning attack.","--","--","--","--",0]; i++;
nltalent[i] = ["Strangulation","m","CHOKE ROOT",5,10,"--","--",0]; i++;



treeStartStop[t] = i -1;
t++;


//Beast
/* updated for beastmastery */
//Beastmaster

nltalent[i] = ["Enhanced Skill Acquisition","m","Ability Acquisition Bonus|Increase you chance to learn abilities through creature knowledge.",3,7,11,15,0]; i++;
nltalent[i] = ["Creature Knowledge|Creature knowledge","s","Creature knowledge: Enables you to gather detailed knowledge about a creature. This ability is used to attempt to learn an ability a creature is using against you as well as to observe an ability the creature is using on themselves that you may later teach to your Beast Master pets.","--","--","--","--",0]; i++;
nltalent[i] = ["Attack|Attack!","s","Attack: Order your beast to attack any target you are able to attack yourself.","--","--","--","--",0]; i++;
nltalent[i] = ["Incubation|Extract DNA","s","Extract DNA: Ability used by Beast Masters to extract DNA of creatures. The DNA is stored in containers to keep the sample viable.","--","--","--","--",1]; i++;
nltalent[i] = ["Beast Empathy","m","Beast Happiness|Improves Beast Happiness.",5,10,15,"--",0]; i++;
nltalent[i] = ["Stupid Pet Tricks|Trick 1","s","Trick 1: Asks your beast to perform a trick.","--","--","--","--",0]; i++;
nltalent[i] = ["Create Mount","m","Create Mount|Turn a creature egg into a mount",100,"--","--","--",0]; i++;
nltalent[i] = ["Soothing Comfort|Soothing Comfort","s","Soothing Comfort: Removes a harmful state, effect or damage over time effect from your beast.","--","--","--","--",0]; i++;
nltalent[i] = ["Swift Recovery","m","Beast Revive Speed|Decrease the time it takes to revive your pet.",10,"--","--","--",0]; i++;
nltalent[i] = ["Mending|Heal Beast (Mark 1)","s","Heal Beast (Mark 1): Restores some of your beast's health.","--","--","--","--",0]; i++;
nltalent[i] = ["Additional Combat Command","m","Additional Combat Command|You beast can learn one additional combat command.",1,"--","--","--",0]; i++;
nltalent[i] = ["Incubation Quality","m","Incubation Quality|Increases enzyme quality during incubation.",5,10,20,"--",0]; i++;
nltalent[i] = ["Incubation Processing Time","m","Incubation Processing Time|Incubation processing time reduction",2,5,8,"--",0]; i++;
nltalent[i] = ["Exceptional Nutrition","m","Beast Hitpoint Percent|Increase the hitpoints of your beast.",50,100,"--","--",0]; i++;
nltalent[i] = ["Improved Pet Recovery","m","Beast Recovery Percent|Increase the amount of health you pet will have when revived.",50,"--","--","--",0]; i++;
nltalent[i] = ["Additional Combat Command","m","Additional Combat Command|You beast can learn one additional combat command.",1,"--","--","--",0]; i++;
nltalent[i] = ["Genetic Engineering","m","Genetic Engineering|Genetic Engineering.",30,60,100,"--",0]; i++;
nltalent[i] = ["DNA Harvesting","m","DNA Quality|Increases the minimum quality from extraction.",30,60,100,"--",0]; i++;
nltalent[i] = ["Dexterity Training","m","Beast Attack Speed Percent|Increase the attack speed of your beast.",50,100,"--","--",0]; i++;
nltalent[i] = ["Specialized Supplements","m","Beast Regeneration Rate|Increase the regeneration rate of your beast",100,"--","--","--",0]; i++;
nltalent[i] = ["Additional Combat Command","m","Additional Combat Command|You beast can learn one additional combat command.",1,"--","--","--",0]; i++;
nltalent[i] = ["Fortitude","m","Beast Armor Percent|Increase the armor value of your beast.",30,60,100,"--",0]; i++;
nltalent[i] = ["Savagery","m","Beast Damage Percent|Increase the damage value of your beast.",30,60,100,"--",0]; i++;
nltalent[i] = ["Harmonious Understanding","m","Attention Penalty Reduction|Reduces your penalty when controlling a beast.",5,15,25,"--",0]; i++;

/* updated for beastmastery */


treeStartStop[t] = i -1;
t++;


var textLevelRequired = "Level Required";
var textPointsLeft = "Points Left";
var textPointsSpent = "Points Spent";
var textPoint = "point";
var textPoints = "points";

var textToSave = "Direct Link URL - Right-click and copy the URL to share your build with friends:";

var theURLtoCopy = "http://starwarsgalaxies.station.sony.com/expertisecalculators/main/"+ className +"/index.vm?section=";
//var theURLtoCopy = "http://devnet.etisbew.net/soe2/"+ className +"/index.html";


