<?xml version="1.0" encoding="utf-8" ?>

<abilities>
 <!-- 
 
		WARRIOR ABILITIES 
 
 -->
   <!--passive -->
<ability type="passive" name="sword_handling" label="Sword Handling"  sheet="abilities" image="berserk" >
	<description>This allows you to wield and use swords.</description>
</ability>
<ability type="passive" name="mace_handling" label="Mace Handling"  sheet="abilities" image="berserk">
	<description>This allows you to wield and use maces.</description>
</ability>

  <!--attack -->
<ability type="spell" name="berserker" label="Berserk" sheet="abilities" image="berserk" cooldown="30" cast_self="1">	
	<description>BERSERK_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_berserk" />
	<status_effect name="berserk" prob="1.0" cast="self" />
	<operation affect="vitality" amount="4" turns="2" op="add" when="start" />
</ability>

<ability type="spell" name="warrior_shout" label="Warrior shout" sheet="abilities" image="warrior_shout" cast_ground="1" radius_x="3" radius_y="3" cooldown="130" avoid_caster="1">
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_01" fx="ability_magic_02" />
	<description>WARRIOR_SHOUT_DESCRIPTION</description>
	<status_effect name="scared" prob="0.95" cast="target" />
</ability>

<ability type="spell" name="defensive_stance" label="Defensive Stance" sheet="abilities" image="defensive_stance" cooldown="130" cast_self="1">	
	<description>DEFENSIVE_STANCE_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="shield_animation" fx="ability_shield" />
	<status_effect name="shell" prob="1.0" cast="self" />
</ability>

<ability type="attack" name="deep_cut" label="Deep Cut" sheet="abilities" image="deep_cut" cast_ground="0" radius_x="1" radius_y="1" cooldown="60" >
	<description>DEEP_CUT_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="blood_splat" fx="ability_deep_cut" />
	<damage_multiplier value="1.2" />
	<status_effect name="bleeding_out" prob="0.7" cast="target" />
</ability>

<ability type="attack" name="earth_shake" label="Earth Shake" sheet="abilities" image="earth_shake" cast_ground="1" radius_x="3" radius_y="3" cooldown="70" avoid_caster="1">
	<visual type="sprite_anim" bank="combat_effects" anim="rock_break" fx="ability_earth_shake" />
	<description>EARTH_SHAKE_DESCRIPTION</description>
	<damage_multiplier value="0.9" />
</ability>

<ability type="attack" name="powerful_hit" label="Powerful Hit" sheet="abilities" image="powerful_hit" cast_ground="0" cooldown="35">
	<description>POWERFUL_HIT_DESCRIPTION</description>
	<on_use damage_type="knockback" />
	<damage_multiplier value="1.4" />
	<visual type="sprite" bank="combat_effects" image="slash_effect_2" type_cast="throw" fx="ability_powerful_hit" />
</ability>

<ability type="spell" name="charge" label="Charge" sheet="abilities" image="charge" cast_ground="0" radius_x="1" radius_y="1" cooldown="130" cast_self="1">
	<visual type="sprite_anim" bank="combat_effects" anim="charge_02" scale="2.0" fx="ability_shield" />
	<description>CHARGE_DESCRIPTION</description>
	<operation affect="current_hp" amount="0.55" turns="1" op="mult" when="start" />
</ability>


<ability type="attack" name="rush" label="Rush" sheet="abilities" image="rush" cast_ground="0" radius_x="1" radius_y="1" cooldown="35">
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_magic_01"  />
	<description>RUSH_ATTACK_DESCRIPTION</description>
	<damage_multiplier value="1.1" />
	<operation affect="current_hp" amount="0.1" turns="1" op="mult" when="start" cast="self" />
</ability>

<!--  END WARRIOR ABILITIES  -->
 <!-- 
 
 
		WIZARD ABILITIES 
 

 -->
<ability type="passive" name="staff_handling" label="Staff Handling" sheet="abilities" image="flame" />

<ability type="spell" name="flame" label="Flame" sheet="abilities" image="flame" mana_cost="5" power="1" cast_ground="0" radius_x="1" radius_y="1" cooldown="0">
	<visual type="sprite" bank="combat_effects" image="fireball" type_cast="throw" fx="ability_fireball" />
	<description>FLAME_DESCRIPTION</description>
	<status_effect name="burning" prob="0.1" cast="target" />
</ability>

