<data>
	<powers>
<!-- -->
<!-- Arcane Archer -->
<!-- -->
		<power r_name="'SeekerArrows'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameSeekerArrows"
					 r_graphic="'SeekerArrows.png'"
					 powerTooltip="text.powerTooltipSeekerArrows">
			<event r_name="'rangedWeaponUpdate'" r_template="'mainEventTemplate'" r_eventTarget="'ranged'" r_targetType="'evaluator'">
				<effect r_name="'eventRefresh'" r_template="{'mainSelfEffectTemplate','utilityEffect'}" r_className="'CutiEffectRefreshHierarchy'" r_refreshTarget="'SeekerArrows'"/>
			</event>
			<modifier r_name="'targetingType'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(ranged)" r_modifierTarget="'ranged.action.r_targetingType'" r_modifiedValue="'direct'"/>
		</power>
		<power r_name="'ArcaneMark'" r_template="'WeaponAttackWithEffectTemplate'"
					 r_displayName="text.powerNameArcaneMark"
					 r_graphic="'ArcaneMark.png'"
					 powerTooltip="text.powerTooltipArcaneMark"
					 powerEffectOnAttack="'markEffect'"
					 slotName="'ranged'"
					 powerFatigueCost="5"
					 powerDuration="2000"
					 debuffValue="2*packages.ArcaneArcher.classLevel"
					 powerRecastRule="'replace'"
					 actionLogMethod="'logDebuffEffect'"/>
		<power r_name="'RainOfArrows'" r_template="'activePowerTemplate'"
					 powerEffectTemplate="{'mainSquareEffectTemplate','multiEffect'}"
		 			 r_displayName="text.powerNameRainOfArrows"
					 r_graphic="'RainOfArrows.png'"
					 powerRange="0"
					 powerTooltip="text.powerTooltipRainOfArrows"
					 powerFatigueCost="10">
			<action r_name="'use'" r_enabled="exists(ranged)">
				<effect r_name="'mainEffect'">
					<effect r_name="'log'" r_template="'logPower'"/>
					<effect r_name="'Rain'" r_template="{'mainTargetEffectTemplate','controllerEffect'}"
									r_className="'CctlEffectLaunchAreaEffect'"
									r_area="{'circle',targetSquare.w_xCoord,targetSquare.w_yCoord,ranged.action.r_minRange,ranged.action.r_range}"
									r_areaTargetingType="'direct'">
						<effect r_name="'strikeRanged'" r_template="{'mainTargetEffectTemplate','controllerEffect'}" r_enabled="exists(target)&&ranged.action.r_canTarget" r_className="'CctlEffectLaunchAction'" r_newActor="'actor'" r_newTarget="'target'" r_newActionType="'equippedItem'" r_newActionName="'ranged'" r_delayRequest="0" r_params="{{'isFree',1}}"/>
					</effect>
				</effect>
			</action>
		</power>
		<power r_name="'MarksmanRunes'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameMarksmanRunes"
					 r_graphic="'MarksmanRunes.png'"
					 powerTooltip="text.powerTooltipMarksmanRunes">
			<event r_name="'mainhandWeaponUpdate'" r_template="'mainEventTemplate'" r_eventTarget="'mainhand'" r_targetType="'evaluator'">
				<effect r_name="'eventRefresh'" r_template="{'mainSelfEffectTemplate','utilityEffect'}" r_className="'CutiEffectRefreshHierarchy'" r_refreshTarget="'MarksmanRunes'"/>
			</event>
			<modifier r_name="'hitBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(ranged)" r_modifierTarget="'ranged.weaponHitBonus'" r_modifiedValue="$0+3*Air"/>
			<modifier r_name="'defenseBonus'" r_template="'mainPowerModifier'" r_modifierTarget="'customRangedDefenseBonus'" r_modifiedValue="$0+3*Water"/>
			<modifier r_name="'armorPiercingBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(ranged)" r_modifierTarget="'ranged.weaponPiercingDamage'" r_modifiedValue="$0+3*Earth"/>
			<modifier r_name="'criticalChanceBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(ranged)" r_modifierTarget="'ranged.weaponCriticalPercentage'" r_modifiedValue="$0+5*Fire"/>
			<modifier r_name="'criticalDamageBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(ranged)" r_modifierTarget="'ranged.weaponCriticalDamage'" r_modifiedValue="$0+3*Fire"/>
		</power>
		<power r_name="'ExplosiveArrow'" r_template="'weaponProcTemplate'"
					 r_displayName="text.powerNameExplosiveArrow"
					 r_graphic="'ExplosiveArrow.png'"
					 powerTooltip="text.powerTooltipExplosiveArrow"
					 procEffectTemplate="'rangedAEAttack'"
					 procProbability="packages.ArcaneArcher.classLevel*5>1D100"
					 noRecursiveProc="1"
					 procLogName="r_displayName">
			<event r_name="'procRanged'" r_template="'eventProcTemplate'" slotName="'ranged'"/>
		</power>

