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 = 2
  this.masteryname = "Alchemy"
  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(20,10,0,1,3)
Attributes[2] = new Attribute(40,20,0,3,6)
Attributes[3] = new Attribute(60,30,0,4,9)
Attributes[4] = new Attribute(80,40,0,6,12)
Attributes[5] = new Attribute(100,50,0,7,15)
Attributes[6] = new Attribute(120,60,0,9,18)
Attributes[7] = new Attribute(140,70,0,10,21)
Attributes[8] = new Attribute(160,80,0,12,24)
Attributes[9] = new Attribute(180,90,0,13,27)
Attributes[10] = new Attribute(200,100,0,15,30)
Attributes[11] = new Attribute(220,110,0,16,33)
Attributes[12] = new Attribute(240,120,0,18,36)
Attributes[13] = new Attribute(260,130,0,19,39)
Attributes[14] = new Attribute(280,140,0,21,42)
Attributes[15] = new Attribute(300,150,0,22,45)
Attributes[16] = new Attribute(320,160,0,24,48)
Attributes[17] = new Attribute(340,170,0,25,51)
Attributes[18] = new Attribute(360,180,0,27,54)
Attributes[19] = new Attribute(380,190,0,28,57)
Attributes[20] = new Attribute(400,200,0,30,60)
Attributes[21] = new Attribute(420,210,0,31,63)
Attributes[22] = new Attribute(440,220,0,33,66)
Attributes[23] = new Attribute(460,230,0,34,69)
Attributes[24] = new Attribute(480,240,0,36,72)
Attributes[25] = new Attribute(500,250,0,37,75)
Attributes[26] = new Attribute(520,260,0,39,78)
Attributes[27] = new Attribute(540,270,0,40,81)
Attributes[28] = new Attribute(560,280,0,42,84)
Attributes[29] = new Attribute(580,290,0,43,87)
Attributes[30] = new Attribute(600,300,0,45,90)
Attributes[31] = new Attribute(620,310,0,46,93)
Attributes[32] = new Attribute(640,320,0,48,96)



Skills = new Array();
// Illusions
 Spells = new Array();
 Spells[1] = new SpellInfo("1 Active Energy Cost per Second, 2.0 Meter Radius, 8-14% Chance to Fumble Attacks for 4.1 Second(s), 6% Chance of 4.1 Second(s) of Confusion ")
 Spells[2] = new SpellInfo("2 Active Energy Cost per Second, 2.3 Meter Radius, 14-20% Chance to Fumble Attacks for 4.2 Second(s), 7.4% Chance of 4.2 Second(s) of Confusion ")
 Spells[3] = new SpellInfo("3 Active Energy Cost per Second, 2.3 Meter Radius, 18-27% Chance to Fumble Attacks for 4.3 Second(s), 8.8% Chance to 4.3 Second(s) of Confusion ")
 Spells[4] = new SpellInfo("4 Active Energy Cost per Second, 2.6 Meter Radius, 24-33% Chance to Fumble Attacks for 4.4 Second(s), 10.2% Chance of 4.4 Second(s) of Confusion ")
 Spells[5] = new SpellInfo("5 Active Energy Cost per Second, 2.6 Meter Radius, 27-40% Chance to Fumble Attacks for 4.5 Second(s), 11.6% Chance of 4.5 Second(s) of Confusion ")
 Spells[6] = new SpellInfo("6 Active Energy Cost per Second, 2.9 Meter Radius, 33-45% Chance to Fumble Attacks for 4.6 Second(s), 13.0% Chance of 4.6 Second(s) of Confusion ")
 Spells[7] = new SpellInfo("7 Active Energy Cost per Second, 2.9 Meter Radius, 36-52% Chance to Fumble Attacks for 4.7 Second(s), 15.8% Chance to 4.7 Second(s) of Confusion ")
 Spells[8] = new SpellInfo("8 Active Energy Cost per Second, 3.2 Meter Radius, 43-58% Chance to Fumble Attacks for 4.8 Second(s), 15.8% Chance of 4.8 Second(s) of Confusion ")
 Spells[9] = new SpellInfo("9 Active Energy Cost per Second, 3.2 Meter Radius, 46-65% Chance to Fumble Attacks for 4.9 Second(s), 17.2% Chance of 4.9 Second(s) of Confusion ")
 Spells[10] = new SpellInfo("10 Active Energy Cost per Second, 3.5 Meter Radius, 52-70% Chance to Fumble Attacks for 5 Second(s), 18.6% Chance of 5 Second(s) of Confusion ")
Skills[0] = new Skill("Illusions ",1,Spells,-1," The enemy will have illusions and false visions. He will probably miss the next hits.")