<ability type="spell" name="burn" label="Burn" sheet="abilities" image="burn" mana_cost="18" power="1.0" cast_ground="1" radius_x="3" radius_y="3" cooldown="10" avoid_caster="1">
	<visual type="sprite" bank="combat_effects" image="big_fireball" type_cast="throw" fx="ability_fireball" />
	<description>BURN_DESCRIPTION</description>
	<status_effect name="burning" prob="0.6" cast="target" />
</ability>

<ability type="spell" name="ice" label="Ice" sheet="abilities" image="ice" mana_cost="9" power="1.2" cast_ground="0" radius_x="1" radius_y="1" cooldown="0">
	<visual type="sprite" bank="combat_effects" image="iceball" type_cast="throw" fx="ability_fireball" />
	<description>ICE_DESCRIPTION</description>
	<status_effect name="frozen" prob="0.1" cast="target" />
</ability>

<ability type="spell" name="blizzard" label="Blizzard" sheet="abilities" image="blizzard" mana_cost="18" power="0.8" cast_ground="1" radius_x="2" radius_y="2" cooldown="10" avoid_caster="1">
	<visual type="sprite" bank="combat_effects" image="big_iceball" type_cast="throw" fx="ability_fireball" />
	<description>BLIZZARD_DESCRIPTION</description>
	<status_effect name="frozen" prob="0.6" cast="target" />
</ability>

<ability type="spell" name="thunder" label="Thunder" sheet="abilities" image="thunder" mana_cost="17" power="1.3" cast_ground="0" radius_x="1" radius_y="1" cooldown="10">
	<visual type="sprite_anim" bank="combat_effects" anim="charge_01" type_cast="target" scale="3.0" fx="ability_thunder" />
	<description>THUNDER_DESCRIPTION</description>
	<damage_multiplier value="1.2" />
</ability>

<ability type="spell" name="electric_storm" label="Electric Storm" sheet="abilities" image="thunder" mana_cost="30" power="1.0" cast_ground="1" radius_x="2" radius_y="2" cooldown="0">
	<visual type="sprite_anim" bank="combat_effects" anim="charge_01" type_cast="target" scale="3.0" fx="ability_thunder" />
	<description>ELECTRIC_STORM_DESCRIPTION</description>
	<damage_multiplier value="1.7" />
</ability>

<ability type="spell" name="heal" label="Heal" sheet="abilities" image="heal" mana_cost="30" cast_ground="0" cast_self="1" radius_x="1" radius_y="1" cooldown="0">
	<visual type="ps" anim="heal" type_cast="target" fx="ability_heal" />
	<description>HEAL_DESCRIPTION</description>
	<operation affect="current_hp" amount="0.55" turns="1" op="mult" when="start" />
</ability>

<ability type="spell" name="shield" label="Shield" sheet="abilities" image="defensive_stance" mana_cost="30" cooldown="70" cast_self="1">
	<description>SHIELD_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="shield_animation" fx="ability_shield" />
	<status_effect name="shell" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="regen" label="Regen" sheet="abilities" image="regen" mana_cost="40" cooldown="70" cast_self="1">
	<description>REGEN_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_magic_02"  />
	<status_effect name="regen" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="teleport" label="Teleport" sheet="abilities" image="teleport" mana_cost="30" cooldown="50" cast_ground="1">
	<description>TELEPORT_DESCRIPTION</description>
	<on_use damage_type="teleport" />
</ability>

<ability type="spell" name="astral_presence" label="Astral Presence" sheet="abilities" image="astral_presence" mana_cost="10" cooldown="50" cast_self="1">
	<description>ASTRAL_PRESENCE_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_02" fx="ability_magic_01"  />
	<operation affect="current_mana" amount="0.5" turns="1" op="mult" when="start" />
	<operation affect="current_hp" amount="-0.3" turns="1" op="mult" when="start" />
</ability>

	
<!--  END WIZARD ABILITIES  -->

 <!-- 
 
 
		ASSASSIN ABILITIES 
 

 -->
 
 <ability type="passive" name="bow_handling" label="Archery Handling" />
 
<ability type="spell" name="extra_aim" label="Extra Aim" sheet="abilities" image="extra_aim" cooldown="70" cast_self="1">	
	<description>EXTRA_AIM_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_magic_01" />
	<status_effect name="extra_accuracy" prob="1.0" cast="self" />
</ability>

<ability type="attack" name="pierce_skin" label="Pierce Skin" sheet="abilities" image="pierce_skin" cast_ground="0" radius_x="1" radius_y="1" cooldown="60" >
	<description>PIERCE_SKIN_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="blood_splat" fx="ability_deep_cut" />
	<damage_multiplier value="1.3" />
	<status_effect name="bleeding_out" prob="0.8" cast="target" />
