function Skill(name,min_points,spells,prereq,desc) {
	this.name = name
	this.min_points = min_points
	this.desc = desc
	this.spells = spells
	this.prereq = prereq
}

function Attribute(Hth,Egy,Str,Dex,Int) {
  this.str = Str
  this.dex = Dex
  this.health = Hth
  this.inte = Int
  this.energy = Egy
}


function SpellInfo(spellinfo) {
	this.spellinfo = spellinfo
}

function setmastery(Skills,Attributes) {
  this.Skills = Skills
  this.masteryid = 3
  this.masteryname = " Close Combat "
  this.Attributes = Attributes  
}


// set attributes
if (!AttributesBase[0]) { // base att's are only set one time
    AttributesBase[0] = new Attribute(300,300,50,50,50) // base stats for characters
}
Attributes = new Array();
Attributes[1] = new Attribute(40,0,2,2,0)
Attributes[2] = new Attribute(80,0,4,4,0)
Attributes[3] = new Attribute(120,0,6,6,0)
Attributes[4] = new Attribute(160,0,8,8,0)
Attributes[5] = new Attribute(200,0,10,10,0)
Attributes[6] = new Attribute(240,0,12,12,0)
Attributes[7] = new Attribute(280,0,14,14,0)
Attributes[8] = new Attribute(320,0,16,16,0)
Attributes[9] = new Attribute(360,0,18,18,0)
Attributes[10] = new Attribute(400,0,20,20,0)
Attributes[11] = new Attribute(440,0,22,22,0)
Attributes[12] = new Attribute(480,0,24,24,0)
Attributes[13] = new Attribute(520,0,26,26,0)
Attributes[14] = new Attribute(560,0,28,28,0)
Attributes[15] = new Attribute(600,0,30,30,0)
Attributes[16] = new Attribute(640,0,32,32,0)
Attributes[17] = new Attribute(680,0,34,34,0)
Attributes[18] = new Attribute(720,0,36,36,0)
Attributes[19] = new Attribute(760,0,38,38,0)
Attributes[20] = new Attribute(800,0,40,40,0)
Attributes[21] = new Attribute(840,0,42,42,0)
Attributes[22] = new Attribute(880,0,44,44,0)
Attributes[23] = new Attribute(920,0,46,46,0)
Attributes[24] = new Attribute(960,0,48,48,0)
Attributes[25] = new Attribute(1000,0,50,50,0)
Attributes[26] = new Attribute(1040,0,52,52,0)
Attributes[27] = new Attribute(1080,0,54,54,0)
Attributes[28] = new Attribute(1120,0,56,56,0)
Attributes[29] = new Attribute(1160,0,58,58,0)
Attributes[30] = new Attribute(1200,0,60,60,0)
Attributes[31] = new Attribute(1240,0,62,62,0)
Attributes[32] = new Attribute(1280,0,64,64,0)



Skills = new Array();

// Attack of Janus 
 Spells = new Array();
 Spells[1] = new SpellInfo("15% Chance to be Used, 4-8% Reduction to Enemy’s Health ")
 Spells[2] = new SpellInfo("17% Chance to be Used, 5-10% Reduction to Enemy’s Health ")
 Spells[3] = new SpellInfo("19% Chance to be Used, 6-11% Reduction to Enemy’s Health ") 
 Spells[4] = new SpellInfo("21% Chance to be Used, 7-13% Reduction to Enemy’s Health")
 Spells[5] = new SpellInfo("23% Chance to be Used, 8-14% Reduction to Enemy’s Health ")
 Spells[6] = new SpellInfo("25% Chance to be Used, 9-15% Reduction to Enemy’s Health ")
 Spells[7] = new SpellInfo("27% Chance to be Used, 10-17% Reduction to Enemy’s Health ")
 Spells[8] = new SpellInfo("29% Chance to be Used, 11-18% Reduction to Enemy’s Health ")
 Spells[9] = new SpellInfo("31% Chance to be Used, 12-20% Reduction to Enemy’s Health ") 
 Spells[10] = new SpellInfo("33% Chance to be Used, 13-21% Reduction to Enemy’s Health ")
 Spells[11] = new SpellInfo("35% Chance to be Used, 14-22% Reduction to Enemy’s Health ")
 Spells[12] = new SpellInfo("37% Chance to be Used, 15-24% Reduction to Enemy’s Health ")
Skills[0] = new Skill("Attack of Janus ",1,Spells,-1,"	A technique, that uses a weapon in each hand.. This skill requires two weapons. Passive")   