<!-- -->
<!-- BATTLEMAGE POWERS -->
<!-- -->
		<power r_name="'MightAndMagic'" r_template="'weaponProcTemplate'"
					 r_displayName="text.powerNameMightAndMagic"
					 r_graphic="'MightMagic.png'"
					 powerTooltip="text.powerTooltipMightAndMagic"
					 procEffectTemplate="'launchActionProcEffect'"
					 powerActionType="'power'"
					 powerActionNamed="'MagicMissile'"
					 procProbability="!exists(offhand)&&(mainhand.slot!='twohands')"
					 procParams="{{'isFree',1},{'r_targetingType','all'},{'r_range',99}}"
					 procLogName="r_displayName">
			<event r_name="'procMainhand'" r_template="'eventProcTemplate'" slotName="'mainhand'"/>
		</power>
		<power r_name="'FighterRunes'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameFighterRunes"
					 r_graphic="'FighterRunes.png'"
					 powerTooltip="text.powerTooltipFighterRunes"
					 elementalPower="1">
			<event r_name="'mainhandWeaponUpdate'" r_template="'mainEventTemplate'" r_eventTarget="'mainhand'" r_targetType="'evaluator'">
				<effect r_name="'eventRefresh'" r_template="{'mainSelfEffectTemplate','utilityEffect'}" r_className="'CutiEffectRefreshHierarchy'" r_refreshTarget="'FighterRunes'"/>
			</event>
			<modifier r_name="'hitBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(mainhand)" r_modifierTarget="'mainhand.weaponHitBonus'" r_modifiedValue="$0+3*Air*elementalPower"/>
			<modifier r_name="'defenseBonus'" r_template="'mainPowerModifier'" r_modifierTarget="'customCloseCombatDefenseBonus'" r_modifiedValue="$0+3*Water*elementalPower"/>
			<modifier r_name="'armorPiercingBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(mainhand)" r_modifierTarget="'mainhand.weaponPiercingDamage'" r_modifiedValue="$0+3*Earth*elementalPower"/>
			<modifier r_name="'criticalChanceBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(mainhand)" r_modifierTarget="'mainhand.weaponCriticalPercentage'" r_modifiedValue="$0+5*Fire*elementalPower"/>
			<modifier r_name="'criticalDamageBonus'" r_template="'mainPowerModifier'" r_enabled="w_learned&&exists(mainhand)" r_modifierTarget="'mainhand.weaponCriticalDamage'" r_modifiedValue="$0+3*Fire*elementalPower"/>
		</power>
		<power r_name="'SlashAndBlast'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameSlashAndBlast"
					 r_graphic="'SlashAndBlast.png'"
					 powerTooltip="text.powerTooltipSlashAndBlast">
			<modifier r_name="'slashAndBlast'" r_template="'mainPowerModifier'" r_modifierTarget="'slashAndBlast'" r_modifiedValue="1"/>
		</power>
		<power r_name="'ArcaneCharge'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameArcaneCharge"
					 r_graphic="'ArcaneCharge.png'"
					 powerTooltip="text.powerTooltipArcaneCharge">
			<modifier r_name="'ArcaneCharge'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.arcaneCharge'" r_modifiedValue="1"/>
		</power>
		<power r_name="'ArcaneBody'" r_template="'mainBuffPowerTemplate'"
					 r_displayName="text.powerNameArcaneBody"
					 r_graphic="'ArcaneBody.png'"
					 powerTooltip="text.powerTooltipArcaneBody"
					 powerDuration="5000"
					 powerFatigueCost="0"
					 powerExhaustionCost="2">
			<action r_name="'use'">
				<effect r_name="'mainEffect'">
					<modifier r_name="'customDamageAbsorption'" r_template="'mainEffectModifier'" r_modifierTarget="'target.customDamageAbsorption'" r_modifiedValue="$0+5"/>
					<modifier r_name="'moveTimeCostMultiplier'" r_template="'mainEffectModifier'" r_modifierTarget="'target.moveTimeCostMultiplier'" r_modifiedValue="$0*0.7"/>
					<modifier r_name="'fatigueCost'" r_template="'mainEffectModifier'" r_enabled="w_launched&&exists(target.mainhand)&&exists(target.mainhand.action)" r_modifierTarget="'target.mainhand.action.fatigueCost'" r_modifiedValue="$0*0.5"/>
					<modifier r_name="'elementalPower'" r_template="'mainEffectModifier'" r_modifierTarget="'target.powers.FighterRunes.elementalPower'" r_modifiedValue="2"/>
					<modifier r_name="'blueHead'" r_template="'mainEffectModifier'" r_modifierTarget="'animatedRace'" r_modifiedValue="'a'+$0"/>
					<event r_name="'mainhandWeaponUpdate'" r_template="'mainEventTemplate'" r_enabled="w_launched" r_eventTarget="'target.mainhand'" r_targetType="'evaluator'">
						<effect r_name="'eventRefresh'" r_template="{'mainTargetEffectTemplate','utilityEffect'}" r_className="'CutiEffectRefreshHierarchy'" r_refreshTarget="'mainEffect'"/>
					</event>
				</effect>
			</action>
		</power>