</ability>

<ability type="attack" name="rain_of_knives" label="Rain of Knives" sheet="abilities" image="rain_of_knives" cast_ground="1" radius_x="2" radius_y="2" cooldown="60" >
	<description>RAIN_KNIVES_DESCRIPTION</description>
	<visual type="sprite" bank="equipment" image="knive_throw" type_cast="throw" fx="ability_rain_of_knives" />
	<damage_multiplier value="1.5" />
	<status_effect name="bleeding_out" prob="0.15" cast="target" />
</ability>

<ability type="spell" name="illusions" label="Illusions" sheet="abilities" image="illusions" cast_ground="1" radius_x="3" radius_y="3" cooldown="100" avoid_caster="1">
	<description>ILLUSIONS_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="eyes" type_cast="target" fx="ability_magic_02" />
	<operation affect="sight_radius" amount="0.0" turns="6" op="mult" when="start" />
</ability>

<ability type="spell" name="light_as_feather" label="Feather" sheet="abilities" image="light_as_feather" cast_ground="0" cast_self="1" radius_x="1" radius_y="1" cooldown="110" >
	<description>FEATHER_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_01" fx="ability_magic_01" />
	<status_effect name="feather" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="good_night" label="Good Night" sheet="abilities" image="good_night" cast_ground="0" radius_x="1" radius_y="1" cooldown="60">
	<description>GOOD_NIGHT_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_magic_02"  />
	<status_effect name="sleeping" prob="1.0" cast="target" />
</ability>

<ability type="attack" name="bullseye" label="Bullseye" sheet="abilities" image="bullseye" cast_distant="1" cast_ground="0" radius_x="1" radius_y="1" cooldown="100" >
	<description>BULLSEYE_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="blood_splat" />
	<damage_multiplier value="2.0" />
</ability>

<ability type="spell" name="steal" label="Steal" sheet="abilities" image="steal" cast_ground="0" cast_distant="0" cooldown="15">	
	<description>STEAL_DESCRIPTION</description>
	<on_use damage_type="steal" />
</ability>

<ability type="spell" name="explosive_surprise" label="Explosive surprise" sheet="abilities" image="explosive_surprise" cast_ground="1" power="1.2" radius_x="3" radius_y="3" cooldown="130" >
	<description>EXPLOSIVE_SURPRISE_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="explosion_01" type_cast="target" fx="ability_explosive_surprise" />
	<status_effect name="burning" prob="0.3" cast="target" />
	<damage_multiplier value="1.5" />
</ability>

<ability type="spell" name="trap" label="Trap" sheet="abilities" image="trap" cooldown="20" cast_ground="1" radius_x="1" radius_y="1">	
	<description>TRAP_DESCRIPTION</description>
	<on_use damage_type="trap" />
</ability>

<!--  END ASSASSIN ABILITIES  -->

 <!-- 
 
 
		SHAMAN ABILITIES 
 

 -->
 
<ability type="spell" name="terror" label="Terror" sheet="abilities" image="terror" cast_ground="0" radius_x="1" mana_cost="10" radius_y="1" cooldown="10">
	<description>TERROR_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_03" fx="ability_magic_01" />
	<status_effect name="scared" prob="0.8" cast="target" />
</ability>

<ability type="spell" name="sickness" label="Sickness" sheet="abilities" image="sickness" cast_ground="0" radius_x="1" mana_cost="25" radius_y="1" cooldown="15">
	<description>SICKNESS_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_05" fx="ability_magic_02" />
	<status_effect name="sick" prob="0.9" cast="target" />
</ability>

<ability type="spell" name="drowsiness" label="Drowsiness" sheet="abilities" image="good_night" cast_ground="0" radius_x="1" mana_cost="20" radius_y="1" cooldown="7">
	<description>DROWSINESS_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_05" fx="ability_magic_02" />
	<status_effect name="sleeping" prob="0.9" cast="target" />
</ability>

<ability type="spell" name="wound_patch" label="Wound Patch" sheet="abilities" image="wound_patch" cast_ground="0" mana_cost="40" cast_self="1" radius_x="1" radius_y="1" cooldown="50">
	<visual type="ps" anim="heal" type_cast="target" fx="ability_heal" />
	<description>PATCH_WOUNDS_DESCRIPTION</description>
	<operation affect="current_hp" amount="0.45" turns="1" op="mult" when="start" />
</ability>