// Shield Attack
 Spells = new Array();
 Spells[1] = new SpellInfo("9 Energy, 360 Arc of Attack, 1 Target, +8 Damage, +3% Damage, +20% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[2] = new SpellInfo("15 Energy, 360 Arc of Attack, 1 Target, +16 Damage, +4% Damage, +26% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[3] = new SpellInfo("21 Energy, 360 Arc of Attack, 1 Target, +24 Damage, +6% Damage, +31% Chance to Fumble Attacks for 3 Second(s) ") 
 Spells[4] = new SpellInfo("27 Energy, 360 Arc of Attack, 1 Target, +34 Damage, +7% Damage, +37% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[5] = new SpellInfo("33 Energy, 360 Arc of Attack, 2 Target, +44 Damage, +8% Damage, +42% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[6] = new SpellInfo("39 Energy, 360 Arc of Attack, 2 Target, +8 Damage, +10% Damage, +48% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[7] = new SpellInfo("45 Energy, 360 Arc of Attack, 2 Target, +68 Damage, +11% Damage, +53% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[8] = new SpellInfo("51 Energy, 360 Arc of Attack, 2 Target, +82 Damage ,+12% Damage ,+59% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[9] = new SpellInfo("57 Energy, 360 Arc of Attack, 3 Target, +96 Damage, +14% Damage, +64% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[10] = new SpellInfo("63 Energy, 360 Arc of Attack, 3 Target, +112 Damage, +15% Damage, +75% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[11] = new SpellInfo("69 Energy, 360 Arc of Attack, 3 Target, +130 Damage, +16% Damage, +75% Chance to Fumble Attacks for 3 Second(s) ")
 Spells[12] = new SpellInfo("75 Energy, 360 Arc of Attack, 3 Target, +150 Damage, +18% Damage, +81% Chance to Fumble Attacks for 5 Second(s) ")
Skills[2] = new Skill("Shield Attack ",1,Spells,-1," A good fighter uses his shield not only for defense but as a weapon as well. This skill requires a shield. Attack skill.")  

// Battle Aura
 Spells = new Array();
 Spells[1] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +3 Damage, 3.4% Chance of 4 Second(s) of Skill Disruption ")
 Spells[2] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +8 Damage, 3.8% Chance of 4 Second(s) of Skill Disruption ")
 Spells[3] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +12 Damage, 4.2% Chance of 4 Second(s) of Skill Disruption ") 
 Spells[4] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +17 Damage, 4.6% Chance of 4 Second(s) of Skill Disruption ")
 Spells[5] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +23 Damage, 5.0% Chance of 4 Second(s) of Skill Disruption ")
 Spells[6] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +29 Damage, 5.4% Chance of 4 Second(s) of Skill Disruption ")
 Spells[7] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +35 Damage, 5.8% Chance of 4 Second(s) of Skill Disruption ")
 Spells[8] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +41 Damage, 6.2% Chance of 4 Second(s) of Skill Disruption ")
 Spells[9] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +47 Damage, 6.6% Chance of 4 Second(s) of Skill Disruption ") 
 Spells[10] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +54 Damage, 7.0% Chance of 4 Second(s) of Skill Disruption ")
 Spells[11] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +57 Damage, 7.4% Chance of 4 Second(s) of Skill Disruption ")
 Spells[12] = new SpellInfo("1 Active Energy Cost per Second, 5.0 Meter Radius, +64 Damage, 7.8% Chance of 4 Second(s) of Skill Disruption ")
Skills[3] = new Skill("Battle Aura ",4,Spells,-1," When an experienced warrior is involved in combat he has the battle aura. Enemies are hit harder .Toggled aura.")   

// Endorphin
 Spells = new Array();
 Spells[1] = new SpellInfo("1 Energy Cost, 1 Charge Level(s), +20% Movement, +12% Damage Resistance ")
 Spells[2] = new SpellInfo("1 Energy Cost, 2 Charge Level(s), +22% Movement, +14% Damage Resistance ")
 Spells[3] = new SpellInfo("1 Energy Cost, 3 Charge Level(s), +24% Movement, +16% Damage Resistance ") 
 Spells[4] = new SpellInfo("1 Energy Cost, 4 Charge Level(s), +26% Movement, +16% Damage Resistance ")
 Spells[5] = new SpellInfo("1 Energy Cost, 5 Charge Level(s), +28% Movement, +20% Damage Resistance ")
 Spells[6] = new SpellInfo("1 Energy Cost, 6 Charge Level(s), +30% Movement, +22% Damage Resistance ")
 Spells[7] = new SpellInfo("1 Energy Cost, 7 Charge Level(s), +32% Movement, +24% Damage Resistance ") 
 Spells[8] = new SpellInfo("1 Energy Cost, 8 Charge Level(s), +34% Movement, +26% Damage Resistance ")
 Spells[9] = new SpellInfo("1 Energy Cost, 9 Charge Level(s), +36% Movement, +28% Damage Resistance ")
 Spells[10] = new SpellInfo("1 Energy Cost, 10 Charge Level(s), +38% Movement, +30% Damage Resistance ")
 Spells[11] = new SpellInfo("1 Energy Cost, 11 Charge Level(s), +40% Movement, +32% Damage Resistance ")
 Spells[12] = new SpellInfo("1 Energy Cost, 12 Charge Level(s)s, +42% Movement, +34% Damage Resistance ")
Skills[5] = new Skill("Endorphin ",4,Spells,-1," During battle the combatants forgets wounds and pain and therefore shows more resiliance. Apply this skill to your left mouse button skill. This skill does not work with staffs.")   

// Feint Attack
 Spells = new Array();
 Spells[1] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 1  Targets Maximum, 1 Charge Level(s), +8% Damage ,+22 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[2] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 1  Targets Maximum, 1 Charge Level(s), +9% Damage, +28 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[3] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 1  Targets Maximum, 1 Charge Level(s), +10% Damage, +33 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ") 
 Spells[4] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 1  Targets Maximum, 1 Charge Level(s), +11% Damage, +39 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[5] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s), +12% Damage, +44 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[6] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s)s, +13% Damage, +50 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[7] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s), +14% Damage, +55 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[8] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s), +15% Damage, +61 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[9] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s), +16% Damage, +66 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
 Spells[10] = new SpellInfo("1 Energy Cost, 90 Arc of Attack, 2  Targets Maximum, 1 Charge Level(s), +17% Damage, +72 Piercing Damage, 10.0% Chance of 15% Reduction to Enemy’s Health, 15% Chance for 3 Second(s) Stun ")