<!-- -->
<!-- INQUISITOR POWERS -->
<!-- -->
		<power r_name="'FireMark'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameFireMark"
					 r_graphic="'FireMark.png'"
					 powerTooltip="text.powerTooltipFireMark">
			<modifier r_name="'FireMark'" r_template="'mainPowerModifier'" r_modifierTarget="'fireMarkPower'" r_modifiedValue="1"/>
		</power>
		<power r_name="'PurificationByFire'" r_template="{'mainPowerPhysicalAttack','transmutationSpellTemplate'}"
					 powerHitEffectTemplate="{'mainTargetEffectTemplate','multiEffect'}"
					 r_displayName="text.powerNamePurificationByFire"
					 r_graphic="'PurificationByFire.png'"
					 powerTooltip="text.powerTooltipPurificationByFire"
					 basePowerDamage="5+2*Fire"
					 powerRange="4"
					 powerFatigueCost="10"
					 actionLogMethod="'logPowerWithDamageNoRoll'"
					 attackRollSuccess="powerHitBonus+(2D11-2D11)>=target.PhysicalResistance"
					 added="1">
			<action r_name="'use'" r_minRange="0" canTargetFaction="1">
				<effect r_name="'mainEffect'" dispelCount="0">
					<effect r_name="'hitEffect'">
						<effect r_name="'dispelEffect'" r_template="{'mainTargetEffectTemplate','controllerEffect'}"
										r_className="'CctlEffectRemoveDurable'"
										r_condition="!contains(targetEffect.effectTags,'noDispel')&&(attackRollSuccess)"
										w_result="0">
							<modifier r_name="'dispelCount'" r_template="'mainModifierTemplate'" r_modifierTarget="'dispelCount'" r_modifiedValue="w_result"/>									
						</effect>
						<effect r_name="'damageEffect'" r_template="'powerPhysicalDamageEffect'"
										r_enabled="dispelCount>0"
										offensiveDamageBonus="dispelCount*((target==actor)?5:basePowerDamage)"
										roll="0"/>
						<effect r_name="'noDispelLog'" r_template="'logPowerNoEffect'"
										r_enabled="dispelCount==0"/>
					</effect>
				</effect>
			</action>
		</power>
		<power r_name="'HolyFire'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameHolyFire"
					 r_graphic="'HolyFire.png'"
					 powerTooltip="text.powerTooltipHolyFire">
			<modifier r_name="'FireModifier'" r_template="'mainPowerModifier'" r_modifierTarget="'Fire'" r_modifiedValue="$0+ceil(Holy/2)"/>
	 	</power>
		<power r_name="'BurningBlood'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameBurningBlood"
					 r_graphic="'BurningBlood.png'"
					 powerTooltip="text.powerTooltipBurningBlood">
			<modifier r_name="'poisonImmunity'" r_template="'mainPowerModifier'" r_modifierTarget="'immunities'" r_modifiedValue="$0+{'Poison'}"/>
		</power>
		<power r_name="'PutToTheQuestion'" r_template="{'mainPowerMentalAttack','enchantmentMentalSpellTemplate'}"
					 r_displayName="text.powerNamePutToTheQuestion"
					 r_graphic="'PutToTheQuestion.png'"
					 powerTooltip="text.powerTooltipPutToTheQuestion"
		 			 powerHitEffectTemplate="{'mainTargetEffectTemplate','multiEffect'}"
		 			 powerMissEffectTemplate="{'mainTargetEffectTemplate','multiEffect'}"
		 			 powerDuration="500"
					 powerRecastRule="'fail'"
					 powerRange="1"
					 powerFatigueCost="15"
					 added="1">
			<action r_name="'use'">
				<modifier r_name="'livingTargeting'" r_template="'mainModifierTemplate'" r_modifierTarget="'r_canTarget'" r_modifiedValue="$0&&!contains(target.encounterTags,'mindless')"/>
				<effect r_name="'mainEffect'">
					<effect r_name="'hitEffect'" r_effectName="text.effectNamePutToTheQuestion">
						<effect r_name="'log'" r_template="'logPowerWithEffect'"/>
						<effect r_name="'silence'" r_template="'silenceEffect'" actionLogMethod="'logDebuffEffect'"/>
						<effect r_name="'stun'" r_template="'stunEffect'" actionLogMethod="'logDebuffEffect'"/>
						<effect r_name="'fireMark'" r_template="'fireMarkEffect'" r_tickCount="powerDuration/100-1" actionLogMethod="'noEffectTemplate'"/>
					</effect>
					<effect r_name="'missEffect'" powerDuration="300">
						<effect r_name="'log'" r_template="'logPowerMissed'"/>
						<effect r_name="'silence'" r_template="'silenceEffect'" actionLogMethod="'logDebuffEffect'"/>
					</effect>
				</effect>
			</action>
		</power>