// Dirt to Gold
Spells = new Array();
 Spells[1] = new SpellInfo("60 Energy Cost, 2 Bags Summon Limit ")
 Spells[2] = new SpellInfo("70 Energy Cost, 3 Bags Summon Limit ")
 Spells[3] = new SpellInfo("80 Energy Cost, 4 Bags Summon Limit ")
 Spells[4] = new SpellInfo("90 Energy Cost, 5 Bags Summon Limit ")
 Spells[5] = new SpellInfo("100 Energy Cost, 6Bags Summon Limit ")
 Spells[6] = new SpellInfo("110 Energy Cost, 7 Bags Summon Limit ")
 Spells[7] = new SpellInfo("120 Energy Cost, 8 Bags Summon Limit ")
 Spells[8] = new SpellInfo("130 Energy Cost, 9 Bags Summon Limit ")
 Spells[9] = new SpellInfo("140 Energy Cost, 10 Bags Summon Limit ")
 Spells[10] = new SpellInfo("150 Energy Cost, 11 Bags Summon Limit ")
 Spells[11] = new SpellInfo("160 Energy Cost, 12 Bags Summon Limit ")
 Spells[12] = new SpellInfo("170 Energy Cost, 13 Bags Summon Limit ")
Skills[1] = new Skill("Dirt to Gold ",1,Spells,-1," Create you own gold out of dirt. Spawns bags of gold.")