Skills[6] = new Skill("Feint Attack ",4,Spells,-1," Through distracting the enemy with a feint, the warrior can conceal his plan fro a deadly strike. Apply this skill to your left mouse button skill. This skill requires a spear.")   

// Discouragement
 Spells = new Array();
 Spells[1] = new SpellInfo("1 Active Energy Cost per Second, 5% Reduced Resistance for 3.0 Second(s), 2.2% Chance of 3 Second(s) of Fear, 5.0% Chance of 8% Slowed Attack ")
 Spells[2] = new SpellInfo("1 Active Energy Cost per Second, 6% Reduced Resistance for 3.0 Second(s), 2.4% Chance of 3 Second(s) of Fear, 7.0% Chance of 10% Slowed Attack ")
 Spells[3] = new SpellInfo("1 Active Energy Cost per Second, 7% Reduced Resistance for 3.0 Second(s), 2.6% Chance of 3 Second(s) of Fear, 9.0% Chance of 14% Slowed Attack ") 
 Spells[4] = new SpellInfo("1 Active Energy Cost per Second, 8% Reduced Resistance for 3.0 Second(s), 2.8% Chance of 3 Second(s) of Fear, 11.0% Chance of 19% Slowed Attack ")
 Spells[5] = new SpellInfo("1 Active Energy Cost per Second, 9% Reduced Resistance for 3.0 Second(s), 3.0% Chance of 3 Second(s) of Fear, 13.0% Chance of 24% Slowed Attack ")
 Spells[6] = new SpellInfo("1 Active Energy Cost per Second, 10% Reduced Resistance for 3.0 Second(s), 3.2% Chance of 3 Second(s) of Fear, 15.0% Chance of 29% Slowed Attack ")
 Spells[7] = new SpellInfo("1 Active Energy Cost per Second, 11% Reduced Resistance for 3.0 Second(s), 3.4% Chance of 3 Second(s) of Fear, 17.0% Chance of 34% Slowed Attack ")
 Spells[8] = new SpellInfo("1 Active Energy Cost per Second, 12% Reduced Resistance for 3.0 Second(s), 3.6% Chance of 3 Second(s) of Fear, 19.0% Chance of 38% Slowed Attack ")
 Spells[9] = new SpellInfo("1 Active Energy Cost per Second, 13% Reduced Resistance for 3.0 Second(s), 3.8% Chance of 3 Second(s) of Fear, 21.0% Chance of 43% Slowed Attack ") 
 Spells[10] = new SpellInfo("1 Active Energy Cost per Second, 14% Reduced Resistance for 3.0 Second(s), 4.0% Chance of 3 Second(s) of Fear, 23.0% Chance of 48% Slowed Attack ")
 Spells[11] = new SpellInfo("1 Active Energy Cost per Second, 15% Reduced Resistance for 3.0 Second(s), 4.2% Chance of 3 Second(s) of Fear, 25.0% Chance of 53% Slowed Attack ")
 Spells[12] = new SpellInfo("1 Active Energy Cost per Second, 16% Reduced Resistance for 3.0 Second(s), 4.4% Chance of 3 Second(s) of Fear, 27.0% Chance of 58% Slowed Attack ")