<!-- -->
<!-- PALADIN POWERS -->
<!-- -->
		<power r_name="'HolyWeapon'" r_template="'weaponProcAllWeaponsTemplate'"
					 r_displayName="text.powerNameHolyWeapon"
					 r_graphic="'HolyWeapon.png'"
					 powerTooltip="text.powerTooltipHolyWeapon"
					 procEffectTemplate="'holyWeaponEffect'"
					 procProbability="contains(target.encounterTags,'unholy')"
					 powerDamage="10+5*Holy"/>
		<power r_name="'LayOnHands'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameLayOnHands"
					 r_graphic="'LayOnHands.png'"
					 powerTooltip="text.powerTooltipLayOnHands">
			<modifier r_name="'Healing'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Healing.powerHealBonus'" r_modifiedValue="$0+(packages.Paladin.classLevel*2)"/>
			<modifier r_name="'HealingBuff'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Healing.constitutionBuff'" r_modifiedValue="$0+packages.Paladin.classLevel"/>		
		</power>
		<power r_name="'SelfSacrifice'" r_template="'WeaponAttackPowerTemplate'"
					 r_displayName="text.powerNameSelfSacrifice"
					 r_graphic="'SelfSacrifice.png'"
					 powerTooltip="text.powerTooltipSelfSacrifice"
					 slotName="'mainhand'"
					 powerFatigueCost="0">
			<action r_name="'use'"
							r_enabled="exists(mainhand)"
							hitPointsCost="mainhand.weaponFatigueCost">
				<effect r_name="'mainEffect'">
					<effect r_name="'strike'" r_params="{{'isFree',1},{'baseWeaponDamage',$0*1.2}}"/>
				</effect>
			</action>
		</power>
		<power r_name="'DisruptEvil'" r_template="'weaponProcAllWeaponsTemplate'"
					 r_displayName="text.powerNameDisruptEvil"
					 r_graphic="'DisruptEvil.png'"
					 powerTooltip="text.powerTooltipDisruptEvil"
					 procEffectTemplate="'disruptEvilAttack'"
					 procProbability="contains(target.encounterTags,'summon')&&contains(target.encounterTags,'unholy')"
					 powerHitBonus="packages.Paladin.classLevel+3*Holy"/>
		<power r_name="'StrengthOfTheMartyr'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameStrengthOfTheMartyr"
					 r_graphic="'Crusade.png'"
					 powerTooltip="text.powerTooltipStrengthOfTheMartyr">
			<event r_name="'damaged'" r_template="'mainEventTemplate'" r_enabled="w_learned" r_eventTarget="'hitPoints'" r_targetType="'attribute'">
				<effect r_name="'selfBuff'" r_template="{'mainSelfEffectTemplate','controllerEffect'}"
								r_enabled="(w_oldValue>w_newValue)"
								r_className="'CctlEffectLaunchAction'"
								r_newActor="'self'"
								r_newTarget="'self'"
								r_newActionType="'power'"
								r_newActionName="'StrengthOfTheMartyrBuff'"
								r_delayRequest="0"
								r_params="{{'isFree',1}}"/>
			</event>
		</power>
		<power r_name="'StrengthOfTheMartyrBuff'" r_template="{'mainPowerWithBuffTemplate'}"
					 r_displayName="text.powerNameStrengthOfTheMartyr"
					 r_graphic="'Crusade.png'"
					 powerDuration="300"
					 powerTooltip="text.powerTooltipStrengthOfTheMartyr">
			<action r_name="'use'" canBeInActionList="0">
				<effect r_name="'mainEffect'">
					<effect r_name="'buffEffect'" rw_charge="1" recastRule="'resetDurationAndAddCharge'">
						<modifier r_name="'Strength'" r_template="'mainEffectModifier'" r_modifierTarget="'target.Strength'" r_modifiedValue="$0+rw_charge"/>
						<modifier r_name="'Constitution'" r_template="'mainEffectModifier'" r_modifierTarget="'target.Constitution'" r_modifiedValue="$0+rw_charge"/>
						<modifier r_name="'chargeMax'" r_template="'mainEffectModifier'" r_modifierTarget="'rw_charge'" r_modifiedValue="min($0,3*Holy)"/>
					</effect>
				</effect>
			</action>
		</power>
		