// Disruption
Spells = new Array();
Spells[1] = new SpellInfo("58 Energy Cost, 2.1 Meter Radius, 14-32 Damage, 13-18 Burn over 3 Second(s), 5 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[2] = new SpellInfo("60 Energy Cost, 2.2 Meter Radius, 24-41 Damage, 17-23 Burn over 3 Second(s), 10 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[3] = new SpellInfo("62 Energy Cost, 2.3 Meter Radius, 29-55 Damage, 22-29 Burn over 3 Second(s), 13 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[4] = new SpellInfo("65 Energy Cost, 2.5 Meter Radius, 40-64 Damage, 28-35 Burn over 3 Second(s), 18 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[5] = new SpellInfo("67 Energy Cost, 2.6 Meter Radius,45-78 Damage ,32-41 Burn over 3 Second(s), Fire Damage 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[6] = new SpellInfo("69 Energy Cost, 2.7 Meter Radius, 56-87 Damage, 36-46 Burn over 3 Second(s), 26 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[7] = new SpellInfo("72 Energy Cost, 2.9 Meter Radius, 61-101 Damage,41-52 Burn over 3 Second(s), 29 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[8] = new SpellInfo("74 Energy Cost, 3.0 Meter Radius,71-110 Damage, 46-58 Burn over 3 Second(s), 35 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[9] = new SpellInfo("76 Energy Cost, 3.1 Meter Radius, 77-124 Damage, 50-63 Burn over 3 Second(s), 37 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[10] = new SpellInfo("78 Energy Cost, 3.3 Meter Radius, 87-133 Damage, 55-69 Burn over 3 Second(s), 42 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[11] = new SpellInfo("83 Energy Cost, 3.4 Meter Radius, 92-147 Damage, 59-75 Burn over 3 Second(s), 45 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
 Spells[12] = new SpellInfo("85 Energy Cost, 3.5 Meter Radius, 103-156 Damage, 65-80 Burn over 3 Second(s), 50 Fire Damage, 66% Chance of Impaired Aim for 3 Second(s) ")
Skills[9] = new Skill("Disruption ",1,Spells,-1," A powerful method to end discussions. Try to be on the other side of the planet when this grenade goes boom.")

// Fetish
Spells = new Array();
 Spells[1] = new SpellInfo("55 Energy Cost, Fetish Attributes:, Life Time 20 Second(s), 180 Health, 100 Energy,, Fetish Abilities:, Fetish, 20 Second(s) Duration, 6.2 Meter Radius, 38.1% Chance of 6-10 Second(s) of Confusion ")
 Spells[2] = new SpellInfo("62 Energy Cost, Fetish Attributes: Life Time 23 Second(s), 190 Health and 100 Energy, Fetish Abilities:, Fetish, 23 Second(s) Duration, 6.6 Meter Radius, 40.2% Chance of 8-14 Second(s) of Confusion ")
 Spells[3] = new SpellInfo("67 Energy Cost, Fetish Attributes: Life Time 25 Second(s), 220 Health and 100 Energy, Fetish Abilities:, Fetish, 25 Second(s) Duration, 6.8 Meter Radius, 42.3% Chance of 10-17 Second(s) of Confusion ")
 Spells[4] = new SpellInfo("74 Energy Cost, Fetish Attributes: Life Time 28 Second(s), 240 Health and 100 Energy, Fetish Abilities:, Fetish, 28 Second(s) Duration, 7.2 Meter Radius, 44.4% Chance of 12-21 Second(s) of Confusion ")
 Spells[5] = new SpellInfo("79 Energy Cost, Fetish Attributes: Life Time 30 Second(s), 250 Health and 100 Energy, Fetish Abilities:, Fetish, 30 Second(s) Duration, 7.4 Meter Radius, 46.5% Chance of 14-24 Second(s) of Confusion ")
 Spells[6] = new SpellInfo("79 Energy Cost, Fetish Attributes: Life Time 33 Second(s), 280 Health and 100 Energy, Fetish Abilities:, Fetish, 33 Second(s) Duration, 7.8 Meter Radius, 48.6% Chance of 16-28 Second(s) of Confusion ")
 Spells[7] = new SpellInfo("91 Energy Cost, Fetish Attributes: Life Time 35 Second(s), 300 Health and 100 Energy, Fetish Abilities:, Fetish, 35 Second(s) Duration, 8.0 Meter Radius, 50.7% Chance of 18-31 Second(s) of Confusion ")
 Spells[8] = new SpellInfo("98 Energy Cost, Fetish Attributes: Life Time 38 Second(s), 320 Health and 100 Energy, Fetish Abilities:, Fetish, 38 Second(s) Duration, 8.4 Meter Radius, 52.8% Chance of 20-35 Second(s) of Confusion ")
 Spells[9] = new SpellInfo("103 Energy Cost, Fetish Attributes: Life Time 40 Second(s), 350 Health and 100 Energy, Fetish Abilities:, Fetish, 40 Second(s) Duration, 8.6 Meter Radius, 54.9% Chance of 22-38 Second(s) of Confusion ")
 Spells[10] = new SpellInfo("110 Energy Cost, Fetish Attributes: Life Time 43 Second(s), 380 Health and 100 Energy, Fetish Abilities:, Fetish, 43 Second(s) Duration, 9.0 Meter Radius, 57.0% Chance of 24-42 Second(s) of Confusion ")
Skills[2] = new Skill("Fetish ",4,Spells,-1," Creates a statue which will cloud the minds of the enemies. They will stop fighting and start dancing around the fetish. Statue with area attack.")

// Shrapnel
Spells = new Array();
 Spells[1] = new SpellInfo("5 Energy Cost, 1.5 Meter Radius, 3-5 Fragments, 18 Burn over 3 Second(s), 9 Pierce Damage ")
 Spells[2] = new SpellInfo("6 Energy Cost, 1.5 Meter Radius, 3-5 Fragments, 26 Burn over 3 Second(s), 16 Pierce Damage ")
 Spells[3] = new SpellInfo("7 Energy Cost, 1.5 Meter Radius, 3-6 Fragments, 34 Burn over 3 Second(s), 23 Pierce Damage ")
 Spells[4] = new SpellInfo("8 Energy Cost, 1.5 Meter Radius, 4-6 Fragments, 42 Burn over 3 Second(s), 31 Pierce Damage ")
 Spells[5] = new SpellInfo("9 Energy Cost, 1.5 Meter Radius, 4-6 Fragments, 51 Burn over 3 Second(s), 38 Pierce Damage ")
 Spells[6] = new SpellInfo("10 Energy Cost, 1.5 Meter Radius, 4-6 Fragments, 59 Burn over 3 Second(s), 45 Pierce Damage ")
 Spells[7] = new SpellInfo("11 Energy Cost, 1.5 Meter Radius, 4-7 Fragments, 67 Burn over 3 Second(s), 52 Pierce Damage ")
 Spells[8] = new SpellInfo("12 Energy Cost, 1.5 Meter Radius, 4-7 Fragments, 75 Burn over 3 Second(s), 60 Pierce Damage ")
 Spells[9] = new SpellInfo("13 Energy Cost, 1.5 Meter Radius, 4-7 Fragments, 83 Burn over 3 Second(s), 67 Pierce Damage ")
 Spells[10] = new SpellInfo("14 Energy Cost, 1.5 Meter Radius, 4-7 Fragments, 91 Burn over 3 Second(s), 74 Pierce Damage ")
Skills[3] = new Skill("Shrapnel ",4,Spells,9," On impact, the bombs burst into many deadly pieces..")

// High Spirit
Spells = new Array();
 Spells[1] = new SpellInfo("1 Active Energy Cost per Second, +4% Total Speed ")
 Spells[2] = new SpellInfo("1 Active Energy Cost per Second, +6% Total Speed ")
 Spells[3] = new SpellInfo("1 Active Energy Cost per Second, +8% Total Speed ")
 Spells[4] = new SpellInfo("1 Active Energy Cost per Second, +10% Total Speed ")
 Spells[5] = new SpellInfo("1 Active Energy Cost per Second, +12% Total Speed ")
 Spells[6] = new SpellInfo("1 Active Energy Cost per Second, +14% Total Speed ")
 Spells[7] = new SpellInfo("1 Active Energy Cost per Second, +16% Total Speed ")
 Spells[8] = new SpellInfo("1 Active Energy Cost per Second, +18% Total Speed ")
 Spells[9] = new SpellInfo("1 Active Energy Cost per Second, +20% Total Speed ")
 Spells[10] = new SpellInfo("1 Active Energy Cost per Second, +22% Total Speed ")
Skills[4] = new Skill("High Spirit ",4,Spells,-1," The alchemist moves faster and understands the concept of liquids like 'aqua vitae' or other substances, that help him win his battle.")

// Injection
Spells = new Array();
 Spells[1] = new SpellInfo("3.2 Meter Radius, 5 Poison Damage over 2.3 Second(s), 14 Pierce Damage, +40 Energy Reserved ")
 Spells[2] = new SpellInfo("3.4 Meter Radius, 9 Poison Damage over 2.3 Second(s), 22 Pierce Damage, +44 Energy Reserved ")
 Spells[3] = new SpellInfo("3.6 Meter Radius, 14 Poison Damage over 2.3 Second(s), 30 Pierce Damage, +47 Energy Reserved ")
 Spells[4] = new SpellInfo("3.8 Meter Radius, 20 Poison Damage over 2.3 Second(s), 38 Pierce Damage, +51 Energy Reserved ")
 Spells[5] = new SpellInfo("4.0 Meter Radius, 26 Poison Damage over 2.3 Second(s), 46 Pierce Damage, +54 Energy Reserved ")
 Spells[6] = new SpellInfo("4.2 Meter Radius, 34 Poison Damage over 2.3 Second(s), 56 Pierce Damage, +58 Energy Reserved ")
Skills[5] = new Skill("Injection ",4,Spells,-1," A Chance to inflict a poisonous wound to enemies that come too close.")

// Flash Bombs
Spells = new Array();
 Spells[1] = new SpellInfo("30 Energy Cost, 3.2 Meter Radius, 42% Chance of 1.5-2.6 Second(s) of Stun, 30% Chance of 4-5 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[2] = new SpellInfo("32 Energy Cost, 3.4 Meter Radius, 44% Chance of 2-3.2 Second(s) of Stun, 40% Chance of 4-7 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[3] = new SpellInfo("34 Energy Cost, 3.6 Meter Radius, 46% Chance of 2.5-3.8 Second(s) of Stun, 50% Chance of 5-8 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[4] = new SpellInfo("37 Energy Cost, 3.8 Meter Radius, 48% Chance of 3-4.4 Second(s) of Stun, 60% Chance of 6-9 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[5] = new SpellInfo("39 Energy Cost, 4.0 Meter Radius, 50% Chance of 3.5-5 Second(s) of Stun, 70% Chance of 7-10 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[6] = new SpellInfo("41 Energy Cost, 4.2 Meter Radius, 52% Chance of 4-5.6 Second(s) of Stun, 80% Chance of 8-11 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[7] = new SpellInfo("44 Energy Cost,4.4 Meter Radius, 54% Chance of 4.5-6.2 Second(s) of Stun, 90% Chance of 9-12 Second(s) of Confusion,20% Slowed for 3 Second(s) ")
 Spells[8] = new SpellInfo("46 Energy Cost,4.6 Meter Radius, 56% Chance of 5-6.8 Second(s) of Stun ,100% Chance of 10-13 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[9] = new SpellInfo("48 Energy Cost, 4.8 Meter Radius, 58% Chance of 5.5-7.4 Second(s) of Stun,100% Chance of 11-14 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
 Spells[10] = new SpellInfo("51 Energy Cost, 5.0 Meter Radius, 60% Chance of 6-8 Second(s) of Stun, 100% Chance of 12-15 Second(s) of Confusion, 20% Slowed for 3 Second(s) ")
Skills[6] = new Skill("Flash Bombs ",10,Spells,-1," A bright flash disorients and Stuns everyone nearby, making him vulnerable to attacks. Many alchemists have such a bomb at hand, when they need to escape.")

// Panacea
Spells = new Array();
 Spells[1] = new SpellInfo("52 Energy Cost, +126.7 Health, 123 Energy Transferred ")
 Spells[2] = new SpellInfo("58 Energy Cost, +158.4 Health, 146 Energy Transferred ")
 Spells[3] = new SpellInfo("65 Energy Cost, +195.4 Health, 169 Energy Transferred ")
 Spells[4] = new SpellInfo("72 Energy Cost, +232.3 Health, 192 Energy Transferred ")
 Spells[5] = new SpellInfo("78 Energy Cost, +279.8 Health, 215 Energy Transferred ")
 Spells[6] = new SpellInfo("85 Energy Cost, +332.6 Health, 238 Energy Transferred ")
 Spells[7] = new SpellInfo("92 Energy Cost, +390.7 Health, 261 Energy Transferred ")
 Spells[8] = new SpellInfo("99 Energy Cost, 459.4 Health, 284 Energy Transferred ")
 Spells[9] = new SpellInfo("105 Energy Cost, +533.3 Health, 307 Energy Transferred ")
 Spells[10] = new SpellInfo("112 Energy Cost, +612.5 Health, 330 Energy Transferred ")
 Spells[11] = new SpellInfo("119 Energy Cost, +697.0 Health, 353 Energy Transferred ")
 Spells[12] = new SpellInfo("125 Energy Cost, +792.3 Health, 376 Energy Transferred ")
 Spells[13] = new SpellInfo("132 Energy Cost, +892.3 Health, 399 Energy Transferred ")
 Spells[14] = new SpellInfo("139 Energy Cost, +1003.2 Health, 422 Energy Transferred ")
 Spells[15] = new SpellInfo("146 Energy Cost, +1119.4 Health, 445 Energy Transferred ")
 Spells[16] = new SpellInfo("152 Energy Cost, +1246.1 Health, 468 Energy Transferred ")
Skills[7] = new Skill("Panacea ",10,Spells,-1," Dealing with the 'Elixir of Life' provides vital energies and improves Health in the very Second(s) it is touched. Health boost ")

// Sand Cloud
Spells = new Array();
 Spells[1] = new SpellInfo("55 Energy Cost, 6.0 Meter Radius, 70 Damage, 150 Reduced Offensive Ability for 3 Second(s), 35% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[2] = new SpellInfo("56 Energy Cost, 6.0 Meter Radius, 89 Damage, 150 Reduced Offensive Ability for 3 Second(s), 37% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[3] = new SpellInfo("57 Energy Cost, 6.0 Meter Radius, 108 Damage,150 Reduced Offensive Ability for 3 Second(s), 39% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[4] = new SpellInfo("59 Energy Cost, 6.0 Meter Radius, 127 Damage,150 Reduced Offensive Ability for 3 Second(s), 41% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[5] = new SpellInfo("60 Energy Cost, 6.0 Meter Radius, 146 Damage, 150 Reduced Offensive Ability for 3 Second(s), 43% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[6] = new SpellInfo("61 Energy Cost, 6.0 Meter Radius, 165 Damage, 150 Reduced Offensive Ability for 3 Second(s), 45% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[7] = new SpellInfo("63 Energy Cost, 6.0 Meter Radius, 184 Damage, 150 Reduced Offensive Ability for 3 Second(s), 47% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[8] = new SpellInfo("64 Energy Cost, 6.0 Meter Radius, 203 Damage, 150 Reduced Offensive Ability for 3 Second(s), 49% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[9] = new SpellInfo("65 Energy Cost, 6.0 Meter Radius, 222 Damage, 150 Reduced Offensive Ability for 3 Second(s), 51% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[10] = new SpellInfo("67 Energy Cost, 6.0 Meter Radius, 241 Damage, 150 Reduced Offensive Ability for 3 Second(s), 53% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[11] = new SpellInfo("68 Energy Cost, 6.0 Meter Radius, 260 Damage,150 Reduced Offensive Ability for 3 Second(s), 55% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[12] = new SpellInfo("69 Energy Cost, 6.0 Meter Radius, 279 Damage, 150 Reduced Offensive Ability for 3 Second(s), 57% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[13] = new SpellInfo("71 Energy Cost, 6.0 Meter Radius, 298 Damage, 150 Reduced Offensive Ability for 3 Second(s), 59% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[14] = new SpellInfo("72 Energy Cost, 6.0 Meter Radius, 317 Damage, 150 Reduced Offensive Ability for 3 Second(s), 61% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption ")
 Spells[15] = new SpellInfo("73 Energy Cost, 6.0 Meter Radius, 336 Damage, 150 Reduced Offensive Ability for 3 Second(s), 63% Chance to Fumble Attacks for 3 Second(s), 3 Second(s) of Skill Disruption,1 Second(s) Stun ")
Skills[8] = new Skill("Sand Cloud ",10,Spells,-1," Through chemical reactions a deadly sand cloud is raised. This does not only cause Damage, but also blinds the attacker.")

// Panic Bombs
Spells = new Array();
 Spells[1] = new SpellInfo("45 Energy Cost, 3.2 Meter Radius, 3-5 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
 Spells[2] = new SpellInfo("47 Energy Cost, 3.4 Meter Radius, 4-6 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
 Spells[3] = new SpellInfo("49 Energy Cost, 3.6 Meter Radius, 5-8 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
 Spells[4] = new SpellInfo("52 Energy Cost, 3.8 Meter Radius, 6-9 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
 Spells[5] = new SpellInfo("54 Energy Cost, 4.0 Meter Radius, 7-10 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
 Spells[6] = new SpellInfo("56 Energy Cost, 4.2 Meter Radius, 7-12 Second(s) of Fear, 33% Slowed for 6 Second(s) ")
Skills[11] = new Skill("Panic Bombs ",16,Spells,-1," Not inflicting actual harm, this bomb looks terrifying and makes enemies run away.")

// Elemental Bombs
Spells = new Array();
 Spells[1] = new SpellInfo("39 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[2] = new SpellInfo("44 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[3] = new SpellInfo("48 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[4] = new SpellInfo("53 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[5] = new SpellInfo("57 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[6] = new SpellInfo("62 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[7] = new SpellInfo("66 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[8] = new SpellInfo("71 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[9] = new SpellInfo("75 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[10] = new SpellInfo("80 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[11] = new SpellInfo("84 Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
 Spells[12] = new SpellInfo("89  Elemental Damage, 75% Chance to 5-15 Second(s) of Skill Disruption ")
Skills[12] = new Skill("Elemental Bombs ",16,Spells,9," Unleashing the might of the elements on impact, this is a deadly genie in a bottle.")

// Magnetism
Spells = new Array();
 Spells[1] = new SpellInfo("+10% Chance to Avoid Projectile(s), +22% Pierce Resistance, +24% Lightning Resistance ")
 Spells[2] = new SpellInfo("+10% Chance to Avoid Projectile(s), +23% Pierce Resistance, +36% Lightning Resistance ")
 Spells[3] = new SpellInfo("+10% Chance to Avoid Projectile(s), +25% Pierce Resistance, +43% Lightning Resistance ")
 Spells[4] = new SpellInfo("+10% Chance to Avoid Projectile(s), +26% Pierce Resistance, +54% Lightning Resistance ")
 Spells[5] = new SpellInfo("+10% Chance to Avoid Projectile(s), +28% Pierce Resistance, +61% Lightning Resistance ")
 Spells[6] = new SpellInfo("+10% Chance to Avoid Projectile(s), +29% Pierce Resistance, +72% Lightning Resistance ")
 Spells[7] = new SpellInfo("+10% Chance to Avoid Projectile(s), +31% Pierce Resistance, +79% Lightning Resistance ")
 Spells[8] = new SpellInfo("+10% Chance to Avoid Projectile(s), +32% Pierce Resistance, +91% Lightning Resistance ")
 Spells[9] = new SpellInfo("+10% Chance to Avoid Projectile(s), +34% Pierce Resistance, +98% Lightning Resistance ")
 Spells[10] = new SpellInfo("+10% Chance to Avoid Projectile(s), +35% Pierce Resistance, +109% Lightning Resistance ")
 Spells[11] = new SpellInfo("+10% Chance to Avoid Projectile(s), +37% Pierce Resistance, +116% Lightning Resistance ")
 Spells[12] = new SpellInfo("+10% Chance to Avoid Projectile(s), +38% Pierce Resistance, +128% Lightning Resistance ")
Skills[13] = new Skill("Magnetism ",16,Spells,-1," Because of magnetic repel the weapons of the enemy do less Damage.")

// Rodenticide
Spells = new Array();
 Spells[1] = new SpellInfo("25 Energy Cost, 3.0 Meter Radius, Rodenticides Attributes:, 30 Second(s) Life Time, 12 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 3.5 Second(s) Duration, 5.0 Meter Radius, 68 Poison Damage over 4 Second(s), 3-5 Second(s) of Sleep ")
 Spells[2] = new SpellInfo("27 Energy Cost, 3.0 Meter Radius, Rodenticides Attributes:, 30 Second(s) Life Time, 15 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 4.2 Second(s) Duration, 6.0 Meter Radius, 104 Poison Damage over 4 Second(s), 3.2-5.3 Second(s) of Sleep ")
 Spells[3] = new SpellInfo("29 Energy Cost, 3.0 Meter Radius, Rodenticides Attributes:, 30 Second(s) Life Time, 18 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 4.9 Second(s) Duration, 6.0 Meter Radius, 144 Poison Damage over 4 Second(s), 3.4 -5.6 Second(s) of Sleep ")
 Spells[4] = new SpellInfo("31 Energy Cost, 3.0 Meter Radius, 2 Summon Limit, Rodenticides Attributes:, 30 Second(s) Life Time, 21 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 5.6 Second(s) Duration, 7.0 Meter Radius, 192 Poison Damage over 4 Second(s), 3.6-5.9 Second(s) of Sleep ")
 Spells[5] = new SpellInfo("33 Energy Cost, 3.0 Meter Radius, 2 Summon Limit, Rodenticides Attributes:, 30 Second(s) Life Time, 24 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 6.3 Second(s) Duration, 7.0 Meter Radius, 232 Poison Damage over 4 Second(s), 3.8-6.2 Second(s) of Sleep ")
 Spells[6] = new SpellInfo("35 Energy Cost, 3.0 Meter Radius, 2 Summon Limit, Rodenticides Attributes:, 30 Second(s) Life Time, 27 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 7.0 Second(s) Duration, 8.0 Meter Radius, 280 Poison Damage over 4 Second(s), 4.0-6.5 Second(s) of Sleep ")
 Spells[7] = new SpellInfo("37 Energy Cost, 3.0 Meter Radius, 2 Summon Limit, Rodenticides Attributes:, 30 Second(s) Life Time, 30 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 8.4 Second(s) Duration, 9.0 Meter Radius, 320 Poison Damage over 4 Second(s), 4.2-6.8 Second(s) of Sleep ")
 Spells[8] = new SpellInfo("39 Energy Cost, 3.0 Meter Radius, 3 Summon Limit, Rodenticides Attributes:, 30 Second(s) Life Time, 33 Health, 150 Energy,, Rodenticides Abilities:, Provoke, 15 Energy Cost, 5.0 Meter Radius,, Poisonous food, 9.1 Second(s) Duration, 10.0 Meter Radius, 372 Poison Damage over 4 Second(s), 4.4-7.1 Second(s) of Sleep ")
Skills[14] = new Skill("Rodenticide ",24,Spells,-1," Disseminates delicious looking food-dummies with a deadly surprise. Object with ondeath-skill.")

// Blurred Vision
Spells = new Array();
 Spells[1] = new SpellInfo("+10% Chance to Dodge Attacks, +8% Chance to Dodge Projectiles ")
 Spells[2] = new SpellInfo("+11% Chance to Dodge Attacks, +10% Chance to Dodge Projectiles ")
 Spells[3] = new SpellInfo("+11% Chance to Dodge Attacks, +12% Chance to Dodge Projectiles ")
 Spells[4] = new SpellInfo("+12% Chance to Dodge Attacks, +15% Chance to Dodge Projectiles ")
 Spells[5] = new SpellInfo("+12% Chance to Dodge Attacks, +17% Chance to Dodge Projectiles ")
 Spells[6] = new SpellInfo("+13% Chance to Dodge Attacks, +19% Chance to Dodge Projectiles ")
 Spells[7] = new SpellInfo("+13% Chance to Dodge Attacks, +23% Chance to Dodge Projectiles ")
 Spells[8] = new SpellInfo("+14% Chance to Dodge Attacks, +25% Chance to Dodge Projectiles ")
Skills[15] = new Skill("Blurred Vision ",24,Spells,0," An aura is created that blurs the vision of the opponents so that they cannot target the alchemist as easily.")

// Poisonous Bombs
Spells = new Array();
 Spells[1] = new SpellInfo("30-85 Poison Damage over 5 Second(s)")
 Spells[2] = new SpellInfo("45-155 Poison Damage over 5 Second(s)")
 Spells[3] = new SpellInfo("60-225 Poison Damage over 5 Second(s)")
 Spells[4] = new SpellInfo("75-300 Poison Damage over 5 Second(s)")
 Spells[5] = new SpellInfo("90-370 Poison Damage over 5 Second(s)")
 Spells[6] = new SpellInfo("105-445 Poison Damage over 5 Second(s)")
 Spells[7] = new SpellInfo("120-515 Poison Damage over 5 Second(s)")
 Spells[8] = new SpellInfo("135-585 Poison Damage over 5 Second(s)")
 Spells[9] = new SpellInfo("150-660 Poison Damage over 5 Second(s)")
 Spells[10] = new SpellInfo("165-730 Poison Damage over 5 Second(s)")
 Spells[11] = new SpellInfo("180-800 Poison Damage over 5 Second(s)")
 Spells[12] = new SpellInfo("195-870 Poison Damage over 5 Second(s)")
 Skills[16] = new Skill("Poisonous Bombs ",24,Spells,9," Like toxics, the elemental energies slowly Damage the enemies.")

// Skin of Stone
Spells = new Array();
 Spells[1] = new SpellInfo("+22% Elemental Resistance, 5% Chance of 10% Reflected Damage ")
 Spells[2] = new SpellInfo("+24% Elemental Resistance, 7% Chance of 12% Reflected Damage ")
 Spells[3] = new SpellInfo("+26% Elemental Resistance, 9% Chance of 14% Reflected Damage ")
 Spells[4] = new SpellInfo("+28% Elemental Resistance, 11% Chance of 16% Reflected Damage ")
 Spells[5] = new SpellInfo("+30% Elemental Resistance, 13% Chance of 18% Reflected Damage ")
 Spells[6] = new SpellInfo("+32% Elemental Resistance, 15% Chance of 20% Reflected Damage ")
 Spells[7] = new SpellInfo("+34% Elemental Resistance, 17% Chance of 22% Reflected Damage ")
 Spells[8] = new SpellInfo("36% Elemental Resistance, 19% Chance of 24% Reflected Damage ")
Skills[10] = new Skill("Skin of Stone ",24,Spells,-1," Elemental Damage is reduced by treating the clothes with special essences. As a side effect, a part of the Damage is thrown back at the attacker as well.")

// Imposture
Spells = new Array();
 Spells[1] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +8% Strength, +9% Intelligence, +12% Offensive Ability, -15% Movement ")
 Spells[2] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +14% Strength, +14% Intelligence, +14% Offensive Ability, -15% Movement ")
 Spells[3] = new SpellInfo("10 active Energy Cost per s Second(s), 24 Second(s) Duration ,+25% Damage, +17% Strength, +18% Intelligence, +16% Offensive Ability, -15% Movement ")
 Spells[4] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +23% Strength, +23% Intelligence, +18% Offensive Ability, -15% Movement ")
 Spells[5] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +26% Strength, +27% Intelligence,+20% Offensive Ability, -15% Movement ")
 Spells[6] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +32% Strength, +32% Intelligence, +22% Offensive Ability, -15% Movement ")
 Spells[7] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +35% Strength, +36% Intelligence, +24% Offensive Ability, -15% Movement ")
 Spells[8] = new SpellInfo("10 Active Energy Cost per Second, 24 Second(s) Duration, +25% Damage, +41% Strength, +41% Intelligence, +26% Offensive Ability, -15% Movement ")
Skills[17] = new Skill("Imposture ",32,Spells,-1," A form of trickery that lets the user appears as a giant in the eyes of his enemies which makes him triumphant.")

// Rapid Production
Spells = new Array();
 Spells[1] = new SpellInfo("-9% Recharge ")
 Spells[2] = new SpellInfo("-13% Recharge ")
 Spells[3] = new SpellInfo("-16% Recharge ")
 Spells[4] = new SpellInfo("-19% Recharge ")
 Spells[5] = new SpellInfo("-23% Recharge ")
 Spells[6] = new SpellInfo("-26% Recharge ")
 Spells[7] = new SpellInfo("-29% Recharge ")
 Spells[8] = new SpellInfo("-32% Recharge ")
Skills[18] = new Skill("Rapid Production ",32,Spells,9," A new way of building bombs lets them be built faster.")

// Philosopher's Stone
Spells = new Array();
 Spells[1] = new SpellInfo("6.0 Meter Radius, 20 Energy Cost, 16 Second(s) Duration, +5.2 Energy Regeneration, +35 Offensive Ability ")
 Spells[2] = new SpellInfo("6.0 Meter Radius, 28 Energy Cost,21 Second(s) Duration, +5.6 Energy Regeneration, +53 Offensive Ability ")
 Spells[3] = new SpellInfo("6.0 Meter Radius, 36 Energy Cost, 23 Second(s) Duration, +5.8 Energy Regeneration, +71 Offensive Ability ")
 Spells[4] = new SpellInfo("6.0 Meter Radius, 44 Energy Cost, 28 Second(s) Duration, +6.2 Energy Regeneration, +89 Offensive Ability ")
 Spells[5] = new SpellInfo("6.0 Meter Radius, 52 Energy Cost, 30 Second(s) Duration, +6.4 Energy Regeneration, +106 Offensive Ability ")
 Spells[6] = new SpellInfo("6.0 Meter Radius, 60 Energy Cost, 35 Second(s) Duration, +6.8 Energy Regeneration, +124 Offensive Ability ")
 Spells[7] = new SpellInfo("6.0 Meter Radius, 68 Energy Cost, 37 Second(s) Duration, +7.0 Energy Regeneration, +142 Offensive Ability ")
 Spells[8] = new SpellInfo("6.0 Meter Radius, 76 Energy Cost, 41 Second(s) Duration, +7.4 Energy Regeneration, +160 Offensive Ability ")
 Spells[9] = new SpellInfo("6.0 Meter Radius, 84 Energy Cost, 44 Second(s) Duration, +7.6 Energy Regeneration, +177 Offensive Ability ")
 Spells[10] = new SpellInfo("6.0 Meter Radius, 92 Energy Cost, 48 Second(s) Duration, +8.0 Energy Regeneration, +195 Offensive Ability ")
 Spells[11] = new SpellInfo("6.0 Meter Radius, 100 Energy Cost, 51 Second(s) Duration, +8.2 Energy Regeneration, +213 Offensive Ability ")
 Spells[12] = new SpellInfo("6.0 Meter Radius, 108 Energy Cost, 55 Second(s) Duration, +8.6 Energy Regeneration, +231 Offensive Ability ")
Skills[19] = new Skill("Philosopher's Stone ",32,Spells,-1," Touching the philosopher’s stone regenerates the spirit and heightens the wits in combat ")

// set the mastery array
Mastery[2] = new setmastery(Skills,Attributes) 

// testing
//alert(Mastery[0].Skills[19].spells[10].spellinfo)
//alert(Skills[1][0].desc)

