<data>
	<powers>
<!-- -->
<!-- TEMPLATES -->
<!-- -->
		<powerTemplate	r_name="'powerMonsterTemplate'"
										powerFatigueCost="0">
		</powerTemplate>
		
		<power r_name="'FireBolt'" r_template="{'MagicMissile','powerMonsterTemplate'}"
					 r_displayName="text.powerNameFireBolt"
					 missileGraphic="'slimeballRed.png'"
					 basePowerHitBonus="0"
					 basePowerDamage="5"
					 powerRange="5"/>
		
		<power r_name="'TransfertLife'" r_template="{'activePowerTemplate'}"
					 powerEffectTemplate="{'mainSelfEffectTemplate','standardHealTemplate'}"
					 r_displayName="text.powerMonsterTransfertLife"
					 powerHealBonus="10"
					 powerRange="7"
					 powerFatigueCost="0"
					 actionLogMethod="'logTransfertLife'">
			<action r_name="'use'">
				<effect r_name="'mainEffect'"
								r_enabled="costPaid"
								healBonus="powerHealBonus"
								transfertCost="resultingHeal">
					<effect r_name="'sacrifice'" r_template="'evaluationEffect'" r_effect="actor.hitPoints-=resultingHeal"/>
				</effect>
			</action>
		</power>
		
		<power r_name="'Shaken'" r_template="{'mainMentalDebuffPowerTemplate','enchantmentSpellTemplate'}"
					 r_displayName="text.powerMonsterShaken"
					 powerHitEffectTemplate="'shakenEffect'"
					 basePowerHitBonus="0"
					 powerRange="5"
					 powerFatigueCost="0"
					 powerDuration="(5D3)*100"
					 powerRecastRule="'fail'"
					 added="1">
			<action r_name="'use'" r_targetingType="'direct'"/>
		</power>					 
					 
		<power r_name="'LeechEnergy'" r_template="{'mainPowerMentalAttackDamage','enchantmentMentalSpellTemplate'}"
					 r_displayName="text.powerNameLeechEnergy"
					 powerHitEffectTemplate="'powerFatigueDamageEffect'"
					 basePowerHitBonus="0"
					 powerRange="4"
					 powerFatigueCost="0"
					 basePowerDamage="0">
			<action r_name="'use'" r_targetingType="'direct'"/>
		</power>					 
					 
		<power r_name="'Root'" r_template="{'mainSpellDebuffPowerTemplate','conjurationSpellTemplate'}"
					 r_displayName="text.powerNameRoot"
					 powerHitEffectTemplate="'rootEffect'"
					 basePowerHitBonus="0"
					 powerRange="7"
					 powerDuration="(2D3-1)*100"
					 powerRecastRule="'fail'"
					 added="1">
			<action r_name="'use'" r_targetingType="'direct'"/>
		</power>					 
					 
		<power r_name="'Blind'" r_template="{'mainSpellDebuffPowerTemplate','enchantmentMentalSpellTemplate'}"
					 r_displayName="text.powerNameBlind"
					 powerHitEffectTemplate="'blindEffect'"
					 basePowerHitBonus="0"
					 powerRange="7"
					 powerDuration="(2D2)*100"
					 powerRecastRule="'fail'"
					 added="1">
			<action r_name="'use'" r_targetingType="'direct'"/>
		</power>					 
					 
		<power r_name="'ProtectionSphere'" r_template="{'activePowerTemplate','transmutationSpellTemplate'}"
					 powerEffectTemplate="{'mainSquareEffectTemplate','controllerEffect'}"
		 			 r_displayName="text.powerNameProtectionSphere"
					 powerRange="0">
			<action r_name="'use'">
				<effect r_name="'mainEffect'"
								r_className="'CctlEffectLaunchAreaEffect'"
								r_area="{'circle',targetSquare.w_xCoord,targetSquare.w_yCoord,0,3}"
								r_areaTargetingType="'direct'">
					<effect r_name="'protectionEffect'" r_template="{'mainTargetEffectTemplate','mainBuffEffectTemplate'}"
									r_enabled="exists(target)&&(actor.r_allyFaction)[target.r_faction]"
			 						r_effectName="text.powerNameProtectionSphere"
									r_graphic="'Sanctuary.png'"
									actionLogMethod="'logTargetBuffEffect'"
									r_tickDuration="300"
									recastRule="'fail'">
						<modifier r_name="'Protection'" r_template="'mainEffectModifier'" r_modifierTarget="'target.customDamageAbsorption'" r_modifiedValue="$0+99"/>
					</effect>
					<effect r_name="'zoneEffectGraphic'" r_template="'zoneEffectGraphicTemplate'"
									zoneEffectGraphic="'holyAreaEffect'"
									delay="2*actor.square.distanceTo(targetSquare)"/>
				</effect>
			</action>
		</power>
	</powers>
</data>