<!-- -->
<!-- PUNISHER POWERS -->
<!-- -->
		<power r_name="'DeathPoison'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameDeathPoison"
					 r_graphic="'DeathPoison.png'"
					 powerTooltip="text.powerTooltipDeathPoison">
			<modifier r_name="'DeathPoison'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.PoisonWeapon.poisonDamage'" r_modifiedValue="$0+2*Death"/>
		</power>
		<power r_name="'BlindingLight'" r_template="{'activePowerTemplate','powerAttackValueInterface'}"
					 r_displayName="text.powerNameBlindingLight"
					 r_graphic="'BlindingLight.png'"
					 powerTooltip="text.powerTooltipBlindingLight"
					 powerEffectTemplate="{'mainSelfEffectTemplate','multiEffect'}"
					 basePowerHitBonus="2*packages.Punisher.classLevel"
		 			 powerDefenseName="text.defensePhysicalResistance"
					 skillName="'Throw'"
					 mainSkillName="'RangedCombat'"
					 powerRange="0"
					 powerDuration="2D10*100"
					 powerBlindValue="packages.Punisher.classLevel+2*Holy"
					 powerConfuseDuration="(2D3-1)*100"
					 powerFatigueCost="10"
					 powerRecastRule="'fail'">
			<action r_name="'use'">
				<effect r_name="'mainEffect'">
					<effect r_name="'blindAndConfuseEffect'" r_template="{'mainSquareEffectTemplate','controllerEffect'}"
									r_className="'CctlEffectLaunchAreaEffect'"
									r_area="{'circle',targetSquare.w_xCoord,targetSquare.w_yCoord,1,1}"
									r_areaTargetingType="'direct'">
						<effect r_name="'debuffEffect'" r_template="'physicalBlindAttack'">
							<effect r_name="'hitEffect'" blindValue="powerBlindValue">
								<effect r_name="'startEffect'">
									<effect r_name="'confuseEffect'" r_template="'physicalConfuseAttack'"
													powerDuration="powerConfuseDuration"/>
								</effect>
							</effect>
						</effect>
						<effect r_name="'zoneEffectGraphic'" r_template="'zoneEffectGraphicTemplate'"
										zoneEffectGraphic="'holyAreaEffect'"
										delay="actor.square.distanceTo(targetSquare)"/>
					</effect>
					<effect r_name="'blindAEEffect'" r_template="{'mainSquareEffectTemplate','controllerEffect'}"
									r_className="'CctlEffectLaunchAreaEffect'"
									r_area="{'circle',targetSquare.w_xCoord,targetSquare.w_yCoord,2,4}"
									r_areaTargetingType="'direct'">
						<effect r_name="'blindEffect'" r_template="'physicalBlindAttack'">
							<effect r_name="'hitEffect'" blindValue="powerBlindValue"/>
						</effect>
						<effect r_name="'zoneEffectGraphic'" r_template="'zoneEffectGraphicTemplate'"
										zoneEffectGraphic="'holyAreaEffect'"
										delay="actor.square.distanceTo(targetSquare)"/>
					</effect>
				</effect>
			</action>
		</power>
		<power r_name="'VampiricStrike'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameVampiricStrike"
					 r_graphic="'VampiricStrike.png'"
					 powerTooltip="text.powerTooltipVampiricStrike"
					 lastMainhandHitTime="0">
			<event r_name="'mainhandProc'" r_template="'mainEventTemplate'"
						 r_enabled="exists(mainhand)&&exists(mainhand.action)"
						 r_targetType="'attribute'"
						 r_eventTarget="'mainhand.action.damageDone'">
		 	 	<effect r_name="'strikeTime'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}"
		 	 					r_enabled="(!target.isDead)&&(mainhand.action.damageDone>0)"
		 	 					r_effect="lastMainhandHitTime=actor.rw_currentTime"/>
			</event>
			<event r_name="'offhandProc'" r_template="'mainEventTemplate'"
						 r_enabled="exists(offhand)&&exists(offhand.action)"
						 r_targetType="'attribute'"
						 r_eventTarget="'offhand.action.damageDone'">
		 	 	<effect r_name="'doubleStrike'" r_template="'mainPhysicalDamageEffect'"
		 	 					r_enabled="(!target.isDead)&&contains(target.encounterTags,'living')&&(offhand.action.damageDone>0)&&(lastMainhandHitTime==actor.rw_currentTime)"
		 	 					offensiveDamageBonus="10"
		 	 					resultingHeal="floor(resultingDamage*0.5)"
		 	 					actionLogMethod="'logDrainLifeEffect'">
			 		<effect r_name="'heal'" r_template="'basicHealActor'" healAmount="resultingHeal"/>
					<event r_name="'resultingDamage'" r_template="'mainEventTemplate'" r_eventTarget="'resultingDamage'" r_targetType="'attribute'">
						<effect r_name="'capDamage'" r_template="{'mainTargetEffectTemplate','evaluationEffect'}" r_enabled="w_oldValue!=w_newValue" r_effect="resultingDamage=min(resultingDamage,target.hitPoints)"/>
					</event>
		 	 	</effect>
			</event>
		</power>
		<power r_name="'Punishment'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNamePunishment"
					 r_effectName="text.effectNamePunishment"
					 r_graphic="'Punishment.png'"
					 powerTooltip="text.powerTooltipPunishment">
			<event r_name="'damaged'" r_template="'mainEventTemplate'" r_enabled="w_learned" r_eventTarget="'hitPoints'" r_targetType="'attribute'">
				<effect r_name="'DamageReflection'" r_template="{'mainSelfEffectTemplate','multiEffect'}"
								r_enabled="exists(actor)&&exists(target)&&(target!=actor)&&actor.isActor&&!actor.isDead&&(w_oldValue>(w_newValue+2))"
								resultingDamage="round((w_oldValue-w_newValue)/4)">
					<effect r_name="'log'" r_template="'logActorDamageNoRoll'"/>
					<effect r_name="'damage'" r_template="'basicDamageActor'" damageAmount="resultingDamage"/>
				</effect>
			</event>
		</power>
		<power r_name="'HolyHandGrenade'" r_template="{'activePowerTemplate','powerAttackDamageValueInterface'}"
					 r_displayName="text.powerNameHolyHandGrenade"
					 r_graphic="'HolyHandGrenade.png'"
					 powerTooltip="text.powerTooltipHolyHandGrenade"
					 powerEffectTemplate="{'mainSelfEffectTemplate','multiEffect'}"
					 powerHitEffectTemplate="{'powerStrikeDamageEffect','powerDamageEffectInterface'}"
					 skillName="'Throw'"
					 mainSkillName="'RangedCombat'"
					 attributePowerDamage="Dexterity"
					 powerDefenseName="text.defenseSpellDefense"
					 actionLogMethod="'logStrikePowerWithDamage'"
					 basePowerHitBonus="10"
					 basePowerDamage="10+10*Holy"
					 powerRange="6"
					 powerFatigueCost="10">
			<action r_name="'use'"
							canTargetFaction="(actor.r_hostileFaction)[target.r_faction]"
							r_targetingType="'direct'"
							canTargetGround="1">
				<effect r_name="'mainEffect'">
					<effect r_name="'explosionEffect'" r_template="{'mainSquareEffectTemplate','controllerEffect'}"
									r_className="'CctlEffectLaunchAreaEffect'"
									r_area="{'circle',targetSquare.w_xCoord,targetSquare.w_yCoord,0,1}"
									r_areaTargetingType="'direct'">
						<effect r_name="'powerEffect'" r_template="'powerSpellAttackEffect'"/>
						<effect r_name="'zoneEffectGraphic'" r_template="'zoneEffectGraphicTemplate'" zoneEffectGraphic="'holyAreaEffect'"/>
					</effect>
				</effect>
			</action>
		</power>
		
