<data>
	<stuffPackages>
		<packageTemplate r_name="'mainPackageTemplate'"
										 w_owned="0"
										 powerList="simplifyArray(arraysToArray($0,evaluatorArray(subPowers)))"
										 recursivePowerList="flatten(arraysToArray($0.recursivePowerList,evaluatorArray(subPackages)))+powerList">
		</packageTemplate>
		<!-- -->
		<!-- RACES -->
		<!-- -->
		<packageTemplate r_name="'mainRaceTemplate'" r_template="'mainPackageTemplate'" graphicName="''" pv="100" raceTag="'h'" sexTag="'m'">
			<modifier r_name="'animatedRace'" r_template="'mainPackageModifier'" r_modifierTarget="'animatedRace'" r_modifiedValue="raceTag"/>
			<modifier r_name="'animatedSex'" r_template="'mainPackageModifier'" r_modifierTarget="'animatedSex'" r_modifiedValue="sexTag"/>
		</packageTemplate>
		<packageTemplate r_name="'mainMaleInterface'" sexTag="'m'"/>
		<packageTemplate r_name="'mainFemaleInterface'" sexTag="'f'"/>
		<!-- Human -->
		<packageTemplate r_name="'Human'" r_template="'mainRaceTemplate'" r_displayName="text.raceHuman" raceTag="'h'">
			<modifier r_name="'Strength'" r_template="'mainPackageModifier'" r_modifierTarget="'Strength'" r_modifiedValue="$0+1"/>
			<modifier r_name="'Intelligence'" r_template="'mainPackageModifier'" r_modifierTarget="'Intelligence'" r_modifiedValue="$0+1"/>
			<modifier r_name="'Dexterity'" r_template="'mainPackageModifier'" r_modifierTarget="'Dexterity'" r_modifiedValue="$0+1"/>
			<modifier r_name="'Constitution'" r_template="'mainPackageModifier'" r_modifierTarget="'Constitution'" r_modifiedValue="$0+1"/>
			<modifier r_name="'Holy'" r_template="'mainPackageModifier'" r_modifierTarget="'Holy'" r_modifiedValue="$0+1"/>
		</packageTemplate>
		<package r_name="'HumanMale'" r_template="{'Human','mainMaleInterface'}"/>
		<package r_name="'HumanFemale'" r_template="{'Human','mainFemaleInterface'}"/>
		<!-- Elf -->
		<packageTemplate r_name="'Elf'" r_template="'mainRaceTemplate'" r_displayName="text.raceElf" raceTag="'e'">
			<modifier r_name="'Intelligence'" r_template="'mainPackageModifier'" r_modifierTarget="'Intelligence'" r_modifiedValue="$0+2"/>
			<modifier r_name="'Dexterity'" r_template="'mainPackageModifier'" r_modifierTarget="'Dexterity'" r_modifiedValue="$0+2"/>
			<effect r_name="'initialArcane'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="ArcanePoint++"/>
		</packageTemplate>
		<package r_name="'ElfMale'" r_template="{'Elf','mainMaleInterface'}"/>
		<package r_name="'ElfFemale'" r_template="{'Elf','mainFemaleInterface'}"/>
		<!-- Dwarf -->
		<packageTemplate r_template="'mainRaceTemplate'" r_name="'Dwarf'" r_displayName="text.raceDwarf" raceTag="'d'">
			<modifier r_name="'Strength'" r_template="'mainPackageModifier'" r_modifierTarget="'Strength'" r_modifiedValue="$0+2"/>
			<modifier r_name="'NaturalArmor'" r_template="'mainPackageModifier'" r_modifierTarget="'NaturalArmor'" r_modifiedValue="$0+2"/>
			<modifier r_name="'Earth'" r_template="'mainPackageModifier'" r_modifierTarget="'Earth'" r_modifiedValue="$0+1"/>
		</packageTemplate>
		<package r_name="'DwarfMale'" r_template="{'Dwarf','mainMaleInterface'}"/>
		<package r_name="'DwarfFemale'" r_template="{'Dwarf','mainFemaleInterface'}"/>
		<!-- Orc -->
		<packageTemplate r_template="'mainRaceTemplate'" r_name="'Orc'" r_displayName="text.raceOrc" raceTag="'o'">
			<modifier r_name="'Strength'" r_template="'mainPackageModifier'" r_modifierTarget="'Strength'" r_modifiedValue="$0+2"/>
			<modifier r_name="'Constitution'" r_template="'mainPackageModifier'" r_modifierTarget="'Constitution'" r_modifiedValue="$0+2"/>
			<modifier r_name="'maxExhaustion'" r_template="'mainPackageModifier'" r_modifierTarget="'maxExhaustion'" r_modifiedValue="$0+10"/>
		</packageTemplate>
		<package r_name="'OrcMale'" r_template="{'Orc','mainMaleInterface'}"/>
		<package r_name="'OrcFemale'" r_template="{'Orc','mainFemaleInterface'}"/>
		<!-- Garuda -->
		<packageTemplate r_template="'mainRaceTemplate'" r_name="'Garuda'" r_displayName="text.raceGaruda" raceTag="'b'">
			<modifier r_name="'Dexterity'" r_template="'mainPackageModifier'" r_modifierTarget="'Dexterity'" r_modifiedValue="$0+2"/>
			<modifier r_name="'isFlying'" r_template="'mainPackageModifier'" r_modifierTarget="'isFlying'" r_modifiedValue="($0==0)?1:(($0==1)?2:$0)"/>
			<modifier r_name="'Air'" r_template="'mainPackageModifier'" r_modifierTarget="'Air'" r_modifiedValue="$0+1"/>
			<modifier r_name="'animatedWings'" r_template="'mainPackageModifier'" r_modifierTarget="'animatedWings'" r_modifiedValue="'w'"/>
		</packageTemplate>
		<package r_name="'GarudaMale'" r_template="{'Garuda','mainMaleInterface'}"/>
		<package r_name="'GarudaFemale'" r_template="{'Garuda','mainFemaleInterface'}"/>
		
	<!-- -->
	<!-- SPELLS -->
	<!-- -->
		<packageTemplate r_name="'mainSpellPackageTemplate'" r_template="'mainPackageTemplate'" skillName="''">
			<event r_name="'skillRaise'" r_template="'mainEventTemplate'" r_enabled="!globalParameters.valueByName('achiev'+skillName)" r_eventTarget="skillName" r_targetType="'attribute'">
				<effect r_name="'skillRaise2'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_enabled="(baseValueByName(skillName)==2)&&(!exists(packages.(attributeByName(skillName+'Package')).subPackages.(attributeByName(r_packageName))))" r_packageName="skillName+'2'" r_addToPackage="1"/>
				<effect r_name="'skillRaise4'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_enabled="(baseValueByName(skillName)==4)&&(!exists(packages.(attributeByName(skillName+'Package')).subPackages.(attributeByName(r_packageName))))" r_packageName="skillName+'4'" r_addToPackage="1"/>
				<effect r_name="'skillRaise6'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_enabled="(baseValueByName(skillName)==6)&&(!exists(packages.(attributeByName(skillName+'Package')).subPackages.(attributeByName(r_packageName))))" r_packageName="skillName+'6'" r_addToPackage="1"/>
				<effect r_name="'skillRaise8'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_enabled="(baseValueByName(skillName)==8)&&(!exists(packages.(attributeByName(skillName+'Package')).subPackages.(attributeByName(r_packageName))))" r_packageName="skillName+'8'" r_addToPackage="1"/>
				<effect r_name="'skillRaise10'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_enabled="(baseValueByName(skillName)==10)&&(!exists(packages.(attributeByName(skillName+'Package')).subPackages.(attributeByName(r_packageName))))" r_packageName="skillName+'10'" r_addToPackage="1"/>
			</event>
			<event r_name="'owned'" r_template="'mainEventTemplate'" r_enabled="globalParameters.valueByName('achiev'+skillName)" r_eventTarget="'w_owned'" r_targetType="'attribute'">
				<effect r_name="'skillRaise2'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="skillName+'2'" r_addToPackage="1"/>
				<effect r_name="'skillRaise4'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="skillName+'4'" r_addToPackage="1"/>
				<effect r_name="'skillRaise6'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="skillName+'6'" r_addToPackage="1"/>
				<effect r_name="'skillRaise8'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="skillName+'8'" r_addToPackage="1"/>
				<effect r_name="'skillRaise10'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="skillName+'10'" r_addToPackage="1"/>
			</event>
		</packageTemplate>
	
		<package r_name="'ConjurationPackage'" r_template="'mainSpellPackageTemplate'" skillName="'Conjuration'"/>
		<package r_name="'Conjuration2'" r_template="'mainPackageTemplate'">
			<power r_template="'SummonFamiliar'" minSkill="2"/>
		</package>
		<package r_name="'Conjuration4'" r_template="'mainPackageTemplate'">
			<power r_template="'MageArmor'" minSkill="4"/>
			<power r_template="'RaiseSkeleton'" minSkill="4"/>
			<power r_template="'CallWinds'" minSkill="4"/>
		</package>
		<package r_name="'Conjuration6'" r_template="'mainPackageTemplate'">
			<power r_template="'SummonElemental'" minSkill="6"/>
			<power r_template="'SummonWisp'" minSkill="6"/>
			<power r_template="'WallOfFire'" minSkill="6"/>
		</package>
		<package r_name="'Conjuration8'" r_template="'mainPackageTemplate'">
			<power r_template="'SummonGhost'" minSkill="8"/>
			<power r_template="'Drowning'" minSkill="8"/>
		</package>
		<package r_name="'Conjuration10'" r_template="'mainPackageTemplate'">
			<power r_template="'SummonAngel'" minSkill="10"/>
			<power r_template="'SummonLordOfThePit'" minSkill="10"/>
		</package>
		
		<package r_name="'EnchantmentPackage'" r_template="'mainSpellPackageTemplate'" skillName="'Enchantment'"/>
		<package r_name="'Enchantment2'" r_template="'mainPackageTemplate'">
			<power r_template="'Confusion'" minSkill="2"/>
			<power r_template="'MindFreeze'" minSkill="2"/>
		</package>
		<package r_name="'Enchantment4'" r_template="'mainPackageTemplate'">
			<power r_template="'EarthAttraction'" minSkill="4"/>
			<power r_template="'Curse'" minSkill="4"/>
		</package>
		<package r_name="'Enchantment6'" r_template="'mainPackageTemplate'">
			<power r_template="'Fury'" minSkill="6"/>
			<power r_template="'HypnoticBlast'" minSkill="6"/>
		</package>
		<package r_name="'Enchantment8'" r_template="'mainPackageTemplate'">
			<power r_template="'Fear'" minSkill="8"/>
			<power r_template="'MindOfSteel'" minSkill="8"/>
			<power r_template="'Illumination'" minSkill="8"/>
		</package>
		<package r_name="'Enchantment10'" r_template="'mainPackageTemplate'">
			<power r_template="'MindBurn'" minSkill="10"/>
			<power r_template="'Paralyze'" minSkill="10"/>
		</package>
		
		<package r_name="'EvocationPackage'" r_template="'mainSpellPackageTemplate'" skillName="'Evocation'"/>
		<package r_name="'Evocation2'" r_template="'mainPackageTemplate'">
			<power r_template="'MagicMissile'" minSkill="2"/>
			<power r_template="'FireBreath'" minSkill="2"/>
		</package>
		<package r_name="'Evocation4'" r_template="'mainPackageTemplate'">
			<power r_template="'ColdBlast'" minSkill="4"/>
			<power r_template="'IronMissile'" minSkill="4"/>
		</package>
		<package r_name="'Evocation6'" r_template="'mainPackageTemplate'">
			<power r_template="'Fireball'" minSkill="6"/>
			<power r_template="'Slime'" minSkill="6"/>
			<power r_template="'Smite'" minSkill="6"/>
		</package>
		<package r_name="'Evocation8'" r_template="'mainPackageTemplate'">
			<power r_template="'MagmaMissile'" minSkill="8"/>
			<power r_template="'LightningBolt'" minSkill="8"/>
		</package>
		<package r_name="'Evocation10'" r_template="'mainPackageTemplate'">
			<power r_template="'DeathNova'" minSkill="10"/>
			<power r_template="'IceStorm'" minSkill="10"/>
		</package>
		
		<package r_name="'TransmutationPackage'" r_template="'mainSpellPackageTemplate'" skillName="'Transmutation'"/>
		<package r_name="'Transmutation2'" r_template="'mainPackageTemplate'">
			<power r_template="'Healing'" minSkill="2"/>
			<power r_template="'EarthMight'" minSkill="2"/>
		</package>
		<package r_name="'Transmutation4'" r_template="'mainPackageTemplate'">
			<power r_template="'Incineration'" minSkill="4"/>
			<power r_template="'Daze'" minSkill="4"/>
			<power r_template="'Fly'" minSkill="4"/>
		</package>
		<package r_name="'Transmutation6'" r_template="'mainPackageTemplate'">
			<power r_template="'StoneSkin'" minSkill="6"/>
			<power r_template="'GaseousForm'" minSkill="6"/>
		</package>
		<package r_name="'Transmutation8'" r_template="'mainPackageTemplate'">
			<power r_template="'Haste'" minSkill="8"/>
			<power r_template="'Rejuvenation'" minSkill="8"/>
		</package>
		<package r_name="'Transmutation10'" r_template="'mainPackageTemplate'">
			<power r_template="'FreezingDeath'" minSkill="10"/>
			<power r_template="'IronBody'" minSkill="10"/>
		</package>
				
		<!-- -->
		<!-- CLASSES -->
		<!-- -->
		<packageTemplate r_name="'mainInitTemplate'" r_template="'mainPackageTemplate'">
			<!-- debug power -->
			<power r_name="'XP'" r_template="'activePowerTemplate'"
						 r_enabled="gameParameters.cheat"
						 powerEffectTemplate="{'mainSelfEffectTemplate','evaluationEffect'}"
						 r_displayName="'XP'"
						 powerRange="0"
						 r_graphic="'XP.png'"
						 powerTooltip="'Cheat !'">
				<action r_name="'use'" fatigueCost="0" timeCost="0" autoAddToActionList="globalParameters.w_debugVersion">
					<effect r_name="'mainEffect'" r_effect="Experience+=1000000"/>
				</action>
			</power>
		</packageTemplate>
		<packageTemplate r_name="'mainLevelTemplate'" r_template="'mainPackageTemplate'">
			<effectTemplate r_name="'unlockSpeciality'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="''"/>
			<effectTemplate r_name="'unlockCrossClass'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="''" secondaryBasicClass="''" r_enabled="packages.(attributeByName(secondaryBasicClass)).classLevel>=5"/>
		</packageTemplate>
		<packageTemplate r_name="'mainClassTemplate'" r_template="'mainPackageTemplate'"
										 r_displayName="''"
										 classLevel="0"
										 maxClassLevel="10"
										 PrimarySkills="{}"
										 SecondarySkills="{}"
										 Prerequisite="{{{'stat',0}}}"
										 PrerequisiteCheck="arraysToArray(arrayToValue($0&&$1, arraysToArray(arrayToValue(baseValueByName($0)>=$1,$0),$0)), Prerequisite)"
										 PrerequisiteText="arraysToArray(arrayToValue($0+';'+$1, arraysToArray(arrayToValue((baseValueByName($0)>=$1)?(text.(attributeByName('prerequisite'+$0))+' OK'):(text.(attributeByName('prerequisite'+$0))+' >= '+$1),$0),$0)), Prerequisite)"
										 currentPrerequisiteCheck="PrerequisiteCheck[classLevel]"
										 currentPrerequisiteText="PrerequisiteText[classLevel]"
										 tooltip="(maxClassLevel>classLevel)?(currentPrerequisiteCheck?relocate(text.prerequisiteOK):(relocate(text.prerequisiteNotOK)+'\n'+currentPrerequisiteText)):(text.maximumLevelReached)"
										 packages="{r_name+'Level1',r_name+'Level2',r_name+'Level3',r_name+'Level4',r_name+'Level5',r_name+'Level6',r_name+'Level7',r_name+'Level8',r_name+'Level9',r_name+'Level10'}"
										 canBeUpgrade="(maxClassLevel>classLevel)&&currentPrerequisiteCheck">
			<event r_name="'classLevelUp'" r_template="'mainEventTemplate'" r_eventTarget="'classLevel'" r_targetType="'attribute'">
				<effect r_name="'levelUp'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="packages[classLevel-1]" r_addToPackage="1"/>
			</event>
			<modifier r_name="'totalClassLevel'" r_template="'mainModifierTemplate'" r_modifierTarget="'totalClassLevel'" r_modifiedValue="$0+classLevel"/>
		</packageTemplate>
		<packageTemplate r_name="'mainAdvancedClassTemplate'" r_template="'mainClassTemplate'"
										 maxClassLevel="5">
		</packageTemplate>				
	<!-- -->
	<!-- BASIC CLASSES -->
	<!-- -->
		<!-- MAGE -->
		<package r_name="'Mage'" r_template="'mainClassTemplate'"
						 r_displayName="text.classMage"
						 r_graphic="'mage.png'"
						 PrimarySkills="{'Intelligence','Evocation','Magic','Dodge'}"
						 SecondarySkills="{'Constitution','Dexterity','Resistance'}"
						 Prerequisite="{{{'Intelligence',2},{'Evocation',2}},{{'Intelligence',3},{'Evocation',3}},{{'Intelligence',4},{'Evocation',4}},{{'Intelligence',5},{'Evocation',5}},{{'Intelligence',6},{'Evocation',6}},{{'Intelligence',7},{'Evocation',7}},{{'Intelligence',8},{'Evocation',8}},{{'Intelligence',9},{'Evocation',9}},{{'Intelligence',10},{'Evocation',10}},{{'Intelligence',11},{'Evocation',11}},{{'Intelligence',12},{'Evocation',12}}}"/>
		<package r_name="'MageInit'" r_template="'mainInitTemplate'">
			<item r_template="'Staff'"/>
			<item r_template="'Robe'"/>
			<item r_template="'Cloak'"/>
			<item r_template="'SmallHealthPotion'" rw_charge="2"/>
			<item r_template="'SmallFatiguePotion'" rw_charge="2"/>
			<effect r_name="'initialXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="all({Intelligence+=2,Magic+=2,Evocation+=2,Dodge+=1,Resistance+=1})"/>
			<effect r_name="'initialAutoXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_enabled="globalParameters.defaultAutoXP" r_effect="all({ClassAutoPex='Mage',ClassSkillAutoPex='Mage'})"/>
			<effect r_name="'initialDefaultSpell'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="defaultNextAction=powers.MagicMissile.action"/>
		</package>		
		<package r_name="'MageLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'MagicAffinity'"/>
		</package>
		<package r_name="'MageLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'MageHand'"/>
		</package>
		<package r_name="'MageLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'ArcaneBoost'"/>
			<effect r_name="'arcaneBoost'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="ArcanePoint++"/>
		</package>
		<package r_name="'MageLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'ArcaneFocus'"/>
		</package>
		<package r_name="'MageLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'PowerBlast'"/>
			<effect r_name="'unlockSpe1'" r_template="'unlockSpeciality'" r_packageName="'Enchanter'"/>
			<effect r_name="'unlockSpe2'" r_template="'unlockSpeciality'" r_packageName="'Summoner'"/>
			<effect r_name="'unlockCross1'" r_template="'unlockCrossClass'" r_packageName="'Inquisitor'" secondaryBasicClass="'Priest'"/>
			<effect r_name="'unlockCross2'" r_template="'unlockCrossClass'" r_packageName="'ArcaneArcher'" secondaryBasicClass="'Rogue'"/>
			<effect r_name="'unlockCross3'" r_template="'unlockCrossClass'" r_packageName="'BattleMage'" secondaryBasicClass="'Warrior'"/>
		</package>
		<package r_name="'MageLevel6'" r_template="'mainLevelTemplate'">
			<power r_name="'ArcaneBoost2'" r_template="'ArcaneBoost'"/>
			<effect r_name="'arcaneBoost'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="ArcanePoint++"/>
		</package>
		<package r_name="'MageLevel7'" r_template="'mainLevelTemplate'">
			<power r_template="'Teleportation'"/>
		</package>
		<package r_name="'MageLevel8'" r_template="'mainLevelTemplate'">
			<power r_template="'Rebound'"/>
		</package>
		<package r_name="'MageLevel9'" r_template="'mainLevelTemplate'">
			<power r_name="'ArcaneBoost3'" r_template="'ArcaneBoost'"/>
			<effect r_name="'arcaneBoost'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="ArcanePoint++"/>
		</package>
		<package r_name="'MageLevel10'" r_template="'mainLevelTemplate'">
			<power r_template="'TimeStop'"/>
		</package>
		
		<!-- PRIEST -->
		<package r_name="'Priest'" r_template="'mainClassTemplate'"
						 r_displayName="text.classPriest"
						 r_graphic="'priest.png'"
						 PrimarySkills="{'Strength','Intelligence','CloseCombat','Transmutation'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})"
						 SecondarySkills="{'Constitution','Resistance','Dodge','ArmorSkill','Shield'}"
						 Prerequisite="{{{'Strength',1},{'CloseCombat',1},{'Intelligence',1},{'Transmutation',1}},{{'Strength',2},{'CloseCombat',2},{'Intelligence',2},{'Transmutation',2}},{{'Strength',3},{'CloseCombat',3},{'Intelligence',3},{'Transmutation',3}},{{'Strength',4},{'CloseCombat',4},{'Intelligence',4},{'Transmutation',4}},{{'Strength',5},{'CloseCombat',5},{'Intelligence',5},{'Transmutation',5}},{{'Strength',6},{'CloseCombat',6},{'Intelligence',6},{'Transmutation',6}},{{'Strength',7},{'CloseCombat',7},{'Intelligence',7},{'Transmutation',7}},{{'Strength',8},{'CloseCombat',8},{'Intelligence',8},{'Transmutation',8}},{{'Strength',9},{'CloseCombat',9},{'Intelligence',9},{'Transmutation',9}},{{'Strength',10},{'CloseCombat',10},{'Intelligence',10},{'Transmutation',10}},{{'Strength',11},{'CloseCombat',11},{'Intelligence',11},{'Transmutation',11}}}"/>
		<package r_name="'PriestInit'" r_template="'mainInitTemplate'">
			<item r_template="'Mace'"/>
			<item r_template="'TrainingHeavyArmor'"/>
			<item r_template="'Helm'"/>
			<item r_template="'SmallHealthPotion'" rw_charge="2"/>
			<item r_template="'SmallFatiguePotion'" rw_charge="2"/>
			<effect r_name="'initialXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="all({Strength+=1,CloseCombat+=2,Intelligence+=1,ArmorSkill+=1,Transmutation+=2,Resistance+=1,Constitution+=1})"/>
			<effect r_name="'initialAutoXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_enabled="globalParameters.defaultAutoXP" r_effect="all({ClassAutoPex='Priest',ClassSkillAutoPex='Priest'})"/>
		</package>
		<package r_name="'PriestLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'DivineBlessing'"/>
		</package>
		<package r_name="'PriestLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'HolyAffinity'"/>
		</package>
		<package r_name="'PriestLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'CurePoison'"/>
		</package>
		<package r_name="'PriestLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'Mesmerize'"/>
		</package>
		<package r_name="'PriestLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'DeathAffinity'"/>
			<effect r_name="'unlockSpe1'" r_template="'unlockSpeciality'" r_packageName="'Necromancer'"/>
			<effect r_name="'unlockSpe2'" r_template="'unlockSpeciality'" r_packageName="'Oracle'"/>
			<effect r_name="'unlockCross1'" r_template="'unlockCrossClass'" r_packageName="'Inquisitor'" secondaryBasicClass="'Mage'"/>
			<effect r_name="'unlockCross2'" r_template="'unlockCrossClass'" r_packageName="'Punisher'" secondaryBasicClass="'Rogue'"/>
			<effect r_name="'unlockCross3'" r_template="'unlockCrossClass'" r_packageName="'Paladin'" secondaryBasicClass="'Warrior'"/>
		</package>
		<package r_name="'PriestLevel6'" r_template="'mainLevelTemplate'">
			<power r_template="'GreaterHealing'"/>
		</package>
		<package r_name="'PriestLevel7'" r_template="'mainLevelTemplate'">
			<power r_template="'DivineShield'"/>
		</package>
		<package r_name="'PriestLevel8'" r_template="'mainLevelTemplate'">
			<power r_template="'DivineIntervention'"/>
		</package>
		<package r_name="'PriestLevel9'" r_template="'mainLevelTemplate'">
			<power r_template="'PowerOfLifeAndDeath'"/>
		</package>
		<package r_name="'PriestLevel10'" r_template="'mainLevelTemplate'">
			<power r_template="'DivineAvatar'"/>
		</package>
		
		<!-- ROGUE -->
		<package r_name="'Rogue'" r_template="'mainClassTemplate'"
						 r_displayName="text.classRogue"
						 r_graphic="'rogue.png'"
						 PrimarySkills="{'Dexterity','CloseCombat','RangedCombat','Dodge'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName}:{})"
						 SecondarySkills="{'Constitution','Resistance','ArmorSkill'}"
						 Prerequisite="{{{'Dexterity',2},{'CloseCombat',1},{'RangedCombat',1}},{{'Dexterity',3},{'CloseCombat',2},{'RangedCombat',2}},{{'Dexterity',4},{'CloseCombat',3},{'RangedCombat',3}},{{'Dexterity',5},{'CloseCombat',4},{'RangedCombat',4}},{{'Dexterity',6},{'CloseCombat',5},{'RangedCombat',5}},{{'Dexterity',7},{'CloseCombat',6},{'RangedCombat',6}},{{'Dexterity',8},{'CloseCombat',7},{'RangedCombat',7}},{{'Dexterity',9},{'CloseCombat',8},{'RangedCombat',8}},{{'Dexterity',10},{'CloseCombat',9},{'RangedCombat',9}},{{'Dexterity',11},{'CloseCombat',10},{'RangedCombat',10}},{{'Dexterity',12},{'CloseCombat',11},{'RangedCombat',11}}}"/>
		<package r_name="'RogueInit'" r_template="'mainInitTemplate'">
			<item r_name="'throwingDaggers'" r_template="'ThrowingDaggers'"/>
			<item r_name="'mainKnife'" r_template="'Knife'"/>
			<item r_name="'offKnife'" r_template="'Knife'"/>
			<item r_template="'TrainingLightArmor'"/>
			<item r_template="'Boots'"/>
			<item r_template="'Cloak'"/>
			<item r_template="'SmallHealthPotion'" rw_charge="3"/>
			<item r_template="'SmallFatiguePotion'" rw_charge="1"/>
			<effect r_name="'initialXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="all({Dexterity+=2,CloseCombat+=2,RangedCombat+=2,Dodge+=1,ArmorSkill+=1})"/>
			<effect r_name="'initialAutoXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_enabled="globalParameters.defaultAutoXP" r_effect="all({ClassAutoPex='Rogue',ClassSkillAutoPex='Rogue'})"/>
		</package>
		<package r_name="'RogueLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'PoisonWeapon'"/>
		</package>
		<package r_name="'RogueLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'CombatReflex'"/>
		</package>
		<package r_name="'RogueLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'SlowingShot'"/>
		</package>
		<package r_name="'RogueLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'ArmorPiercing'"/>
		</package>
		<package r_name="'RogueLevel5'" r_template="'mainLevelTemplate'">
			<effect r_name="'unlockSpe1'" r_template="'unlockSpeciality'" r_packageName="'Archer'"/>
			<effect r_name="'unlockSpe2'" r_template="'unlockSpeciality'" r_packageName="'Assassin'"/>
			<effect r_name="'unlockCross1'" r_template="'unlockCrossClass'" r_packageName="'ArcaneArcher'" secondaryBasicClass="'Mage'"/>
			<effect r_name="'unlockCross2'" r_template="'unlockCrossClass'" r_packageName="'Punisher'" secondaryBasicClass="'Priest'"/>
			<effect r_name="'unlockCross3'" r_template="'unlockCrossClass'" r_packageName="'Ranger'" secondaryBasicClass="'Warrior'"/>
			<power r_template="'TrapDetection'"/>
		</package>
		<package r_name="'RogueLevel6'" r_template="'mainLevelTemplate'">
			<power r_template="'CriticalStrike'"/>
		</package>
		<package r_name="'RogueLevel7'" r_template="'mainLevelTemplate'">
			<power r_template="'FreedomOfMovement'"/>
		</package>
		<package r_name="'RogueLevel8'" r_template="'mainLevelTemplate'">
			<power r_template="'SmokeScreen'"/>
		</package>
		<package r_name="'RogueLevel9'" r_template="'mainLevelTemplate'">
			<power r_template="'CripplingStrike'"/>
		</package>
		<package r_name="'RogueLevel10'" r_template="'mainLevelTemplate'">
			<power r_template="'ImprovedSlowingShot'"/>
		</package>
		
		<!-- WARRIOR -->
		<package r_name="'Warrior'" r_template="'mainClassTemplate'"
						 r_displayName="text.classWarrior"
						 r_graphic="'warrior.png'"
						 PrimarySkills="{'Strength','CloseCombat','ArmorSkill'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge'}"
						 Prerequisite="{{{'Strength',2},{'CloseCombat',2}},{{'Strength',3},{'CloseCombat',3}},{{'Strength',4},{'CloseCombat',4}},{{'Strength',5},{'CloseCombat',5}},{{'Strength',6},{'CloseCombat',6}},{{'Strength',7},{'CloseCombat',7}},{{'Strength',8},{'CloseCombat',8}},{{'Strength',9},{'CloseCombat',9}},{{'Strength',10},{'CloseCombat',10}},{{'Strength',11},{'CloseCombat',11}},{{'Strength',12},{'CloseCombat',12}}}"/>
		<package r_name="'WarriorInit'" r_template="'mainInitTemplate'">
			<item r_template="'HandAxe'"/>
			<item r_template="'Buckler'"/>
			<item r_template="'TrainingHeavyArmor'"/>
			<item r_template="'Helm'"/>
			<item r_template="'SmallHealthPotion'" rw_charge="3"/>
			<item r_template="'SmallFatiguePotion'" rw_charge="1"/>
			<effect r_name="'initialXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="all({Strength+=2,CloseCombat+=2,Shield+=2,Dodge+=1,ArmorSkill+=1})"/>
			<effect r_name="'initialAutoXP'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_enabled="globalParameters.defaultAutoXP" r_effect="all({ClassAutoPex='Warrior',ClassSkillAutoPex='Warrior'})"/>
		</package>
		<package r_name="'WarriorLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'Charge'"/>
		</package>
		<package r_name="'WarriorLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'WarriorStance'"/>
		</package>
		<package r_name="'WarriorLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'ArmorExpert'"/>
		</package>
		<package r_name="'WarriorLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'WeaponMaster'"/>
		</package>
		<package r_name="'WarriorLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'Swipe'"/>
			<effect r_name="'unlockSpe1'" r_template="'unlockSpeciality'" r_packageName="'Barbarian'"/>
			<effect r_name="'unlockSpe2'" r_template="'unlockSpeciality'" r_packageName="'Knight'"/>
			<effect r_name="'unlockCross1'" r_template="'unlockCrossClass'" r_packageName="'BattleMage'" secondaryBasicClass="'Mage'"/>
			<effect r_name="'unlockCross2'" r_template="'unlockCrossClass'" r_packageName="'Paladin'" secondaryBasicClass="'Priest'"/>
			<effect r_name="'unlockCross3'" r_template="'unlockCrossClass'" r_packageName="'Ranger'" secondaryBasicClass="'Rogue'"/>
		</package>
		<package r_name="'WarriorLevel6'" r_template="'mainLevelTemplate'">
			<power r_template="'WeaponFocus'"/>
		</package>
		<package r_name="'WarriorLevel7'" r_template="'mainLevelTemplate'">
			<power r_template="'Bash'"/>
		</package>
		<package r_name="'WarriorLevel8'" r_template="'mainLevelTemplate'">
			<power r_template="'WarriorStanceMastery'"/>
		</package>
		<package r_name="'WarriorLevel9'" r_template="'mainLevelTemplate'">
			<power r_template="'HeavyStrike'"/>
		</package>
		<package r_name="'WarriorLevel10'" r_template="'mainLevelTemplate'">		
			<power r_template="'Adrenaline'"/>
		</package>
		
		<!-- -->
		<!-- PRESTIGE CLASSES -->
		<!-- -->
		
		<!-- ARCANE ARCHER -->
		<package r_name="'ArcaneArcher'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classArcaneArcher"
						 r_graphic="'arcanearcher.png'"
						 PrimarySkills="{'Dexterity','Intelligence','RangedCombat','Dodge'}+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName,'RangedCombat'}:{})"
						 SecondarySkills="{'Constitution','Resistance','ArmorSkill','Magic'}"
						 Prerequisite="{{{'Dexterity',6},{'Intelligence',6},{'RangedCombat',6}},{{'Dexterity',7},{'Intelligence',7},{'RangedCombat',7}},{{'Dexterity',8},{'Intelligence',8},{'RangedCombat',8}},{{'Dexterity',9},{'Intelligence',9},{'RangedCombat',9}},{{'Dexterity',10},{'Intelligence',10},{'RangedCombat',10}}}"/>
		<package r_name="'ArcaneArcherLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'SeekerArrows'"/>
		</package>
		<package r_name="'ArcaneArcherLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'ArcaneMark'"/>
		</package>
		<package r_name="'ArcaneArcherLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'ExplosiveArrow'"/>
		</package>
		<package r_name="'ArcaneArcherLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'MarksmanRunes'"/>
		</package>
		<package r_name="'ArcaneArcherLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'RainOfArrows'"/>
		</package>
		
		<!-- ARCHER -->
		<package r_name="'Archer'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classArcher"
						 r_graphic="'archer.png'"
						 PrimarySkills="{'Dexterity','RangedCombat','Dodge'}+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName,'RangedCombat'}:{})"
						 SecondarySkills="{'Constitution','Resistance','ArmorSkill'}"
						 Prerequisite="{{{'Dexterity',7},{'RangedCombat',7}},{{'Dexterity',8},{'RangedCombat',8}},{{'Dexterity',9},{'RangedCombat',9}},{{'Dexterity',10},{'RangedCombat',10}},{{'Dexterity',11},{'RangedCombat',11}}}"/>
		<package r_name="'ArcherLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'PointBlankShot'"/>
		</package>
		<package r_name="'ArcherLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'ImpactArrow'"/>
		</package>
		<package r_name="'ArcherLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'DoubleShot'"/>
		</package>
		<package r_name="'ArcherLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'RapidFire'"/>
		</package>
		<package r_name="'ArcherLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'PiercingShot'"/>
		</package>
		
		<!-- ASSASSIN -->
		<package r_name="'Assassin'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classAssassin"
						 r_graphic="'assassin.png'"
						 PrimarySkills="{'Strength','CloseCombat','Dexterity','Dodge'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})"
						 SecondarySkills="{'Constitution','Resistance','ArmorSkill'}+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName,'RangedCombat'}:{})"
						 Prerequisite="{{{'Dexterity',7},{'CloseCombat',7}},{{'Dexterity',8},{'CloseCombat',8}},{{'Dexterity',9},{'CloseCombat',9}},{{'Dexterity',10},{'CloseCombat',10}},{{'Dexterity',11},{'CloseCombat',11}}}"/>
		<package r_name="'AssassinLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'NoMercy'"/>
		</package>
		<package r_name="'AssassinLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'TrapCreation'"/>
		</package>
		<package r_name="'AssassinLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'DualWieldMaster'"/>
		</package>
		<package r_name="'AssassinLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'MasterPoisonner'"/>
		</package>
		<package r_name="'AssassinLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'DeathAttack'"/>
		</package>
		
		<!-- BARBARIAN -->
		<package r_name="'Barbarian'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classBarbarian"
						 r_graphic="'barbarian.png'"
						 PrimarySkills="{'Strength','CloseCombat','ArmorSkill'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge'}"
						 Prerequisite="{{{'Strength',7},{'CloseCombat',7}},{{'Strength',8},{'CloseCombat',8}},{{'Strength',9},{'CloseCombat',9}},{{'Strength',10},{'CloseCombat',10}},{{'Strength',11},{'CloseCombat',11}}}"/>
		<package r_name="'BarbarianLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'HeavyWeaponMastery'"/>
		</package>
		<package r_name="'BarbarianLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'Intimidation'"/>
		</package>
		<package r_name="'BarbarianLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'MightyCharge'"/>
		</package>
		<package r_name="'BarbarianLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'Fearless'"/>
		</package>
		<package r_name="'BarbarianLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'Rage'"/>
		</package>

		<!-- BATTLEMAGE -->
		<package r_name="'BattleMage'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classBattleMage"
						 r_graphic="'battlemage.png'"
						 PrimarySkills="{'Strength','CloseCombat','Intelligence','Evocation'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge','Magic','ArmorSkill'}"
						 Prerequisite="{{{'Strength',6},{'Intelligence',6},{'CloseCombat',6}},{{'Strength',7},{'Intelligence',7},{'CloseCombat',7}},{{'Strength',8},{'Intelligence',8},{'CloseCombat',8}},{{'Strength',9},{'Intelligence',9},{'CloseCombat',9}},{{'Strength',10},{'Intelligence',10},{'CloseCombat',10}}}"/>
		<package r_name="'BattleMageLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'MightAndMagic'"/>
			<effect r_name="'noMoreOffhand'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="gameParameters.r_autoEquipoffhand=0"/>
		</package>
		<package r_name="'BattleMageLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'FighterRunes'"/>
		</package>
		<package r_name="'BattleMageLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'SlashAndBlast'"/>
		</package>
		<package r_name="'BattleMageLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'ArcaneCharge'"/>
		</package>
		<package r_name="'BattleMageLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'ArcaneBody'"/>
		</package>

		<!-- ENCHANTER -->
		<package r_name="'Enchanter'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classEnchanter"
						 r_graphic="'enchanter.png'"
						 PrimarySkills="{'Intelligence','Enchantment','Dodge'}"
						 SecondarySkills="{'Dexterity','Constitution','Resistance'}"
						 Prerequisite="{{{'Intelligence',7},{'Enchantment',7}},{{'Intelligence',8},{'Enchantment',8}},{{'Intelligence',9},{'Enchantment',9}},{{'Intelligence',10},{'Enchantment',10}},{{'Intelligence',11},{'Enchantment',11}}}"/>
		<package r_name="'EnchanterLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'ExtendEnchantment'"/>
		</package>
		<package r_name="'EnchanterLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'Subversion'"/>
		</package>
		<package r_name="'EnchanterLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'UndeadManipulation'"/>
		</package>
		<package r_name="'EnchanterLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'PeaceOfMind'"/>
		</package>
		<package r_name="'EnchanterLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'Charm'"/>
		</package>
		
		<!-- INQUISITOR -->
		<package r_name="'Inquisitor'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classInquisitor"
						 r_graphic="'inquisitor.png'"
						 PrimarySkills="{'Intelligence','Magic','Resistance'}"
						 SecondarySkills="{'Dexterity','Constitution','Dodge','ArmorSkill'}"
						 Prerequisite="{{{'Intelligence',7},{'Magic',5},{'Resistance',5}},{{'Intelligence',8},{'Magic',5},{'Resistance',6}},{{'Intelligence',9},{'Magic',7},{'Resistance',7}},{{'Intelligence',10},{'Magic',8},{'Resistance',8}},{{'Intelligence',11},{'Magic',9},{'Resistance',9}}}"/>
		<package r_name="'InquisitorLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'FireMark'"/>
		</package>
		<package r_name="'InquisitorLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'PurificationByFire'"/>
		</package>
		<package r_name="'InquisitorLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'HolyFire'"/>
		</package>
		<package r_name="'InquisitorLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'BurningBlood'"/>
		</package>
		<package r_name="'InquisitorLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'PutToTheQuestion'"/>
		</package>
		
		<!-- KNIGHT -->
		<package r_name="'Knight'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classKnight"
						 r_graphic="'knight.png'"
						 PrimarySkills="{'Strength','CloseCombat','ArmorSkill','Shield'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge'}"
						 Prerequisite="{{{'Strength',7},{'Shield',5},{'ArmorSkill',5}},{{'Strength',8},{'Shield',6},{'ArmorSkill',6}},{{'Strength',9},{'Shield',7},{'ArmorSkill',7}},{{'Strength',10},{'Shield',8},{'ArmorSkill',8}},{{'Strength',11},{'Shield',9},{'ArmorSkill',9}}}"/>
		<package r_name="'KnightLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'ShieldCharge'"/>
		</package>
		<package r_name="'KnightLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'ShieldFocus'"/>
		</package>
		<package r_name="'KnightLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'DefensiveStance'"/>
		</package>
		<package r_name="'KnightLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'ArmorMastery'"/>
		</package>
		<package r_name="'KnightLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'ShieldBash'"/>
		</package>
		
		<!-- NECROMANCER -->
		<package r_name="'Necromancer'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classNecromancer"
						 r_graphic="'necromancer.png'"
						 PrimarySkills="{'Intelligence','Conjuration'}"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge'}"
						 Prerequisite="{{{'Intelligence',7},{'Conjuration',7}},{{'Intelligence',8},{'Conjuration',8}},{{'Intelligence',9},{'Conjuration',9}},{{'Intelligence',10},{'Conjuration',10}},{{'Intelligence',11},{'Conjuration',11}}}"/>
		<package r_name="'NecromancerLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'UndeadLord'"/>
		</package>
		<package r_name="'NecromancerLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'UndeadFamiliar'"/>
		</package>
		<package r_name="'NecromancerLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'DrainLife'"/>
		</package>
		<package r_name="'NecromancerLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'Reanimator'"/>
		</package>
		<package r_name="'NecromancerLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'SoulReaper'"/>
		</package>
		
		<!-- ORACLE -->
		<package r_name="'Oracle'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classOracle"
						 r_graphic="'oracle.png'"
						 PrimarySkills="{'Strength','Dexterity','Intelligence','Constitution'}"
						 SecondarySkills="{'Resistance','Dodge'}"
						 Prerequisite="{{{'Strength',4},{'Dexterity',4},{'Intelligence',4},{'Constitution',4}},{{'Strength',5},{'Dexterity',5},{'Intelligence',5},{'Constitution',5}},{{'Strength',6},{'Dexterity',6},{'Intelligence',6},{'Constitution',6}},{{'Strength',7},{'Dexterity',7},{'Intelligence',7},{'Constitution',7}},{{'Strength',8},{'Dexterity',8},{'Intelligence',8},{'Constitution',8}}}"/>
		<package r_name="'OracleLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'MindPerfection'"/>
		</package>
		<package r_name="'OracleLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'HolyWave'"/>
		</package>
		<package r_name="'OracleLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'BodyPerfection'"/>
		</package>
		<package r_name="'OracleLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'MysticBackfire'"/>
			<effect r_name="'MysticBackfirePackage'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="'MysticBackfirePackage'" r_addToPackage="0"/>
		</package>
		<package r_name="'OracleLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'Sanctuary'"/>
		</package>
		<package r_name="'MysticBackfirePackage'" r_template="'mainPackageTemplate'">
			<power r_template="'MysticBackfirePower'"/>
		</package>

		<!-- PALADIN -->
		<package r_name="'Paladin'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classPaladin"
						 r_graphic="'paladin.png'"
						 PrimarySkills="{'Strength','CloseCombat','ArmorSkill'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge','Transmutation'}"
						 Prerequisite="{{{'Strength',7},{'CloseCombat',6},{'Holy',1}},{{'Strength',8},{'CloseCombat',7}},{{'Strength',9},{'CloseCombat',8}},{{'Strength',10},{'CloseCombat',9}},{{'Strength',11},{'CloseCombat',10}}}"/>
		<package r_name="'PaladinLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'HolyWeapon'"/>
		</package>
		<package r_name="'PaladinLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'LayOnHands'"/>
		</package>
		<package r_name="'PaladinLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'SelfSacrifice'"/>
		</package>
		<package r_name="'PaladinLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'DisruptEvil'"/>
		</package>
		<package r_name="'PaladinLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'StrengthOfTheMartyr'"/>
			<effect r_name="'StrengthOfTheMartyrPackage'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_className="'CctlEffectAddPackage'" r_packageName="'StrengthOfTheMartyrPackage'" r_addToPackage="0"/>
		</package>
		<package r_name="'StrengthOfTheMartyrPackage'" r_template="'mainPackageTemplate'">
			<power r_template="'StrengthOfTheMartyrBuff'"/>
		</package>
		
		<!-- PUNISHER -->
		<package r_name="'Punisher'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classPunisher"
						 r_graphic="'punisher.png'"
						 PrimarySkills="{'Dexterity','Dodge','Throw'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName,'RangedCombat'}:{})"
						 SecondarySkills="{'Constitution','CloseCombat','RangedCombat','Resistance'}"
						 Prerequisite="{{{'Dexterity',7},{'Throw',5},{'Death',1}},{{'Dexterity',8},{'Throw',6}},{{'Dexterity',9},{'Throw',7}},{{'Dexterity',10},{'Throw',8}},{{'Dexterity',11},{'Throw',9},{'Holy',1}}}"/>
		<package r_name="'PunisherLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'DeathPoison'"/>
		</package>
		<package r_name="'PunisherLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'BlindingLight'"/>
		</package>
		<package r_name="'PunisherLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'VampiricStrike'"/>
		</package>
		<package r_name="'PunisherLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'Punishment'"/>
		</package>
		<package r_name="'PunisherLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'HolyHandGrenade'"/>
		</package>

		<!-- RANGER -->
		<package r_name="'Ranger'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classRanger"
						 r_graphic="'ranger.png'"
						 PrimarySkills="{'Dexterity','CloseCombat','RangedCombat'}+((exists(mainhand)&&exists(mainhand.weaponSkillName))?{mainhand.weaponSkillName}:{})+((exists(offhand)&&exists(offhand.weaponSkillName))?{offhand.weaponSkillName}:{})+((exists(ranged)&&exists(ranged.weaponSkillName))?{ranged.weaponSkillName,'RangedCombat'}:{})"
						 SecondarySkills="{'Strength','Constitution','Resistance','Dodge','ArmorSkill'}"
						 Prerequisite="{{{'Dexterity',7},{'CloseCombat',6},{'RangedCombat',6}},{{'Dexterity',8},{'CloseCombat',7},{'RangedCombat',7}},{{'Dexterity',9},{'CloseCombat',8},{'RangedCombat',8}},{{'Dexterity',10},{'CloseCombat',9},{'RangedCombat',9}},{{'Dexterity',11},{'CloseCombat',10},{'RangedCombat',10}}}"/>
		<package r_name="'RangerLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'Run'"/>
		</package>
		<package r_name="'RangerLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'Versatility'"/>
		</package>
		<package r_name="'RangerLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'HerbalHealing'"/>
		</package>
		<package r_name="'RangerLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'FastMovement'"/>
		</package>
		<package r_name="'RangerLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'PredatorInstinct'"/>
		</package>
		
		<!-- SUMMONER -->
		<package r_name="'Summoner'" r_template="'mainAdvancedClassTemplate'"
						 r_displayName="text.classSummoner"
						 r_graphic="'summoner.png'"
						 PrimarySkills="{'Intelligence','Conjuration'}"
						 SecondarySkills="{'Dexterity','Constitution','Resistance','Dodge'}"
						 Prerequisite="{{{'Intelligence',7},{'Conjuration',7}},{{'Intelligence',8},{'Conjuration',8}},{{'Intelligence',9},{'Conjuration',9}},{{'Intelligence',10},{'Conjuration',10}},{{'Intelligence',11},{'Conjuration',11}}}"/>
		<package r_name="'SummonerLevel1'" r_template="'mainLevelTemplate'">
			<power r_template="'EnhanceConjuration'"/>
		</package>
		<package r_name="'SummonerLevel2'" r_template="'mainLevelTemplate'">
			<power r_template="'Banish'"/>
		</package>
		<package r_name="'SummonerLevel3'" r_template="'mainLevelTemplate'">
			<power r_template="'ShareLife'"/>
		</package>
		<package r_name="'SummonerLevel4'" r_template="'mainLevelTemplate'">
			<power r_template="'HealSummon'"/>
		</package>
		<package r_name="'SummonerLevel5'" r_template="'mainLevelTemplate'">
			<power r_template="'AugmentSummoning'"/>
		</package>
	</stuffPackages>
</data>