Skills[7] = new Skill("Discouragement ",10,Spells,3," The battle aura discourages the enemies.")   

// Moirae's Attack
 Spells = new Array();
 Spells[1] = new SpellInfo("8% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 22% Slower Attack for 3.0 Second(s) ")
 Spells[2] = new SpellInfo("10% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 25% Slower Attack for 3.0 Second(s) ")
 Spells[3] = new SpellInfo("15% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 27% Slower Attack for 3.0 Second(s) ") 
 Spells[4] = new SpellInfo("18% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 30% Slower Attack for 3.0 Second(s) ")
 Spells[5] = new SpellInfo("23% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 32% Slower Attack for 3.0 Second(s) ")
 Spells[6] = new SpellInfo("25% Chance to be Used, 360 Arc of Attack, 3  Targets Maximum, 35% Slower Attack for 3.0 Second(s) ")
Skills[8] = new Skill("Moirae's Attack ",10,Spells,0," Three enemies are hit at once.")   

// Sharpened Blade
 Spells = new Array();
 Spells[1] = new SpellInfo("8.0 Meter Radius, +9% Pierce Damage, 57 Bleeding Damage over 3 Second(s), 10 Pierce Damage, +50 Energy Reserved ")
 Spells[2] = new SpellInfo("8.0 Meter Radius, +10% Pierce Damage, 84 Bleeding Damage over 3 Second(s), 22 Pierce Damage , +52 Energy Reserved ")
 Spells[3] = new SpellInfo("8.0 Meter Radius, +11% Pierce Damage, 111 Bleeding Damage over 3 Second(s), 31 Pierce Damage, +54 Energy Reserved ") 
 Spells[4] = new SpellInfo("8.0 Meter Radius, +12% Pierce Damage, 184 Bleeding Damage over 3 Second(s), 42 Pierce Damage, +56 Energy Reserved ")
 Spells[5] = new SpellInfo("8.0 Meter Radius, +13% Pierce Damage, 220 Bleeding Damage over 3 Second(s), 52 Pierce Damage, +58 Energy Reserved ")
 Spells[6] = new SpellInfo("8.0 Meter Radius, +14% Pierce Damage, 256 Bleeding Damage over 3 Second(s), 63 Pierce Damage, +60 Energy Reserved ")
 Spells[7] = new SpellInfo("8.0 Meter Radius, +15% Pierce Damage, 292 Bleeding Damage over 3 Second(s), 72 Pierce Damage, +62 Energy Reserved ")
 Spells[8] = new SpellInfo("8.0 Meter Radius, +16% Pierce Damage, 328 Bleeding Damage over 3 Second(s), 83 Pierce Damage, +64 Energy Reserved ")
Skills[9] = new Skill("Sharpened Blade ",10,Spells,-1," If the soldier keeps his weapons sharp, they cut deeper and cause bleeding wounds. This skill requires a sword, axe or spear.")   

