<?xml version="1.0" encoding="utf-8" ?>
<!--
//////////////////////////////////////////////////////////////////////////
// Status Effects Modifiers
//////////////////////////////////////////////////////////////////////////
<!--
	vitality			// Primary
	wisdom				// Primary
	agility				// Primary
	resistance			// Primary
	dexterity			// Primary
	hp						
	mana						
	melee_power				
	critical_chance			
	counter_chance			
	magic_power				
	magic_resistance			
	armour_absorption			
	block_chance				
	dodge_chance				
	accuracy					
	sneakiness				
	sight_radius		
-->		

<effect name="unprepared" label="Unprepared" max_stacked="1" turns="permanent" sheet="status_effects" image="unprepared">
    <operation affect="melee_power" when="start" amount="0.4" op="mult" /> <!-- MELEE POWER by half while equipped -->
	<operation affect="vitality" when="start" amount="0.4" op="mult" /> <!-- VITALITY by half while equipped -->
	<operation affect="resistance" when="start" amount="0.4" op="mult" /> <!-- RESISTENCE by half while equipped -->
	<description>UNPREPARED_DESCRIPTION</description>
</effect>

<effect name="bleeding_out" label="Bleeding Out" max_stacked="1" turns="15" sheet="status_effects" image="bleeding_out" >
	<operation affect="current_hp" when="start" amount="-2" op="add" /> 
	<operation affect="hp" when="start" amount="-4" op="add" /> 
	<operation affect="vitality" when="start" amount="-2" op="add" /> 
	<operation affect="current_hp" when="turn" amount="-0.05" op="mult" />
	<description>BLEEDING_OUT_DESCRIPTION</description>
</effect>

<effect name="drunk" label="Alcohol intoxication" max_stacked="1" turns="40" sheet="status_effects" image="drunk" >
	<operation affect="resistance" when="start" amount="1" op="add" />
	<operation affect="hp" when="start" amount="0.8" op="mult" />
	<operation affect="agility" when="start" amount="0.5" op="mult" />
	<operation affect="dexterity" when="start" amount="0.5" op="mult" />
	<operation affect="accuracy" when="start" amount="0.7" op="mult" />
	<operation affect="sight_radius" when="start" amount="0.4" op="mult" />
	<description>ALCOHOL_INTOXICATION_DESCRIPTION</description>
</effect>

<effect name="berserk" label="Berserk" max_stacked="1" turns="20" sheet="status_effects" image="berserk" >
	<description>BERSERK_DESCRIPTION</description>
	<operation affect="vitality" when="start" amount="8" op="add" />
	<operation affect="resistance" when="start" amount="-2" op="add" />
</effect>


<effect name="burning" label="Combustion" max_stacked="1" turns="10" sheet="status_effects" image="burning" >
	<description>COMBUSTION_DESCRIPTION</description>
	<operation affect="current_hp" when="turn" amount="-0.06" op="mult" />
</effect>

<effect name="scared" label="Scared" max_stacked="1" turns="7" restrict_movement="1" restrict_combat="1" sheet="status_effects" image="scared" >
	<description>SCARED_DESCRIPTION</description>
</effect>

<effect name="frozen" label="Frozen" max_stacked="1" turns="4" restrict_movement="1" sheet="status_effects" image="frozen" >
	<description>FROZEN_DESCRIPTION</description>
	<operation affect="current_hp" when="turn" amount="-0.06" op="mult" />
</effect>

<effect name="regen" label="Regen" max_stacked="1" turns="25" sheet="status_effects" image="regen" >
	<description>REGEN_DESCRIPTION</description>
	<operation affect="current_hp" when="turn" amount="0.1" op="mult" />
</effect>

<effect name="sick" label="Sick" max_stacked="1" turns="40" sheet="status_effects" image="sick" >
	<description>SICK_DESCRIPTION</description>
	<operation affect="vitality" when="start" amount="0.7" op="mult" />
	<operation affect="resistance" when="start" amount="0.4" op="mult" />
	<operation affect="hp" when="start" amount="0.8" op="mult" />
	<operation affect="agility" when="start" amount="0.5" op="mult" />
	<operation affect="dexterity" when="start" amount="0.5" op="mult" />
	<operation affect="accuracy" when="start" amount="0.7" op="mult" />
    <operation affect="current_hp" when="turn" amount="-1" op="add" />
</effect>

<effect name="shrine_blessing" label="Protection enchantment" max_stacked="2" turns="100" sheet="status_effects" image="shrine_blessing" >
	<description>EXTRA_PROTECTION_DESCRIPTION</description>
	<operation affect="damage" when="taking_damage" amount="0.5" op="mult" />
</effect>

<effect name="shrine_luck" label="Luck balance" max_stacked="2" turns="100" sheet="status_effects" image="shrine_luck" >
	<description>LUCK_BALANCE_DESCRIPTION</description>
	<operation affect="extra_gold_perc" when="start" amount="15.0" op="add" />
	<operation affect="extra_rare_findings_perc" when="start" amount="15.0" op="add" />
</effect>

<effect name="shell" label="Shell" max_stacked="1" turns="30" sheet="status_effects" image="shell" >
	<description>SHELL_DESCRIPTION</description>	
	<operation affect="damage" when="taking_damage" amount="0.6" op="mult" />
</effect>

<effect name="sleeping" label="Sleep" max_stacked="1" turns="10" restrict_movement="1" sheet="status_effects" image="sleeping" >
	<description>SLEEP_DESCRIPTION</description>	
</effect>

<effect name="death" label="Death" max_stacked="1" turns="40" sheet="status_effects" image="death" >
	<description>DEATH_DESCRIPTION</description>	
	<operation affect="current_hp" when="end" amount="-1.0" op="mult" />
</effect>

<effect name="extra_accuracy" label="Extra Aim" max_stacked="1" turns="10" sheet="status_effects" image="extra_aim" >
	<description>EXTRA_AIM_DESCRIPTION</description>
	<operation affect="accuracy" amount="3" turns="10" op="add" when="start" />
</effect>

<effect name="empowerment" label="Empowerment" max_stacked="1" turns="15" sheet="status_effects" image="empowerment" >
	<description>EMPOWERMENT_DESCRIPTION</description>
	<operation affect="vitality" amount="6" turns="15" op="add" when="start" />
	<operation affect="wisdom" amount="3" turns="15" op="add" when="start" />
	<operation affect="magic_power" amount="3" turns="15" op="add" when="start" />
</effect>

<effect name="light_foot" label="Light Foot" max_stacked="1" turns="20" sheet="status_effects" image="light_foot" >
	<description>LIGHT_FOOT_DESCRIPTION</description>
	<operation affect="dodge_chance" amount="5.0" turns="20" op="mult" when="start" />
	<operation affect="critical_chance" amount="3.0" turns="20" op="mult" when="start" />
</effect>

<effect name="feather" label="Feather" max_stacked="1" turns="20" sheet="status_effects" image="feather" >
	<description>FEATHER_DESCRIPTION</description>
	<operation affect="dodge_chance" amount="4.5" turns="20" op="mult" when="start" />
</effect>




<!-- ENEMY Status Effect -->

<effect name="enemy_shell" label="Shield" max_stacked="1" turns="10" sheet="status_effects" image="shell" >
	<description></description>
	<operation affect="damage" when="taking_damage" amount="0.8" op="mult" />
</effect>