<!-- -->
<!-- RANGER POWERS -->
<!-- -->
		<power r_name="'Run'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameRun"
					 r_graphic="'Run.png'"
					 powerTooltip="text.powerTooltipRun">
			<modifier r_name="'RunCharge'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.runCharge'" r_modifiedValue="1"/>
			<modifier r_name="'RunTarget'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.action.r_canTarget'" r_modifiedValue="$0||((targetSquare.r_moveMask&r_moveMask)==0)"/>
			<modifier r_name="'rw_xTarget'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.action.chargeXTarget'" r_modifiedValue="((targetSquare.r_moveMask&r_moveMask)==0)?(targetSquare.w_xCoord):$0"/>
			<modifier r_name="'rw_yTarget'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.action.chargeYTarget'" r_modifiedValue="((targetSquare.r_moveMask&r_moveMask)==0)?(targetSquare.w_yCoord):$0"/>
		</power>
		<power r_name="'Versatility'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameVersatility"
					 r_graphic="'Versatility.png'"
					 powerTooltip="text.powerTooltipVersatility">
			<modifier r_name="'WeaponMaster'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.WeaponMaster.rangedBonus'" r_modifiedValue="1"/>
			<modifier r_name="'ArmorPiercing'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.ArmorPiercing.weaponIsAffected'" r_modifiedValue="1"/>
		</power>
		<power r_name="'HerbalHealing'" r_template="'mainBuffPowerTemplate'"
					 powerEffectTemplate="{'mainTargetEffectTemplate','regenerationEffect'}"
					 r_displayName="text.powerNameHerbalHealing"
					 r_graphic="'HerbalHealing.png'"
					 powerTooltip="text.powerTooltipHerbalHealing"
					 buffExhaustionReduction="10">
			<action r_name="'use'">
				<effect r_name="'mainEffect'" r_tickDuration="100" r_tickCount="3" regenerationValue="2" maxRegenValue="maxHitPoints*0.5" r_cancelOnLeaveDungeon="0">
					<modifier r_name="'PhysicalResistance'" r_template="'mainEffectModifier'" r_modifierTarget="'target.PhysicalResistance'" r_modifiedValue="$0+packages.Ranger.classLevel"/>
				</effect>
			</action>
		</power>
		<power r_name="'FastMovement'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNameFastMovement"
					 r_graphic="'FastMovement.png'"
					 powerTooltip="text.powerTooltipFastMovement">
			<modifier r_name="'MoveSpeed'" r_template="'mainPowerModifier'" r_modifierTarget="'moveTimeCostMultiplier'" r_modifiedValue="$0*0.8"/>
		</power>
		<power r_name="'PredatorInstinct'" r_template="'mainPowerTemplate'"
					 r_displayName="text.powerNamePredatorInstinct"
					 r_graphic="'PredatorInstinct.png'"
					 powerTooltip="text.powerTooltipPredatorInstinct">
			<modifier r_name="'PredatorInstinct'" r_template="'mainPowerModifier'" r_modifierTarget="'powers.Charge.predatorInstinct'" r_modifiedValue="1"/>
		</power>
	</powers>
</data>