<ability type="spell" name="meteor" label="Meteor" sheet="abilities" image="burn" mana_cost="40" power="1.3" cast_ground="1" radius_x="3" radius_y="3" cooldown="5">
	<visual type="sprite" bank="combat_effects" image="meteor" type_cast="throw" fx="ability_fireball" />
	<description>METEOR_DESCRIPTION</description>
	<status_effect name="burning" prob="0.6" cast="target" />
</ability>

<ability type="spell" name="hardened_skin" label="Hardened Skin" sheet="abilities" image="hardened_skin" cooldown="90" mana_cost="25" cast_self="1">
	<description>HARDENED_SKIN_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="shield_animation" fx="ability_shield" />
	<status_effect name="shell" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="empowerment" label="Empowerment" sheet="abilities" image="empowerment" mana_cost="25" cooldown="60" cast_self="1">
	<description>EMPOWERMENT_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_02" fx="ability_empowerment" />
	<status_effect name="empowerment" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="summon" label="Summon" sheet="abilities" image="summon" cooldown="300" mana_cost="45" cast_ground="1" radius_x="1" radius_y="1">
	<description>SUMMON_DESCRIPTION</description>
	<on_use damage_type="summon" />
	<visual type="sprite_anim" bank="combat_effects" anim="magic_circle" type_cast="target" fx="ability_summon" />
</ability>

<ability type="attack" name="essence_absorber" label="Essence Absorber" sheet="abilities" image="essence_absorber" cooldown="120" radius_x="1" radius_y="1">
	<description>ESSENCE_ABSORBER_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="flash" type_cast="target" fx="ability_essence_absorber" />
	<on_use damage_type="steal_life" />
</ability>

 <!--  END SHAMAN ABILITIES  -->
 
 <!-- BEGIN NECRODANCER ABILITIES -->
 
 <ability type="spell" name="bomb" label="Bomb" sheet="abilities" image="bomb" cast_ground="1" power="1.1" radius_x="3" radius_y="3" cooldown="45" >
	<description>BOMB_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="explosion_02" type_cast="target" fx="ability_explosive_surprise" />
	<status_effect name="burning" prob="0.25" cast="target" />
	<damage_multiplier value="1.6" />
</ability>

<ability type="attack" name="spikes_from_hell" label="Spikes from Hell" sheet="abilities" image="spikes" cast_ground="1" radius_x="3" radius_y="3" cooldown="80" >
	<description>SPIKES_HELL_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="spikes" type_cast="target" fx="ability_spikes" />
	<damage_multiplier value="1.5" />
	<status_effect name="bleeding_out" prob="0.2" cast="target" />
</ability>

<ability type="spell" name="fireball" label="Fireball" sheet="abilities" image="fireball" mana_cost="5" power="1" cast_ground="0" radius_x="1" radius_y="1" cooldown="0">
	<visual type="sprite" bank="combat_effects" image="fireball" type_cast="throw" fx="ability_fireball" />
	<description>FIREBALL_DESCRIPTION</description>
	<status_effect name="burning" prob="0.15" cast="target" />
</ability>

<ability type="spell" name="freeze" label="Freeze" sheet="abilities" image="freeze" mana_cost="9" power="1.2" cast_ground="0" radius_x="1" radius_y="1" cooldown="0">
	<visual type="sprite" bank="combat_effects" image="small_iceball" type_cast="throw" fx="ability_fireball" />
	<description>FREEZE_DESCRIPTION</description>
	<status_effect name="frozen" prob="0.1" cast="target" />
</ability>

<ability type="spell" name="light_foot" label="Light Foot" sheet="abilities" image="light_foot" cast_ground="0" cast_self="1" radius_x="1" radius_y="1" cooldown="100" >
	<description>LIGHT_FOOT_DESCRIPTION</description>
	<visual type="sprite_anim" bank="combat_effects" anim="magic_hit_02" fx="ability_magic_02" />
	<status_effect name="light_foot" prob="1.0" cast="self" />
</ability>

<ability type="spell" name="enchanted_knife" label="Enchanted Knife" sheet="abilities" image="enchanted_knife" cast_ground="1" radius_x="1" radius_y="1" mana_cost="15" >
	<description>ENCHANTED_KNIFE_DESCRIPTION</description>
	<visual type="sprite" bank="equipment" image="knive_throw" type_cast="throw" fx="ability_rain_of_knives" />
	<damage_multiplier value="1.5" />
	<status_effect name="bleeding_out" prob="0.15" cast="target" />
	<status_effect name="sick" prob="0.1" cast="target" />	
</ability>
 
 <!-- END NECRODANCER -->

 <!-- 
 
 
		ENEMIES ABILITIES 
 

 -->

