<data>
	<effects>
		<!-- MAIN TEMPLATE -->
		<effectTemplate r_name="'mainEffectTemplate'" r_enabled="1">
		</effectTemplate>
		
		<!-- CLASS EFFECT TEMPLATE -->
		<effectTemplate r_name="'utilityEffect'" r_template="'mainEffectTemplate'" r_type="'class'" r_className="''" r_package="'rngsdk.utility.effect'">
		</effectTemplate>
		<effectTemplate r_name="'controllerEffect'" r_template="'mainEffectTemplate'" r_type="'class'" r_className="''" r_package="'rngsdk.controller.effect'">
		</effectTemplate>
		<effectTemplate r_name="'multiEffect'" r_template="'utilityEffect'" r_className="'CutiEffectComposite'">
		</effectTemplate>
		<effectTemplate r_name="'evaluationEffect'" r_template="'utilityEffect'" r_className="'CutiEffectEvaluator'">
		</effectTemplate>
		
		<!-- TARGETED TEMPLATES -->
		<effectTemplate r_name="'mainSelfEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'self'">
		</effectTemplate>
		<effectTemplate r_name="'mainWorldEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'world'">
		</effectTemplate>
		<effectTemplate r_name="'mainTargetEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'target'">
		</effectTemplate>
		<effectTemplate r_name="'mainSquareEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'targetSquare'">
		</effectTemplate>
		<effectTemplate r_name="'mainActorEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'actor'">
		</effectTemplate>
		<effectTemplate r_name="'mainCreatorEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'creator'">
		</effectTemplate>
		<effectTemplate r_name="'mainGraphicEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'graphic'">
		</effectTemplate>
		<effectTemplate r_name="'mainSoundEffectTemplate'" r_template="'mainEffectTemplate'" r_effectTarget="'sound'">
		</effectTemplate>
		
		<!-- GENERIC TEMPLATES -->
		<effect r_name="'floatingTextTemplate'" r_template="'controllerEffect'" r_className="'CctlEffectFloatingText'" r_elevation="80" r_speed="5" r_textSize="10" r_font="r_font=globalParameters.static.fontName"/>
		
		<effectTemplate r_name="'mainDurableEffectTemplate'" r_template="{'mainEffectTemplate','controllerEffect'}"
										r_className="'CctlEffectCreateDurable'"
										endTime="rw_currentTime+r_tickDuration*(r_tickCount-rw_tickIndex-1)"
										r_tickDuration="100"
										r_tickCount="2"
										rw_tickIndex="0"
										effectTooltip="''"
										effectTags="{}"
										w_launched="0"
										cancellable="0"
										rw_charge="0"
										recastRule="'replace'"
										effectiveRecast="0"
										r_cancelOnLeaveDungeon="r_tickDuration>0"> <!-- recastRule : fail, stack, replace, resetTickIndex, addTickCount, resetDuration, resetTickIndexAndAddCharge, addTickCountAndAddCharge, resetDurationAndAddCharge -->
			<effect r_name="'startEffect'" r_template="'multiEffect'" r_enabled="rw_tickIndex==0"/>
			<effect r_name="'tickEffect'" r_template="'multiEffect'" r_enabled="1"/>
			<effect r_name="'endEffect'" r_template="'multiEffect'" r_enabled="rw_tickIndex==(r_tickCount - 1)"/>
		</effectTemplate>
		<effectTemplate r_name="'mainBuffEffectTemplate'" r_template="'mainDurableEffectTemplate'"
										textEffectTemplate="'mainTargetEffectTemplate'"
										endBuffLogMethod="'logTargetBuffEnd'"
										r_tickCount="2"
										cancellable="1">
			<effect r_name="'startEffect'">
				<effect r_name="'textEffectStart'" r_template="{textEffectTemplate,'floatingTextTemplate'}" r_enabled="target.square.w_isSeenByHeroes" r_text="'+'+r_effectName" r_color="65280"/>
				<effect r_name="'logEffectStart'" r_template="actionLogMethod"/>
			</effect>
			<effect r_name="'endEffect'">
				<effect r_name="'textEffectEnd'" r_template="{textEffectTemplate,'floatingTextTemplate'}" r_enabled="target.square.w_isSeenByHeroes" r_text="'-'+r_effectName" r_color="16711680"/>
				<effect r_name="'logEffectEnd'" r_template="endBuffLogMethod"/>
			</effect>
			<event r_name="'recastCheck'" r_template="'mainEventTemplate'" r_enabled="w_launched" r_eventTarget="'effectiveRecast'" r_targetType="'attribute'">
				<effect r_name="'logEffectEnd'" r_template="'recastBuffLogMethod'"/>
			</event>
		</effectTemplate>
		<effectTemplate r_name="'mainDebuffEffectTemplate'" r_template="'mainDurableEffectTemplate'"
										textEffectTemplate="'mainTargetEffectTemplate'"
										cancellable="0"
										logStartEffect="1"
										endDebuffLogMethod="'logDebuffEnd'"
										effectTooltip="text.effectTooltipSilence"
										tooltip="r_effectName+'\n'+effectTooltip">
			<effect r_name="'startEffect'">
				<effect r_name="'textEffectStart'" r_template="{textEffectTemplate,'floatingTextTemplate'}" r_enabled="target.square.w_isSeenByHeroes" r_text="'+'+r_effectName" r_color="16711680"/>
				<effect r_name="'logEffectStart'" r_template="actionLogMethod" r_enabled="logStartEffect"/>
			</effect>
			<effect r_name="'endEffect'">
				<effect r_name="'textEffectEnd'" r_template="{textEffectTemplate,'floatingTextTemplate'}" r_enabled="target.square.w_isSeenByHeroes" r_text="'-'+r_effectName" r_color="65280"/>
				<effect r_name="'logEffectEnd'" r_template="endDebuffLogMethod"/>
			</effect>
			<event r_name="'recastCheck'" r_template="'mainEventTemplate'" r_enabled="w_launched" r_eventTarget="'effectiveRecast'" r_targetType="'attribute'">
				<effect r_name="'noStartRelog'" r_template="{'mainTargetEffectTemplate','evaluationEffect'}" r_effect="logStartEffect=0"/>
				<effect r_name="'logEffectEnd'" r_template="'recastDebuffLogMethod'"/>
			</event>
		</effectTemplate>
		<effectTemplate r_name="'noEffectTemplate'" r_template="'mainEffectTemplate'" r_enabled="0"/>
		
		<!-- BASIC EFFECTS -->
		<effectTemplate r_name="'basicDamageTemplate'" r_template="{'mainSelfEffectTemplate','multiEffect'}" targetTemplate="''" valueOwner="" damageAmount="0">
			<effect r_name="'damage'" r_template="{targetTemplate,'evaluationEffect'}" r_effect="valueOwner.hitPoints-=damageAmount"/>
			<effect r_name="'damageText'" r_template="{targetTemplate,'floatingTextTemplate'}" r_enabled="valueOwner.square.w_isSeenByHeroes" r_text="'-'+damageAmount" r_color="16711680"/>
			<effect r_name="'damageAnimation'" r_template="{'mainSquareEffectTemplate','controllerEffect'}"
							r_enabled="exists(damageAnimation)&&(damageAnimation!='')&&valueOwner.square.w_isSeenByHeroes"
							r_className="'CctlEffectCreateGraphicObject'"
							r_simpleObject="damageAnimation"
							r_delay="0"
							r_duration="-1"
							r_xStart="valueOwner.w_xCoord"
							r_yStart="valueOwner.w_yCoord"
							r_xEnd="xStart"
							r_yEnd="yStart"
							r_scaleX="1"
							r_scaleY="1"
							r_levelIndex="valueOwner.w_levelIndex"
							r_speed="0"/>
			<effect r_name="'damageSound'" r_template="{'mainSelfEffectTemplate','controllerEffect'}" r_enabled="!valueOwner.isDead&&valueOwner.square.w_isSeenByHeroes&&exists(damageSound)&&(damageSound!='')" r_className="'CctlEffectSound'" r_soundName="damageSound" r_recastTimer="0.3" />
		</effectTemplate>
		<effectTemplate r_name="'basicFatigueDamageTemplate'" r_template="{'mainSelfEffectTemplate','multiEffect'}" targetTemplate="''" valueOwner="" damageAmount="0">
			<effect r_name="'fatigueDamage'" r_template="{targetTemplate,'evaluationEffect'}" r_effect="valueOwner.fatigue-=damageAmount"/>
			<effect r_name="'fatigueDamageText'" r_template="{targetTemplate,'floatingTextTemplate'}" r_enabled="valueOwner.square.w_isSeenByHeroes" r_text="'-'+damageAmount" r_color="16776960"/>
		</effectTemplate>
		<effectTemplate r_name="'basicHealTemplate'" r_template="{'mainSelfEffectTemplate','multiEffect'}" targetTemplate="''" valueOwner="" healAmount="0">
			<effect r_name="'heal'" r_template="{targetTemplate,'evaluationEffect'}" r_effect="valueOwner.hitPoints+=healAmount"/>
			<effect r_name="'healText'" r_template="{targetTemplate,'floatingTextTemplate'}" r_enabled="valueOwner.square.w_isSeenByHeroes" r_text="'+'+healAmount" r_color="65280"/>
		</effectTemplate>
		<effectTemplate r_name="'basicRestoreTemplate'" r_template="{'mainSelfEffectTemplate','multiEffect'}" targetTemplate="''" valueOwner="" fatigueAmount="0" exhaustionAmount="0">
			<effect r_name="'fatigue'" r_template="{targetTemplate,'evaluationEffect'}" r_effect="all({valueOwner.exhaustion+=exhaustionAmount,valueOwner.fatigue+=fatigueAmount})"/>
			<effect r_name="'fatigueText'" r_template="{targetTemplate,'floatingTextTemplate'}" r_enabled="valueOwner.square.w_isSeenByHeroes" r_text="'+'+fatigueAmount+((exhaustionAmount>0)?('/+'+exhaustionAmount):'')" r_color="16776960"/>
		</effectTemplate>
		<effect r_name="'basicDamageTarget'" r_template="'basicDamageTemplate'" targetTemplate="'mainTargetEffectTemplate'" valueOwner="target"/>
		<effect r_name="'basicFatigueDamageTarget'" r_template="'basicFatigueDamageTemplate'" targetTemplate="'mainTargetEffectTemplate'" valueOwner="target"/>
		<effect r_name="'basicHealTarget'" r_template="'basicHealTemplate'" targetTemplate="'mainTargetEffectTemplate'" valueOwner="target"/>
		<effect r_name="'basicRestoreTarget'" r_template="'basicRestoreTemplate'" targetTemplate="'mainTargetEffectTemplate'" valueOwner="target"/>
		<effect r_name="'basicDamageActor'" r_template="'basicDamageTemplate'" targetTemplate="'mainActorEffectTemplate'" valueOwner="actor"/>
		<effect r_name="'basicHealActor'" r_template="'basicHealTemplate'" targetTemplate="'mainActorEffectTemplate'" valueOwner="actor"/>
		<effect r_name="'basicRestoreActor'" r_template="'basicRestoreTemplate'" targetTemplate="'mainActorEffectTemplate'" valueOwner="actor"/>
		<effect r_name="'basicDamageSelf'" r_template="'basicDamageTemplate'" targetTemplate="'mainSelfEffectTemplate'" valueOwner="self"/>
		<effect r_name="'basicHealSelf'" r_template="'basicHealTemplate'" targetTemplate="'mainSelfEffectTemplate'" valueOwner="self"/>
		<effect r_name="'basicRestoreSelf'" r_template="'basicRestoreTemplate'" targetTemplate="'mainSelfEffectTemplate'" valueOwner="self"/>
	</effects>
</data>