// Shield Ram
 Spells = new Array();
 Spells[1] = new SpellInfo("8% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 9-16 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[2] = new SpellInfo("10% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 15-25 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[3] = new SpellInfo("12% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 21-34 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ") 
 Spells[4] = new SpellInfo("14% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 28-45 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[5] = new SpellInfo("16% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 35-57 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[6] = new SpellInfo("18% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 42-70 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[7] = new SpellInfo("20% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 50-85 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[8] = new SpellInfo("22% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 58-101 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[9] = new SpellInfo("24% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 66-119 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[10] = new SpellInfo("26% Chance to be Used, 120 Arc of Attack, 3  Targets Maximum, 75-140 Damage, 50 Reduced Offensive Ability for 3 Second(s), 3 Second(s) of Skill Disruption ")
Skills[10] = new Skill("Shield Ram ",10,Spells,2," The shield is rammed into the enemies, crushing their bodies and minds. This skill requires a shield.")   

// Double Kill
 Spells = new Array();
 Spells[1] = new SpellInfo("9% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 24 Wound Damage over 4 Second(s), +9% Damage ")
 Spells[2] = new SpellInfo("12% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 36 Wound Damage over 4 Second(s), +11% Damage ")
 Spells[3] = new SpellInfo("15% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 40 Wound Damage over 4 Second(s), +13% Damage ") 
 Spells[4] = new SpellInfo("18% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 52 Wound Damage over 4 Second(s), +15% Damage ")
 Spells[5] = new SpellInfo("21% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 56 Wound Damage over 4 Second(s), +17% Damage ")
 Spells[6] = new SpellInfo("24% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 68 Wound Damage over 4 Second(s), +19% Damage ")
 Spells[7] = new SpellInfo("27% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 72 Wound Damage over 4 Second(s), +21% Damage ")
 Spells[8] = new SpellInfo("30% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 105 Wound Damage over 4 Second(s), +23% Damage ")
 Spells[9] = new SpellInfo("33% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 110 Wound Damage over 4 Second(s), +25% Damage ")
 Spells[10] = new SpellInfo("36% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 125 Wound Damage over 4 Second(s), +27% Damage ")
 Spells[11] = new SpellInfo("39% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 135 Wound Damage over 4 Second(s), +29% Damage ")
 Spells[12] = new SpellInfo("42% Chance to be Used, 90 Arc of Attack, 2  Targets Maximum, 145 Wound Damage over 4 Second(s), +31% Damage ")
Skills[11] = new Skill("Double Kill ",16,Spells,5," Chance to hit two Targets at the same time. This skill requires a sword, Axe or Mace.")   


// Critical Hit
 Spells = new Array();
 Spells[1] = new SpellInfo("6% Chance of Activating, 4.5 Second(s) Duration, +17% Defensive Ability, +30 Offensive Ability, +105% Offensive Ability ")
 Spells[2] = new SpellInfo("6% Chance of Activating, 5.0 Second(s) Duration, +20% Defensive Ability, +35 Offensive Ability, +110% Offensive Ability ")
 Spells[3] = new SpellInfo("6% Chance of Activating, 5.5 Second(s) Duration, +22% Defensive Ability, +40 Offensive Ability, +115% Offensive Ability ") 
 Spells[4] = new SpellInfo("6% Chance of Activating, 6.0 Second(s) Duration, +25% Defensive Ability, +45 Offensive Ability, +120% Offensive Ability ")
 Spells[5] = new SpellInfo("6% Chance of Activating, 6.5 Second(s) Duration, +27% Defensive Ability, +50 Offensive Ability, +125% Offensive Ability ")
 Spells[6] = new SpellInfo("6% Chance of Activating, 7.0 Second(s) Duration, +30% Defensive Ability, +55 Offensive Ability, +130% Offensive Ability ")
 Spells[7] = new SpellInfo("6% Chance of Activating, 7.5 Second(s) Duration, +32% Defensive Ability, +60 Offensive Ability, +135% Offensive Ability ")
 Spells[8] = new SpellInfo("6% Chance of Activating, 8.0 Second(s) Duration, +35% Defensive Ability, +65 Offensive Ability, +140% Offensive Ability ")
 Spells[9] = new SpellInfo("6% Chance of Activating, 8.5 Second(s) Duration, +37% Defensive Ability, +70 Offensive Ability, +145% Offensive Ability ")
 Spells[10] = new SpellInfo("6% Chance of Activating, 9.0 Second(s) Duration, +40% Defensive Ability, +75 Offensive Ability, +150% Offensive Ability ")
 Spells[11] = new SpellInfo("6% Chance of Activating, 9.5 Second(s) Duration, +42% Defensive Ability, +80 Offensive Ability, +155% Offensive Ability ")
 Spells[12] = new SpellInfo("6% Chance of Activating, 10.0 Second(s) Duration, +45% Defensive Ability, +85 Offensive Ability, +160% Offensive Ability ")
Skills[4] = new Skill("Critical Hit ",16,Spells,-1," For a certain time, the Chance to critically hit the enemies is highly increased. (Reduces DA of the enemy - TQ's display issue).")   

// War Shout
 Spells = new Array();
 Spells[1] = new SpellInfo("15 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 7% Reduction to Enemy’s Health, 2-3.2 Second(s) of Skill Disruption, 60% Chance of 1.1 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[2] = new SpellInfo("16 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 8% Reduction to Enemy’s Health, 2.1-3.5 Second(s) of Skill Disruption, 64% Chance of 1.3 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[3] = new SpellInfo("17 Energy Cost, 4 Projectile(s) ,4 Meter Radius, 100% Chance to Pass Through Enemies, 10% Reduction to Enemy’s Health, 2.2-3.8 Second(s) of Skill Disruption, 68% Chance of 1.5 Second(s) Stun, 20% Chance of 5 Second(s) Fear ") 
 Spells[4] = new SpellInfo("18 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 11% Reduction to Enemy’s Health, 2.2-4.1 Second(s) of Skill Disruption, 72% Chance of 1.7 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[5] = new SpellInfo("19 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 13% Reduction to Enemy’s Health, 2.4-4.4 Second(s) of Skill Disruption, 76% Chance of 1.9 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[6] = new SpellInfo("20 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 14% Reduction to Enemy’s Health, 2.4-4.7 Second(s) of Skill Disruption, 80% Chance of 2.1 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[7] = new SpellInfo("21 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 15% Reduction to Enemy’s Health, 2.6-5.0 Second(s) of Skill Disruption, 84% Chance of 2.3 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[8] = new SpellInfo("22 Energy Cost, 4 Projectile(s), 4.0 Meter Radius ,100% Chance to Pass Through Enemies, 17% Reduction to Enemy’s Health, 2.7-5.3 Second(s) of Skill Disruption, 88% Chance of 2.5 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
 Spells[9] = new SpellInfo("23 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 18% Reduction to Enemy’s Health, 2.8-5.6 Second(s) of Skill Disruption, 92% Chance of 2.7 Second(s) Stun, 20% Chance of 5 Second(s) Fear ") 
 Spells[10] = new SpellInfo("24 Energy Cost, 4 Projectile(s), 4.0 Meter Radius, 100% Chance to Pass Through Enemies, 20% Reduction to Enemy’s Health, 2.9-5.9 Second(s) of Skill Disruption, 96% Chance of 2.9 Second(s) Stun, 20% Chance of 5 Second(s) Fear ")
Skills[12] = new Skill("War Shout ",16,Spells,-1," In battle not only the best weapon wins, but the one with the strongest will. The warrior can show his will in a devastating shout.")   

// Blocking
 Spells = new Array();
 Spells[1] = new SpellInfo("+6% Shield Block ")
 Spells[2] = new SpellInfo("+7% Shield Block ")
 Spells[3] = new SpellInfo("+8% Shield Block ") 
 Spells[4] = new SpellInfo("+9% Shield Block ")
 Spells[5] = new SpellInfo("+10% Shield Block ")
 Spells[6] = new SpellInfo("+12% Shield Block ")
Skills[13] = new Skill("Blocking ",24,Spells,-1," Passive ability to use the shield to block attacks quicker.")   

// Hope
 Spells = new Array();
 Spells[1] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +16% Damage Absorption, +15% Damage, +5 Health Regeneration per Second ")
 Spells[2] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +19% Damage Absorption, +20% Damage, +5 Health Regeneration per Second ")
 Spells[3] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +22% Damage Absorption, +25% Damage, +6 Health Regeneration per Second ") 
 Spells[4] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +25% Damage Absorption, +30% Damage, +6 Health Regeneration per Second ")
 Spells[5] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +28% Damage Absorption, +35% Damage, +6 Health Regeneration per Second ")
 Spells[6] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +31% Damage Absorption, +40% Damage, +7 Health Regeneration per Second ")
 Spells[7] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +34% Damage Absorption, +45% Damage, +7 Health Regeneration per Second ")
 Spells[8] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +37% Damage Absorption, +50% Damage, +7 Health Regeneration per Second ")
 Spells[9] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +40% Damage Absorption, +55% Damage, +8 Health Regeneration per Second ")
 Spells[10] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +43% Damage Absorption, +60% Damage, +8 Health Regeneration per Second ")
 Spells[11] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +46% Damage Absorption, +65% Damage, +8 Health Regeneration per Second ")
 Spells[12] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +49% Damage Absorption, +70% Damage, +9 Health Regeneration per Second ")
 Spells[13] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +52% Damage Absorption, +75% Damage, +9 Health Regeneration per Second ") 
 Spells[14] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +55% Damage Absorption, +80% Damage, +9 Health Regeneration per Second ")
 Spells[15] = new SpellInfo("Activates When Health Drops Below 20%, 10 Second(s) Duration, +100 Health Restored, +58% Damage Absorption, +85% Damage, +10 Health Regeneration per Second ")
Skills[14] = new Skill("Hope ",24,Spells,-1," If the warrior is about to loose his life, there is still hope to recover and start again.")   

// Whirling Blades
 Spells = new Array();
 Spells[1] = new SpellInfo("40 Energy Cost, 3.0 Meter Radius, 50 Damage, 15 Bleeding Damage over 3 Second(s), 40% Chance of 14 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[2] = new SpellInfo("39 Energy Cost, 3.2 Meter Radius, 65 Damage, 30 Bleeding Damage over 3 Second(s), 40% Chance of 28 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[3] = new SpellInfo("38 Energy Cost, 3.4 Meter Radius, 80 Damage, 45 Bleeding Damage over 3 Second(s), 40% Chance of 42 Pierce Damage, 15% Chance of 3 Second(s) Stun ") 
 Spells[4] = new SpellInfo("37 Energy Cost, 3.6 Meter Radius, 100 Damage, 60 Bleeding Damage over 3 Second(s), 40% Chance of 56 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[5] = new SpellInfo("36 Energy Cost, 3.8 Meter Radius, 125 Damage, 75 Bleeding Damage over 3 Second(s), 40% Chance of 70 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[6] = new SpellInfo("35 Energy Cost, 4.0 Meter Radius, 150 Damage, 90 Bleeding Damage over 3 Second(s), 40% Chance of 84 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[7] = new SpellInfo("34 Energy Cost, 4.2 Meter Radius, 175 Damage, 105 Bleeding Damage over 3 Second(s), 40% Chance of 98 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[8] = new SpellInfo("33 Energy Cost, 4.4 Meter Radius, 200 Damage, 120 Bleeding Damage over 3 Second(s), 40% Chance of 112 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[9] = new SpellInfo("32 Energy Cost, 4.6 Meter Radius, 225 Damage, 135 Bleeding Damage over 3 Second(s), 40% Chance of 126 Pierce Damage, 15% Chance of 3 Second(s) Stun ") 
 Spells[10] = new SpellInfo("31 Energy Cost, 4.8 Meter Radius, 250 Damage, 150 Bleeding Damage over 3 Second(s), 40% Chance of 140 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[11] = new SpellInfo("30 Energy Cost, 5.0 Meter Radius, 275 Damage, 165 Bleeding Damage over 3 Second(s), 40% Chance of 154 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[12] = new SpellInfo("29 Energy Cost, 5.2 Meter Radius, 300 Damage, 180 Bleeding Damage over 3 Second(s), 40% Chance of 168 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
 Spells[13] = new SpellInfo("28 Energy Cost, 5.4 Meter Radius, 325 Damage, 195 Bleeding Damage over 3 Second(s), 40% Chance of 182 Pierce Damage, 15% Chance of 3 Second(s) Stun ") 
 Spells[14] = new SpellInfo("27 Energy Cost, 5.6 Meter Radius, 355 Damage, 210 Bleeding Damage over 3 Second(s), 40% Chance of 196 Pierce Damage, 15% Chance of 3 Second(s) Stun ")
Skills[15] = new Skill("Whirling Blades ",24,Spells,-1," A fast attack with two blades that hurts every one around the warrior. , Area attack. This skill requires two weapons.")   

// Spear Dance
 Spells = new Array();
 Spells[1] = new SpellInfo("65 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, -15% Damage, +300% Movement ")
 Spells[2] = new SpellInfo("68 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, -10% Damage, +300% Movement ")
 Spells[3] = new SpellInfo("71 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, -5% Damage, +300% Movement ") 
 Spells[4] = new SpellInfo("74 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, -0% Damage, +300% Movement ")
 Spells[5] = new SpellInfo("77 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, +10% Damage, +300% Movement ")
 Spells[6] = new SpellInfo("80 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, +25% Damage, +300% Movement ")
 Spells[7] = new SpellInfo("83 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, +42% Damage, +300% Movement ")
 Spells[8] = new SpellInfo("86 Energy Cost, 360 Arc of Attack, 4  Targets Maximum, +50% Damage, +300% Movement ")
Skills[16] = new Skill("Spear Dance ",24,Spells,-1," A technique, that uses the spear to fulfill a deadly dance. This skill requires a spear.")   

// Reflection
 Spells = new Array();
 Spells[1] = new SpellInfo("1.0% Chance of 2.0 Stun Retaliation, 25% Chance of 38% Damage Reflected ")
 Spells[2] = new SpellInfo("2.0% Chance of 2.0 Stun Retaliation, 25% Chance of 49% Damage Reflected ")
 Spells[3] = new SpellInfo("3.0% Chance of 2.0 Stun Retaliation, 25% Chance of 60% Damage Reflected ") 
 Spells[4] = new SpellInfo("4.0% Chance of 2.0 Stun Retaliation, 25% Chance of 72% Damage Reflected ")
 Spells[5] = new SpellInfo("5.0% Chance of 2.0 Stun Retaliation, 25% Chance of 83% Damage Reflected ")
 Spells[6] = new SpellInfo("6.0% Chance of 2.0 Stun Retaliation, 25% Chance of 94% Damage Reflected ")
 Spells[7] = new SpellInfo("7.0% Chance of 2.0 Stun Retaliation, 25% Chance of 106% Damage Reflected ")
 Spells[8] = new SpellInfo("8.0% Chance of 2.0 Stun Retaliation, 25% Chance of 117% Damage Reflected ")
Skills[17] = new Skill("Reflection ",32,Spells,-1," The warrior mimics the actions of the opponents and reflects the Damage back to them.")   

// Spartan Thrust
 Spells = new Array();
 Spells[1] = new SpellInfo("40 Energy Cost, +57 Damage, +100% Pierce Damage, 24 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[2] = new SpellInfo("42 Energy Cost, +113 Damage, +108% Pierce Damage, 40 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[3] = new SpellInfo("44 Energy Cost, +147 Damage, +115% Pierce Damage, 52 Bleeding Damage over 4 Second(s), +100% Movement ") 
 Spells[4] = new SpellInfo("46 Energy Cost, +203 Damage, +123% Pierce Damage, 68 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[5] = new SpellInfo("48 Energy Cost, +237 Damage, +130% Pierce Damage, 80 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[6] = new SpellInfo("50 Energy Cost, +293 Damage, +138% Pierce Damage, 96 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[7] = new SpellInfo("52 Energy Cost, +327 Damage, +145% Pierce Damage, 108 Bleeding Damage over 4 Second(s), +100% Movement ") 
 Spells[8] = new SpellInfo("54 Energy Cost, +383 Damage, +153% Pierce Damage, 124 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[9] = new SpellInfo("56 Energy Cost, +417 Damage, +160% Pierce Damage, 136 Bleeding Damage over 4 s Second(s), 100% Movement ")
 Spells[10] = new SpellInfo("58 Energy Cost, +473 Damage ,+168% Pierce Damage, 152 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[11] = new SpellInfo("60 Energy Cost, +507 Damage, +175% Pierce Damage, 164 Bleeding Damage over 4 Second(s), +100% Movement ")
 Spells[12] = new SpellInfo("62 Energy Cost, +563 Damage, +183% Pierce Damage, 180 Bleeding Damage over 4 Second(s), +100% Movement ")
Skills[1] = new Skill("Spartan Thrust ",32,Spells,-1," A heavy thrust is tossed with the spear, inflicting a deep wound. This skill requires a spear.")  

// Defensive Posture
 Spells = new Array();
 Spells[1] = new SpellInfo("-51% Movement, -10% Shield Recovery Time, 67 Energy Reserved, +15% Shield Block ")
 Spells[2] = new SpellInfo("-50% Movement, -11% Shield Recovery Time, 69 Energy Reserved, +15% Shield Block ")
 Spells[3] = new SpellInfo("-48% Movement, -13% Shield Recovery Time, 71 Energy Reserved, +15% Shield Block ") 
 Spells[4] = new SpellInfo("-47% Movement, -15% Shield Recovery Time, 73 Energy Reserved, +15% Shield Block ")
 Spells[5] = new SpellInfo("-44% Movement, -16% Shield Recovery Time, 75 Energy Reserved, +15% Shield Block ")
 Spells[6] = new SpellInfo("-43% Movement, -18% Shield Recovery Time, 77 Energy Reserved, +15% Shield Block ")
 Spells[7] = new SpellInfo("-42% Movement, -20% Shield Recovery Time, 79 Energy Reserved, +15% Shield Block ") 
 Spells[8] = new SpellInfo("-41% Movement, -22% Shield Recovery Time, 81 Energy Reserved, +15% Shield Block ")
 Spells[9] = new SpellInfo("-40% Movement, -24% Shield Recovery Time, 83 Energy Reserved, +15% Shield Block ")
 Spells[10] = new SpellInfo("-39% Movement, -28% Shield Recovery Time, 85 Energy Reserved, +15% Shield Block ")
 Spells[11] = new SpellInfo("-38% Movement, -30% Shield Recovery Time, 87 Energy Reserved, +15% Shield Block ")
 Spells[12] = new SpellInfo("-37% Movement, -32% Shield Recovery Time, 89 Energy Reserved, +15% Shield Block ")
 Spells[13] = new SpellInfo("-36% Movement, -34% Shield Recovery Time, 91 Energy Reserved, +15% Shield Block ") 
 Spells[14] = new SpellInfo("-35% Movement, -36% Shield Recovery Time, 93 Energy Reserved, +15% Shield Block ")
 Spells[15] = new SpellInfo("-34% Movement, -40% Shield Recovery Time, 95 Energy Reserved, +15% Shield Block ")
Skills[18] = new Skill("Defensive Posture ",32,Spells,-1," If the warrior searches for a good ground he can defend himself better, but is slower in his movements. This skill requires a shield.")   

// Enfeeble
 Spells = new Array();
 Spells[1] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 100 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[2] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 130 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[3] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 144 Offensive Ability Retaliation for 5 Second(s) ") 
 Spells[4] = new SpellInfo("75 Energy Cost , 1 Active Energy Cost per Second ,20 Second(s) Duration ,+5% Damage Absorption, 180 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[5] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 194 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[6] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 232 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[7] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 246 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[8] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 282 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[9] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 298 Offensive Ability Retaliation for 5 Second(s) ")
 Spells[10] = new SpellInfo("75 Energy Cost, 1 Active Energy Cost per Second, 20 Second(s) Duration, +5% Damage Absorption, 334 Offensive Ability Retaliation for 5 Second(s) ")
Skills[19] = new Skill("Enfeeble ",32,Spells,-1," Close Contact to the Warrior enfeebles the enemies. They will not attack as ferocious as before. (Reduces OA of the enemy - TQ's display issue).")   

// set the mastery array
Mastery[3] = new setmastery(Skills,Attributes) 

// testing
//alert(Mastery[3].Skills[19].spells[4].spellinfo)
//alert(Skills[1][0].desc)