<ability type="spell" name="enemy_flame" label="Flame" sheet="abilities" image="flame" mana_cost="5" power="1" cast_ground="0" radius_x="1" radius_y="1" cooldown="2">
	<visual type="sprite" bank="combat_effects" image="fireball" type_cast="throw" fx="ability_fireball" />
	<status_effect name="burning" prob="0.1" cast="target" />
</ability>

<ability type="attack" name="enemy_life_suck" label="Life Suck" sheet="abilities" image="essence_absorber" cooldown="20" radius_x="1" radius_y="1">
	<visual type="sprite_anim" bank="combat_effects" anim="flash" type_cast="target" fx="ability_essence_absorber" />
	<on_use damage_type="steal_life" />
</ability>

<ability type="spell" name="enemy_thief" label="Steal" sheet="abilities" image="steal" cast_ground="0" cooldown="7" cast_distant="0">	
	<on_use damage_type="steal" />
</ability>

<ability type="spell" name="enemy_ice" label="Ice" sheet="abilities" image="ice" mana_cost="7" power="1.1" cast_ground="0" radius_x="1" radius_y="1" cooldown="2">
	<visual type="sprite" bank="combat_effects" image="small_iceball" type_cast="throw" fx="ability_fireball" />
	<status_effect name="frozen" prob="0.1" cast="target" />
</ability>


<ability type="spell" name="enemy_thunder" label="Thunder" sheet="abilities" image="thunder" mana_cost="15" power="1.3" cast_ground="0" radius_x="1" radius_y="1" cooldown="10">
	<visual type="sprite_anim" bank="combat_effects" anim="charge_01" type_cast="target" scale="3.0" fx="ability_thunder" />
	<damage_multiplier value="0.9" />
</ability>

<ability type="spell" name="enemy_shield" label="Shield" sheet="abilities" image="hardened_skin" cooldown="90" cast_self="1">
	<visual type="sprite_anim" bank="combat_effects" anim="shield_animation" fx="ability_shield" />
	<status_effect name="enemy_shell" prob="1.0" cast="self" />
</ability>

<ability type="attack" name="enemy_deep_cut" label="Deep Cut" sheet="abilities" image="deep_cut" cast_ground="0" radius_x="1" radius_y="1" cooldown="60" >
	<visual type="sprite_anim" bank="combat_effects" anim="blood_splat" fx="ability_deep_cut" />
	<damage_multiplier value="0.8" />
	<status_effect name="bleeding_out" prob="0.5" cast="target" />
</ability>

<ability type="spell" name="enemy_negate" label="Negate" sheet="abilities" image="flame" mana_cost="5" power="1.1" cast_ground="0" radius_x="1" radius_y="1" cooldown="5">
	<visual type="sprite" bank="combat_effects" image="negate_effect" type_cast="throw" fx="ability_magic_02" />
</ability>

<ability type="spell" name="enemy_meteor" label="Meteor" sheet="abilities" image="burn" mana_cost="15" power="1.3" cast_ground="1" radius_x="3" radius_y="3" cooldown="5">
	<visual type="sprite" bank="combat_effects" image="meteor" type_cast="throw" fx="ability_fireball" />
	<status_effect name="burning" prob="0.3" cast="target" />
</ability>

<ability type="spell" name="enemy_death" label="Death" sheet="abilities" image="steal" cast_ground="0" cooldown="10" cast_distant="1">
	<status_effect name="death" prob="0.2" cast="target" />
</ability>

<ability type="spell" name="enemy_bio" label="Bio" sheet="abilities" image="steal" cast_ground="0" cooldown="25" mana_cost="15" cast_distant="1">
    <visual type="sprite" bank="combat_effects" image="negate_effect" type_cast="throw" fx="ability_magic_02" />
    <operation affect="current_hp" amount="-0.35" turns="1" op="mult" when="start" />
</ability>

<ability type="spell" name="enemy_dark_fireball" label="Darkness" sheet="abilities" image="ice" mana_cost="7" power="0.3" cast_ground="0" radius_x="1" radius_y="1" cooldown="2">
	<visual type="sprite" bank="combat_effects" image="dark_fireball" type_cast="throw" fx="ability_fireball" />
</ability>

<ability type="spell" name="enemy_fire" label="Fire" sheet="abilities" image="flame" mana_cost="5" power="0.3" cast_ground="0" radius_x="1" radius_y="1" cooldown="4">
	<visual type="sprite" bank="combat_effects" image="fireball" type_cast="throw" fx="ability_fireball" />
	<status_effect name="burning" prob="0.2" cast="target" />
</ability>

</abilities>

