#textdomain wesnoth-Genesis
[unit_type]
    id=Manifestation2
    name= _ "Manifestation"
    race=demon
    gender=female
    image="units/demons/blue/manifestation.png"
    hitpoints=26
    movement_type=demonfly
    movement=6
    experience=50
    level=1
    alignment=chaotic
    advances_to=null
    num_traits=1
    {AMLA_DEFAULT}
    {TRAIT_SPIRIT}
    cost=19
    usage=scout
    hide_help=true
    description= _ "The dream world is a strange one, in which imagination may become reality and the arcane plane may become one with the physical. Even the most inexperienced at manipulating this reality often find that they may manifest their thoughts into a semi-sentient being, one that may or may not be easily controlled, depending on the creator's willpower and affinity for arcane energies."
    die_sound=wail-long.wav
    [resistance]
        blade=50
        impact=50
        pierce=50
        cold=110
        fire=120
        arcane=130
    [/resistance]
    [movement_costs]
        deep_water=2
        shallow_water=2
    [/movement_costs]
    [event]
        name=unit placed
        first_time_only=no
        [filter]
            type=Manifestation2
        [/filter]
        [modify_unit]
            [filter]
                x,y=$x1,$y1
            [/filter]
            name=
        [/modify_unit]
    [/event]
    [attack]
        name=manifest
        description= _ "manifest"
        icon="attacks/wail.png"
        type=arcane
        range=melee
        [specials]
            {WEAPON_SPECIAL_DRAIN}
        [/specials]
        damage=6
        number=3
    [/attack]
    [attack]
        name=dissemble
        description= _ "dissemble"
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_DRAIN}
        [/specials]
        damage=6
        number=3
        icon=attacks/iceball.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=manifest
        [/filter_attack]
        start_time=-300
        offset=0.0~1.2:300,1.5~0.0:450
        [frame]
            image="units/demons/blue/manifestation.png:100"
            alpha=1~0:100
        [/frame]
        [frame]
            image="units/demons/blue/manifestation.png:200"
            alpha=0:200
        [/frame]
        {SOUND:HIT_AND_MISS "magic-dark-big.ogg" "magic-dark-big-miss.ogg" -75}
        [frame]
            image="units/demons/blue/manifestation.png:50"
            alpha=0:50
        [/frame]
        [frame]
            image="units/demons/blue/manifestation.png:400"
            alpha=0~1:400
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dissemble
        [/filter_attack]
        {MISSILE_FRAME_ICE}
        start_time=-350
        [frame]
            image="units/demons/blue/manifestation.png:150"
        [/frame]
        [frame]
            image="units/demons/blue/manifestation.png:100"
        [/frame]
    [/attack_anim]
    [defend]
        start_time=-126
        [if]
            hits=hit
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126

            hit_sound_start_time=-25
            [hit_sound_frame]
                sound=wail-sml.wav
            [/hit_sound_frame]
        [/if]
        [else]
            hits=kill
            offset=0.0~-0.05:126,-0.05~0.0:126
            alpha=0.8~0.5:126,0.5~0.8:126
        [/else]
        [else]
            hits=miss
            offset=0.0~-0.1:126,-0.1~0.0:126
            alpha=0.8~0.25:126,0.25~0.8:126
        [/else]
        [frame]
            image=units/demons/blue/manifestation.png:1,units/demons/blue/manifestation.png:250,units/demons/blue/manifestation.png:1
        [/frame]
    [/defend]
[/unit_type]


#textdomain wesnoth-Genesis

#define AMLA_BLOODFAE
   {AMLA_OPTION_BOIL_RANGE}
   {AMLA_OPTION_HEAL_RANGE}
   {AMLA_DEFAULT}
#enddef
#define AMLA_OPTION_BOIL_RANGE
    [advancement]
        max_times=-1
        description=_"stronger bloodboil magic"
        image=units/fae/aryel.png
        id=amla_boil_bloodfae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=25%
        [/effect]
    [/advancement]
#enddef
#define AMLA_OPTION_HEAL_RANGE
    [advancement]
        max_times=-1
        description=_"stronger eviscerate"
        image=units/fae/aryel.png
        id=amla_eviscerate_bloodfae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=35%
        [/effect]
    [/advancement]
#enddef

#define ARYEL_ADVANCEMENT HP_INCREMENT XP_INCREMENT EFFECT_WML VARIATION_NAME
    [advancement]
        max_times=-1
        always_display=yes
        [effect]
            apply_to=hitpoints
            increase_total={HP_INCREMENT}
            increase={HP_INCREMENT}
        [/effect]
        [effect]
            apply_to=max_experience
            increase={XP_INCREMENT}
        [/effect]
        [effect]
            apply_to=variation
            name={VARIATION_NAME}
        [/effect]
        {EFFECT_WML}
    [/advancement]
#enddef

#define IRON_WARDEN_ABILITY VARIANT_NAME
    {ARYEL_ADVANCEMENT 5 0 (
        id=iron_warden_ability
        description= _ "protects nearby units on defense"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_IRON_WARDEN}
            [/abilities]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=70
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define TRANSFUSION_ABILITY VARIANT_NAME
    {ARYEL_ADVANCEMENT 3 0 (
        id=transfusion_ability
        description= _ "damages nearby enemy units and heals based on damage dealt"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_TRANSFUSION}
            [/abilities]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=70
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_STAT_BOOST VARIANT_NAME
    {ARYEL_ADVANCEMENT 6 150 (
        id=aryel_stat
        description= _ "gains health, movement, and fire resistance"
        image=units/fae/aryel.png
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                fire=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_IRON_BLOOD VARIANT_NAME
    {ARYEL_ADVANCEMENT 3 170 (
        id=aryel_iron_blood
        description= _ "gains physical resistance on defense"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_IRON_BLOOD}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_IRON_BLOOD_STAT VARIANT_NAME
    {ARYEL_ADVANCEMENT 6 190 (
        id=aryel_iron_blood_stat
        description= _ "gains physical resistance on defense and bonus health"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_IRON_BLOOD}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_IRON_BLOOD_DAMAGE VARIANT_NAME
    {ARYEL_ADVANCEMENT 1 230 (
        id=aryel_iron_blood_dmg
        description= _ "gains physical resistance on defense and bonus damage"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_IRON_BLOOD}
            [/abilities]
        [/effect]
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=4
        [/effect]
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_MALEFICE_SPECIAL VARIANT_NAME
    {ARYEL_ADVANCEMENT 0 125 (
        id=aryel_malefice
        description= _ "gains melee damage upon killing enemies"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=malefic whisper
            [set_specials]
                {WEAPON_SPECIAL_DRAIN100}
                {WEAPON_SPECIAL_MALEFICE}
                mode=replace
            [/set_specials]
            increase_attacks=1
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ARYEL_BLOOD_BONUS VARIANT_NAME
    {ARYEL_ADVANCEMENT 4 40 (
        id=aryel_blood
        description= _ "stronger blood boil attack"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_BONUS VARIANT_NAME
    {ARYEL_ADVANCEMENT 2 40 (
        id=aryel_heal
        description= _ "stronger eviscerate attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_BLOOD_BONUS2 VARIANT_NAME
    {ARYEL_ADVANCEMENT 5 100 (
        id=aryel_blood2
        description= _ "stronger blood boil attack"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_BONUS2 VARIANT_NAME
    {ARYEL_ADVANCEMENT 2 100 (
        id=aryel_heal2
        description= _ "stronger eviscerate attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=2
            increase_attacks=1
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_BALANCED_BONUS VARIANT_NAME
    {ARYEL_ADVANCEMENT 2 170 (
        id=aryel_balanced
        description= _ "stronger ranged attacks"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=4
        [/effect]
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=1
            increase_attacks=1
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ARYEL_BALANCED_BONUS2 VARIANT_NAME
    {ARYEL_ADVANCEMENT 4 200 (
        id=aryel_balanced2
        description= _ "stronger ranged attacks"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=6
        [/effect]
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=3
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ARYEL_BALANCED_BONUS_MELEE VARIANT_NAME
    {ARYEL_ADVANCEMENT 0 230 (
        id=aryel_balanced_melee
        description= _ "increased damage on all attacks"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=blood boil
            increase_damage=4
        [/effect]
        [effect]
            apply_to=attack
            name=eviscerate
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=malefic whisper
            increase_attacks=1
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_ABILITY VARIANT_NAME
    {ARYEL_ADVANCEMENT 4 30 (
        id=aryel_heal_ability
        description= _ "gains the ability to heal allied units"
        image=units/fae/aryel.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_INFUSE3}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_ABILITY2 VARIANT_NAME
    {ARYEL_ADVANCEMENT 4 90 (
        id=aryel_heal_ability2
        description= _ "better healing"
        require_amla=aryel_heal_ability
        image=units/fae/aryel.png
        [effect]
            apply_to=remove_ability
            [abilities]
                {ABILITY_INFUSE3}
            [/abilities]
        [/effect]
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_INFUSE6}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_ABILITY2_HEALTH VARIANT_NAME
    {ARYEL_ADVANCEMENT 6 110 (
        id=aryel_heal_ability2_health
        description= _ "better healing and increased health"
        require_amla=aryel_heal_ability
        image=units/fae/aryel.png
        [effect]
            apply_to=remove_ability
            [abilities]
                {ABILITY_INFUSE3}
            [/abilities]
        [/effect]
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_INFUSE6}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_ABILITY2_RESIST VARIANT_NAME
    {ARYEL_ADVANCEMENT 0 130 (
        id=aryel_heal_ability2_resist
        description= _ "better healing and gains resistances"
        require_amla=aryel_heal_ability
        image=units/fae/aryel.png
        [effect]
            apply_to=remove_ability
            [abilities]
                {ABILITY_INFUSE3}
            [/abilities]
        [/effect]
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_INFUSE6}
            [/abilities]
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                impact=-10
                pierce=-10
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_HEAL_ABILITY3 VARIANT_NAME
    {ARYEL_ADVANCEMENT 5 150 (
        id=aryel_heal_ability3
        description= _ "better healing"
        image=units/fae/aryel.png
        [effect]
            apply_to=remove_ability
            [abilities]
                {ABILITY_INFUSE6}
            [/abilities]
        [/effect]
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_INFUSE9}
            [/abilities]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARYEL_BASE
    id=Blood Fae
    race=fae
    gender=female
    name= _ "Blood Fae"
    image="units/fae/aryel.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    movement_type=bloodfae
    movement=6
    alignment=chaotic
    advances_to=null
    cost=60
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [abilities]
        {ABILITY_STRUT}
    [/abilities]
    [attack]
        name=malefic whisper
        description=_"malefic whisper"
        icon=attacks/wail.png
        type=arcane
        [specials]
            {WEAPON_SPECIAL_DRAIN100}
        [/specials]
        range=melee
        damage=7
        number=2
        range=melee
    [/attack]
    [attack]
        name=blood boil
        description=_"blood boil"
        type=fire
        [specials]
            {WEAPON_SPECIAL_AGONY}
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=8
        number=3
        range=ranged
        icon=attacks/dark-missile.png
    [/attack]
    [attack]
        name=eviscerate
        description=_"eviscerate"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_SOUL_SIPHON}
        [/specials]
        damage=6
        number=4
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {STRUT}
    {MALEFICE}
    {SOUL_SIPHON "eviscerate" 1}
    {TRANSFUSION}
    {IRON_WARDEN 3}
    {DEFENSE_ANIM "units/fae/aryel.png" "units/fae/aryel.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=blood boil
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}

        start_time=-470
        {SOUND:HIT_AND_MISS fire.wav fire.wav -470}
        [frame]
            image="units/fae/aryel.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=malefic whisper
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/aryel.png:520"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=eviscerate
        [/filter_attack]
        {MISSILE_FRAME_FAERIE_FIRE}

        start_time=-470
        {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -470}
        [frame]
            image="units/fae/aryel.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
        [/frame]
    [/attack_anim]
#enddef
[unit_type]
    {ARYEL_BASE}
    hitpoints=41
    experience=30
    level=2
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF1
        inherit=no
        level=2
        hitpoints=41
        experience=50
        name= _ "Blood Fae"
        {ARYEL_BLOOD_BONUS BF2BLOOD}
        {ARYEL_HEAL_BONUS BF2HEAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF2BLOOD
        inherit=no
        level=2
        hitpoints=41
        experience=70
        name= _ "Blood Fae"
        {ARYEL_HEAL_ABILITY BF3HEAL}
        {ARYEL_HEAL_BONUS BF3}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF2HEAL
        inherit=no
        level=2
        hitpoints=41
        experience=70
        name= _ "Blood Fae"
        {ARYEL_HEAL_ABILITY BF3HEAL}
        {ARYEL_BLOOD_BONUS BF3}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3HEAL
        inherit=no
        level=3
        hitpoints=41
        experience=110
        name= _ "Blood Fae"
        {ARYEL_MALEFICE_SPECIAL BF3MALHEAL}
        {ARYEL_BLOOD_BONUS2 BF3BLOOD}
        {ARYEL_HEAL_BONUS2 BF3ARCANE}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3
        inherit=no
        level=3
        hitpoints=41
        experience=110
        name= _ "Blood Fae"
        {ARYEL_MALEFICE_SPECIAL BF3MAL}
        {ARYEL_HEAL_ABILITY BF3DELAYEDHEAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3MAL
        inherit=no
        level=3
        hitpoints=41
        experience=150
        name= _ "Blood Fae"
        {ARYEL_BLOOD_BONUS2 BF4NOHEAL}
        {ARYEL_HEAL_BONUS2 BF4NOHEAL}
        {ARYEL_BALANCED_BONUS BF4NOHEAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3MALHEAL
        inherit=no
        level=3
        hitpoints=41
        experience=150
        name= _ "Blood Fae"
        {ARYEL_BLOOD_BONUS2 BF4BOTHSPECIALS}
        {ARYEL_HEAL_BONUS2 BF4BOTHSPECIALS}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3DELAYEDHEAL
        inherit=no
        level=3
        hitpoints=41
        experience=150
        name= _ "Blood Fae"
        {ARYEL_MALEFICE_SPECIAL BF4BOTHSPECIALS}
        {ARYEL_BALANCED_BONUS BF4NOMALHEAL}
        {ARYEL_HEAL_ABILITY2 BF4NOMAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3BLOOD
        inherit=no
        level=3
        hitpoints=41
        experience=150
        name= _ "Blood Fae"
        {ARYEL_HEAL_BONUS2 BF4NOMALHEAL}
        {ARYEL_HEAL_ABILITY2 BF4NOMAL}
        {ARYEL_MALEFICE_SPECIAL BF4BOTHSPECIALS}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF3ARCANE
        inherit=no
        level=3
        hitpoints=41
        experience=150
        name= _ "Blood Fae"
        {ARYEL_BLOOD_BONUS2 BF4NOMALHEAL}
        {ARYEL_HEAL_ABILITY2 BF4NOMAL}
        {ARYEL_MALEFICE_SPECIAL BF4BOTHSPECIALS}
    [/variation]

    #level 4-1
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4NOHEAL
        inherit=no
        level=4
        hitpoints=41
        experience=210
        name= _ "Blood Sylph"
        {ARYEL_IRON_BLOOD_STAT BF4IRON}
        {ARYEL_IRON_BLOOD_DAMAGE BF4IRON}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4NOMALHEAL
        inherit=no
        level=4
        hitpoints=41
        experience=210
        name= _ "Blood Sylph"
        {ARYEL_MALEFICE_SPECIAL BF4NOEXTRAHEAL}
        {ARYEL_HEAL_ABILITY2 BF4DISABLEMAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4NOMAL
        inherit=no
        level=4
        hitpoints=41
        experience=210
        name= _ "Blood Sylph"
        {ARYEL_MALEFICE_SPECIAL BF4ALLABILITIES}
        {ARYEL_BALANCED_BONUS BF4DISABLEMAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4BOTHSPECIALS
        inherit=no
        level=4
        hitpoints=41
        experience=210
        name= _ "Blood Sylph"
        {ARYEL_HEAL_ABILITY2 BF4ALLABILITIES}
        {ARYEL_BALANCED_BONUS BF4NOEXTRAHEAL}
    [/variation]

    #level4-2
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4ALLABILITIES
        inherit=no
        level=4
        hitpoints=41
        experience=250
        name= _ "Blood Sylph"
        {ARYEL_BALANCED_BONUS BF4FINAL}
        {ARYEL_STAT_BOOST BF4FINAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4NOEXTRAHEAL
        inherit=no
        level=4
        hitpoints=41
        experience=250
        name= _ "Blood Sylph"
        {ARYEL_HEAL_ABILITY2_HEALTH BF4FINAL}
        {ARYEL_HEAL_ABILITY2_RESIST BF4FINAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4DISABLEMAL
        inherit=no
        level=4
        hitpoints=41
        experience=250
        name= _ "Blood Sylph"
        {ARYEL_HEAL_ABILITY3 BF4FINALHEAL}
        {ARYEL_IRON_BLOOD_STAT BF4FINALIRON}
        {ARYEL_IRON_BLOOD_DAMAGE BF4FINALIRON}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4IRON
        inherit=no
        level=4
        hitpoints=41
        experience=250
        name= _ "Blood Sylph"
        {ARYEL_BALANCED_BONUS BF4FINALNOHEAL}
        {ARYEL_STAT_BOOST BF4FINALNOHEAL}
    [/variation]

    #level 4-3

    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4FINAL
        inherit=no
        level=4
        hitpoints=41
        experience=300
        name= _ "Blood Sylph"
        {ARYEL_HEAL_ABILITY3 BF5}
        {ARYEL_IRON_BLOOD BF5}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4FINALHEAL
        inherit=no
        level=4
        hitpoints=41
        experience=300
        name= _ "Blood Sylph"
        {ARYEL_IRON_BLOOD_STAT BF5}
        {ARYEL_IRON_BLOOD_DAMAGE BF5}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4FINALIRON
        inherit=no
        level=4
        hitpoints=41
        experience=300
        name= _ "Blood Sylph"
        {ARYEL_HEAL_ABILITY3 BF5}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF4FINALNOHEAL
        inherit=no
        level=4
        hitpoints=41
        experience=300
        name= _ "Blood Sylph"
        {ARYEL_BALANCED_BONUS2 BF5}
        {ARYEL_BALANCED_BONUS_MELEE BF5}
    [/variation]

    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF5
        inherit=no
        level=5
        hitpoints=41
        experience=370
        name= _ "Blood Reaper"
        {TRANSFUSION_ABILITY BF5FINAL}
        {IRON_WARDEN_ABILITY BF5FINAL}
    [/variation]
    [variation]
        {ARYEL_BASE}
        hide_help=yes
        variation_id=BF5FINAL
        inherit=no
        level=5
        hitpoints=41
        experience=250
        name= _ "Blood Reaper"
        {AMLA_BLOODFAE}
    [/variation]
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Fake Blood Fae
    race=fae
    gender=female
    name= _ "female^Blood Fae"
    image="units/fae/aryel.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=55
    movement_type=bloodfae
    movement=6
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    usage=mixed fighter
    hide_help=true
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [abilities]
        {ABILITY_STRUT}
        {ABILITY_INFUSE6}
    [/abilities]
    [attack]
        name=malefic whisper
        description=_"malefic whisper"
        icon=attacks/wail.png
        type=arcane
        [specials]
            {WEAPON_SPECIAL_DRAIN100}
        [/specials]
        range=melee
        damage=7
        number=3
        range=melee
    [/attack]
    [attack]
        name=blood boil
        description=_"blood boil"
        type=fire
        [specials]
            {WEAPON_SPECIAL_AGONY}
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=10
        number=3
        range=ranged
        icon=attacks/dark-missile.png
    [/attack]
    [attack]
        name=eviscerate
        description=_"eviscerate"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_SOUL_SIPHON}
        [/specials]
        damage=7
        number=4
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {SOUL_SIPHON "eviscerate" 1}
    {STRUT}
    {DEFENSE_ANIM "units/fae/aryel.png" "units/fae/aryel.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=blood boil
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}

        start_time=-450
        {SOUND:HIT_AND_MISS fire.wav fire.wav -450}
        [frame]
            image="units/fae/aryel.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=malefic whisper
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/aryel.png:520"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=eviscerate
        [/filter_attack]
        {MISSILE_FRAME_FAERIE_FIRE}

        start_time=-450
        {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
        [frame]
            image="units/fae/aryel.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Blood Fae Wingless
    race=fae
    gender=female
    name= _ "female^Blood Fae"
    image="units/fae/aryel-wingless.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=57
    movement_type=bloodfae
    movement=6
    experience=200
    level=4
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    hide_help=true
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
[/unit_type]


#textdomain wesnoth-Genesis

#define AMLA_FIREFAE1
   {AMLA_OPTION_FIRE_MELEE}
   {AMLA_OPTION_BLAST_RANGE}
   {AMLA_OPTION_TEMPEST_RANGE}
   {AMLA_DEFAULT}
#enddef
#define AMLA_FIREFAE2
   {AMLA_OPTION_FIRE_MELEE}
   {AMLA_OPTION_BLAST_RANGE}
   {AMLA_DEFAULT}
#enddef
#define AMLA_OPTION_FIRE_MELEE
    [advancement]
        max_times=-1
        description=_"increased physical strength"
        image=units/fae/esther.png
        id=amla_melee_firefae
        strict_amla=yes
        [effect]
            apply_to=attack
            range=melee
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=30%
        [/effect]
    [/advancement]
#enddef
#define AMLA_OPTION_BLAST_RANGE
    [advancement]
        max_times=-1
        description=_"stronger fire magic"
        image=units/fae/esther.png
        id=amla_blast_firefae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=30%
        [/effect]
    [/advancement]
#enddef
#define AMLA_OPTION_TEMPEST_RANGE
    [advancement]
        max_times=-1
        description=_"stronger storm magic"
        image=units/fae/esther.png
        id=amla_tempest_firefae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=3
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=30%
        [/effect]
    [/advancement]
#enddef
#define ESTHER_ADVANCEMENT HP_INCREMENT XP_INCREMENT EFFECT_WML VARIATION_NAME
    [advancement]
        max_times=-1
        always_display=yes
        [effect]
            apply_to=hitpoints
            increase_total={HP_INCREMENT}
            increase={HP_INCREMENT}
        [/effect]
        [effect]
            apply_to=max_experience
            increase={XP_INCREMENT}
        [/effect]
        [effect]
            apply_to=variation
            name={VARIATION_NAME}
        [/effect]
        {EFFECT_WML}
    [/advancement]
#enddef
#define ESTHER_STORM_SHIELD VARIANT_NAME
    {ESTHER_ADVANCEMENT 2 0 (
        id=esther_storm_shield
        description= _ "returns damage upon being attacked"
        image=units/fae/esther.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_STORM_SHIELD}
            [/abilities]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_FIRE_SHIELD VARIANT_NAME
    {ESTHER_ADVANCEMENT 6 0 (
        id=esther_fire_shield
        description= _ "gains damage and returns damage upon being attacked"
        image=units/fae/esther.png
        [effect]
            apply_to=attack
            range=melee
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_FIRE_SHIELD}
            [/abilities]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_TEMPEST VARIANT_NAME
    {ESTHER_ADVANCEMENT 4 0 (
        id=esther_tempest
        description= _ "gains movement, damage, and +10% to physical resistances"
        image=units/fae/esther.png
        [effect]
            apply_to=attack
            name=immolation
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=8
        [/effect]
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                pierce=-10
                impact=-10
            [/resistance]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_INFERNAL VARIANT_NAME
    {ESTHER_ADVANCEMENT 6 0 (
        id=esther_infernal
        description= _ "gains damage and +20% to physical resistances"
        image=units/fae/esther.png
        [effect]
            apply_to=attack
            name=immolation
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                blade=-20
                pierce=-20
                impact=-20
            [/resistance]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define FAE_LIGHTNING DIRECTION_NUMBER
    [attack_anim]
        [filter_attack]
            name=storm,tempest
        [/filter_attack]

        {LIGHTNING_BOLT {DIRECTION_NUMBER} }

        start_time=-300
        {SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -300}
        [frame]
            image="units/fae/esther.png:[100*2,200,100,50]"
        [/frame]
    [/attack_anim]
#enddef
#define ESTHER_STORM_ATTACK VARIANT_NAME
    {ESTHER_ADVANCEMENT 2 150 (
        id=esther_storm_attack
        description= _ "gains a powerful lightning attack and bonus resistances"
        image=units/fae/esther.png
        [effect]
            apply_to=new_attack
            name=storm
            description= _"storm"
            type=fire
            range=ranged
            damage=27
            number=1
            [specials]
                {WEAPON_SPECIAL_MAGICAL}
            [/specials]
            icon=attacks/faerie-fire.png
        [/effect]
        [effect]
            apply_to=new_animation

            {FAE_LIGHTNING 1}
            {FAE_LIGHTNING 2}
            {FAE_LIGHTNING 3}
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                pierce=-10
                impact=-10
                fire=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ESTHER_BLAZE_SPECIAL VARIANT_NAME
    {ESTHER_ADVANCEMENT 3 110 (
        id=esther_blaze
        description= _ "gains bonus damage on offense"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_BLAZE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                fire=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_INCINERATE_SPECIAL VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 150 (
        id=esther_incinerate
        description= _ "gains bonus damage on offense"
        image=attacks/bow-elven.png
        require_amla=esther_blaze
        [effect]
            apply_to=attack
            name=infernal blast
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_INCINERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_INCINERATE_MELEE VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 170 (
        id=esther_incinerate_melee
        description= _ "gains bonus damage on offense"
        image=attacks/bow-elven.png
        require_amla=esther_blaze
        [effect]
            apply_to=attack
            name=infernal blast
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_INCINERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            range=melee
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_INCINERATE_RANGE VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 170 (
        id=esther_incinerate_range
        description= _ "gains bonus damage on offense"
        image=attacks/bow-elven.png
        require_amla=esther_blaze
        [effect]
            apply_to=attack
            name=infernal blast
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_INCINERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_INCINERATE_TEMPEST VARIANT_NAME
    {ESTHER_ADVANCEMENT 3 0 (
        id=esther_incinerate_tempest
        description= _ "gains bonus damage on offense"
        image=attacks/bow-elven.png
        require_amla=esther_blaze
        [effect]
            apply_to=attack
            name=infernal blast
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_INCINERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=immolation
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=8
        [/effect]
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_IMMOLATE_SPECIAL VARIANT_NAME
    {ESTHER_ADVANCEMENT 4 190 (
        id=esther_immolate
        description= _ "gains an area melee attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=flame aura
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_IMMOLATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            set_name=immolation
            set_description= _ "immolation"
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_IMMOLATE_MELEE VARIANT_NAME
    {ESTHER_ADVANCEMENT 4 230 (
        id=esther_immolate_melee
        description= _ "gains an area melee attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=flame aura
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_IMMOLATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            set_name=immolation
            set_description= _ "immolation"
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_IMMOLATE_RANGE VARIANT_NAME
    {ESTHER_ADVANCEMENT 4 230 (
        id=esther_immolate_range
        description= _ "gains an area melee attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=flame aura
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_IMMOLATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            set_name=immolation
            set_description= _ "immolation"
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_IMMOLATE_TEMPEST VARIANT_NAME
    {ESTHER_ADVANCEMENT 3 0 (
        id=esther_immolate_tempest
        description= _ "gains an area melee attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=flame aura
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_IMMOLATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=8
        [/effect]
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=attack
            name=flame aura
            set_name=immolation
            set_description= _ "immolation"
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=69
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_OBLITERATE_SPECIAL VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 170 (
        id=esther_obliterate
        description= _ "storm attack gains bonus damage on hit"
        image=attacks/bow-elven.png
        require_amla=esther_storm_attack
        [effect]
            apply_to=attack
            name=storm
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_OBLITERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            set_name=tempest
            set_description= _ "tempest"
        [/effect]
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_OBLITERATE_MELEE VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 210 (
        id=esther_obliterate_melee
        description= _ "storm attack gains bonus damage on hit"
        image=attacks/bow-elven.png
        require_amla=esther_storm_attack
        [effect]
            apply_to=attack
            name=storm
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_OBLITERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            range=melee
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            set_name=tempest
            set_description= _ "tempest"
        [/effect]
        [effect]
            apply_to=attack
            name=tempest
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_OBLITERATE_RANGE VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 210 (
        id=esther_obliterate_range
        description= _ "storm attack gains bonus damage on hit"
        image=attacks/bow-elven.png
        require_amla=esther_storm_attack
        [effect]
            apply_to=attack
            name=storm
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_OBLITERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            increase_damage=6
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            set_name=tempest
            set_description= _ "tempest"
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_OBLITERATE_TEMPEST VARIANT_NAME
    {ESTHER_ADVANCEMENT 4 0 (
        id=esther_obliterate_tempest
        description= _ "storm attack gains bonus damage on hit"
        image=attacks/bow-elven.png
        require_amla=esther_storm_attack
        [effect]
            apply_to=attack
            name=storm
            [set_specials]
                {WEAPON_SPECIAL_MAGICAL}
                {WEAPON_SPECIAL_OBLITERATE}
                mode=replace
            [/set_specials]
        [/effect]
        [effect]
            apply_to=attack
            name=immolation
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=1
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            increase_damage=8
        [/effect]
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=attack
            name=storm
            set_name=tempest
            set_description= _ "tempest"
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=90
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_MELEE_BONUS VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 40 (
        id=esther_melee_2
        description= _ "stronger in melee combat"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            range=melee
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_BLAST_BONUS VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 40 (
        id=esther_blast_2
        description= _ "stronger fire magic"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_MELEE_BONUS2 VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 80 (
        id=esther_melee_4
        description= _ "stronger in melee combat"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            range=melee
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_BLAST_BONUS2 VARIANT_NAME
    {ESTHER_ADVANCEMENT 5 80 (
        id=esther_blast_4
        description= _ "stronger fire magic"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=infernal blast
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ESTHER_HP_RESIST VARIANT_NAME
    {ESTHER_ADVANCEMENT 6 90 (
        id=esther_hp_resist
        description= _ "gains +20% to magical resistances"
        image=attacks/heater-shield.png
        [effect]
            apply_to=resistance
            [resistance]
                fire=-20
                cold=-20
                arcane=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ESTHER_BASE
    id=Fire Fae
    race=fae
    gender=female
    name= _ "Fire Fae"
    image="units/fae/esther.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    movement_type=firefae
    movement=6
    alignment=lawful
    advances_to=null
    cost=60
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [abilities]
        {ABILITY_REGENERATES}
    [/abilities]
    [attack]
        name=flame aura
        description=_"flame aura"
        icon=attacks/touch-faerie.png
        type=fire
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=melee
        damage=9
        number=3
    [/attack]
    [attack]
        name=infernal blast
        description=_"infernal blast"
        type=fire
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=9
        number=3
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {IMMOLATE}
    {FIRE_SHIELD}
    {STORM_SHIELD}
    {DEFENSE_ANIM "units/fae/esther.png" "units/fae/esther.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=infernal blast
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}

        start_time=-450
        {SOUND:HIT_AND_MISS fire.wav fire.wav -450}
        [frame]
            image="units/fae/esther.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=flame aura,immolation
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/esther.png:520"
        [/frame]

        {SOUND:HIT_AND_MISS melee-fire.ogg {SOUND_LIST:MISS} -450}
    [/attack_anim]
#enddef
[unit_type]
    {ESTHER_BASE}
    hitpoints=47
    experience=40
    level=2
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF1
        inherit=no
        level=2
        hitpoints=47
        experience=45
        name= _ "Fire Fae"
        {ESTHER_MELEE_BONUS FF2MELEE}
        {ESTHER_BLAST_BONUS FF2FIRE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF2MELEE
        inherit=no
        level=2
        hitpoints=47
        experience=70
        name= _ "Fire Fae"
        {ESTHER_BLAST_BONUS FF3}
        {ESTHER_HP_RESIST FF3}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF2FIRE
        inherit=no
        level=2
        hitpoints=47
        experience=80
        name= _ "Fire Fae"
        {ESTHER_MELEE_BONUS FF3}
        {ESTHER_HP_RESIST FF3}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF3
        inherit=no
        level=3
        hitpoints=47
        experience=130
        name= _ "Fire Fae"
        {ESTHER_STORM_ATTACK FF3STORM}
        {ESTHER_BLAZE_SPECIAL FF3BLAZE}
        {ESTHER_MELEE_BONUS FF3NOSPECIALS}
        {ESTHER_BLAST_BONUS FF3NOSPECIALS}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF3NOSPECIALS
        inherit=no
        level=3
        hitpoints=47
        experience=170
        name= _ "Fire Fae"
        {ESTHER_STORM_ATTACK FF4NOBLAZE}
        {ESTHER_BLAZE_SPECIAL FF4NOSTORM}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF3STORM
        inherit=no
        level=3
        hitpoints=47
        experience=170
        name= _ "Fire Fae"
        {ESTHER_BLAZE_SPECIAL FF4}
        {ESTHER_MELEE_BONUS FF4NOBLAZE}
        {ESTHER_BLAST_BONUS FF4NOBLAZE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF3BLAZE
        inherit=no
        level=3
        hitpoints=47
        experience=170
        name= _ "Fire Fae"
        {ESTHER_STORM_ATTACK FF4}
        {ESTHER_MELEE_BONUS FF4NOSTORM}
        {ESTHER_BLAST_BONUS FF4NOSTORM}
    [/variation]

    #level4
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4NOSTORM
        inherit=no
        level=4
        hitpoints=47
        experience=210
        name= _ "Fire Warden"
        {ESTHER_STORM_ATTACK FF4BOTHSPECIALS}
        {ESTHER_MELEE_BONUS2 FF4REMOVESTORM}
        {ESTHER_BLAST_BONUS2 FF4REMOVESTORM}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4NOBLAZE
        inherit=no
        level=4
        hitpoints=47
        experience=210
        name= _ "Stormcaller"
        {ESTHER_BLAZE_SPECIAL FF4BOTHSPECIALS}
        {ESTHER_MELEE_BONUS2 FF4REMOVEBLAZE}
        {ESTHER_BLAST_BONUS2 FF4REMOVEBLAZE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4
        inherit=no
        level=4
        hitpoints=47
        experience=210
        name= _ "Stormcaller"
        {ESTHER_MELEE_BONUS2 FF4BOTHSPECIALS}
        {ESTHER_BLAST_BONUS2 FF4BOTHSPECIALS}
    [/variation]

    #level4-2
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4BOTHSPECIALS
        inherit=no
        level=4
        hitpoints=47
        experience=270
        name= _ "Stormcaller"
        {ESTHER_IMMOLATE_SPECIAL FF4IMMOLATE}
        {ESTHER_OBLITERATE_SPECIAL FF4OBLITERATE}
        {ESTHER_MELEE_BONUS2 FF4NOADVANCEDSPECIALS}
        {ESTHER_BLAST_BONUS2 FF4NOADVANCEDSPECIALS}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4REMOVESTORM
        inherit=no
        level=4
        hitpoints=47
        experience=270
        name= _ "Fire Warden"
        {ESTHER_IMMOLATE_SPECIAL FF4IMMOLATENOSTORM}
        {ESTHER_MELEE_BONUS2 FF4NOIMMOLATENOSTORM}
        {ESTHER_BLAST_BONUS2 FF4NOIMMOLATENOSTORM}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4REMOVEBLAZE
        inherit=no
        level=4
        hitpoints=47
        experience=270
        name= _ "Stormcaller"
        {ESTHER_OBLITERATE_SPECIAL FF4OBLITERATENOBLAZE}
        {ESTHER_IMMOLATE_SPECIAL FF4IMMOLATENOBLAZE}
    [/variation]

    #level4-3 both storm and blaze
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4NOADVANCEDSPECIALS
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Stormcaller"
        {ESTHER_IMMOLATE_SPECIAL FF5NOOBLITERATE}
        {ESTHER_OBLITERATE_SPECIAL FF5NOIMMOLATE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4IMMOLATE
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Stormcaller"
        {ESTHER_OBLITERATE_SPECIAL FF5NOINCINERATE}
        {ESTHER_INCINERATE_SPECIAL FF5NOOBLITERATE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4OBLITERATE
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Stormcaller"
        {ESTHER_IMMOLATE_SPECIAL FF5NOINCINERATE}
        {ESTHER_INCINERATE_SPECIAL FF5NOIMMOLATE}
    [/variation]

    #level4-3 no blaze
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4OBLITERATENOBLAZE
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Stormcaller"
        {ESTHER_IMMOLATE_MELEE FF5NOBLAZE}
        {ESTHER_IMMOLATE_RANGE FF5NOBLAZE}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4IMMOLATENOBLAZE
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Stormcaller"
        {ESTHER_OBLITERATE_MELEE FF5NOBLAZE}
        {ESTHER_OBLITERATE_RANGE FF5NOBLAZE}
    [/variation]

    #level4-3 no storm
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4IMMOLATENOSTORM
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Fire Warden"
        {ESTHER_INCINERATE_MELEE FF5NOSTORM}
        {ESTHER_INCINERATE_RANGE FF5NOSTORM}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF4NOIMMOLATENOSTORM
        inherit=no
        level=4
        hitpoints=47
        experience=320
        name= _ "Fire Warden"
        {ESTHER_IMMOLATE_MELEE FF5NOSTORM}
        {ESTHER_IMMOLATE_RANGE FF5NOSTORM}
    [/variation]

    #level5-1 no storm or no blaze
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOBLAZE
        inherit=no
        level=5
        hitpoints=47
        experience=370
        name= _ "Storm Warden"
        {ESTHER_STORM_SHIELD FF5NOBLAZEFINAL}
        {ESTHER_TEMPEST FF5NOBLAZEFINAL}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOSTORM
        inherit=no
        level=5
        hitpoints=47
        experience=370
        name= _ "Fire Warden"
        {ESTHER_FIRE_SHIELD FF5NOSTORMFINAL}
        {ESTHER_INFERNAL FF5NOSTORMFINAL}
    [/variation]

    #level5-1 both storm and blaze
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOINCINERATE
        inherit=no
        level=5
        hitpoints=47
        experience=370
        name= _ "Storm Warden"
        {ESTHER_INCINERATE_TEMPEST FF5FINAL}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOIMMOLATE
        inherit=no
        level=5
        hitpoints=47
        experience=370
        name= _ "Storm Warden"
        {ESTHER_IMMOLATE_TEMPEST FF5FINAL}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOOBLITERATE
        inherit=no
        level=5
        hitpoints=47
        experience=370
        name= _ "Storm Warden"
        {ESTHER_OBLITERATE_TEMPEST FF5FINAL}
    [/variation]

    #level5-2
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5FINAL
        inherit=no
        level=5
        hitpoints=47
        experience=250
        name= _ "Tempest"
        {AMLA_FIREFAE1}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOBLAZEFINAL
        inherit=no
        level=5
        hitpoints=47
        experience=250
        name= _ "Tempest"
        {AMLA_FIREFAE1}
    [/variation]
    [variation]
        {ESTHER_BASE}
        hide_help=yes
        variation_id=FF5NOSTORMFINAL
        inherit=no
        level=5
        hitpoints=47
        experience=250
        name= _ "Infernal"
        {AMLA_FIREFAE2}
    [/variation]
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Fake Fire Fae
    name= _ "female^Fire Fae"
    race=fae
    gender=female
    image="units/fae/esther.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=60
    movement_type=firefae
    movement=6
    experience=150
    level=3
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    hide_help=true
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [abilities]
        {ABILITY_REGENERATES}
    [/abilities]
    [attack]
        name=flame aura
        description=_"flame aura"
        icon=attacks/touch-faerie.png
        type=fire
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=melee
        damage=11
        number=3
        range=melee
    [/attack]
    [attack]
        name=infernal blast
        description=_"infernal blast"
        type=fire
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
            {WEAPON_SPECIAL_BLAZE}
        [/specials]
        damage=11
        number=3
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {DEFENSE_ANIM "units/fae/esther.png" "units/fae/esther.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=infernal blast
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY -11 20}

        start_time=-450
        {SOUND:HIT_AND_MISS fire.wav fire.wav -450}
        [frame]
            image="units/fae/esther.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=flame aura
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/esther.png:520"
        [/frame]

        {SOUND:HIT_AND_MISS melee-fire.ogg {SOUND_LIST:MISS} -450}
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Fake Fire Fae2
    name= _ "female^Fire Fae"
    race=fae
    gender=female
    image="units/fae/esther.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=70
    movement_type=firefae
    movement=6
    experience=200
    level=4
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    hide_help=true
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Fire Fae Wingless
    name= _ "female^Fire Fae"
    race=fae
    gender=female
    image="units/fae/esther-wingless.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=70
    movement_type=firefae
    movement=6
    experience=200
    level=4
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    hide_help=true
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
[/unit_type]


#textdomain wesnoth-Genesis

#define AMLA_ARCANEFAE
   {AMLA_OPTION_ARCANEMELEE}
   {AMLA_OPTION_YUMIVOID}
   {AMLA_OPTION_ARCANEFIRE}
#enddef
#define AMLA_OPTION_ARCANEMELEE
    [advancement]
        max_times=-1
        description=_"increased physical strength"
        image=units/fae/yumi.png
        id=amla_melee_arcanefae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=faerie touch
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=max_experience
            increase=25%
        [/effect]
    [/advancement]
#enddef
#define AMLA_OPTION_YUMIVOID
    [advancement]
        max_times=-1
        description=_"stronger void magic"
        image=units/fae/yumi.png
        id=amla_void_arcanefae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=void assault
            increase_attacks=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=attack
            name=ethereal storm
            increase_damage=2
        [/effect]
        [effect]
            apply_to=max_experience
            increase=20%
        [/effect]
    [/advancement]
#enddef
#define AMLA_OPTION_ARCANEFIRE
    [advancement]
        max_times=-1
        description=_"stronger faerie fire"
        image=units/fae/yumi.png
        id=amla_fire_arcanefae
        strict_amla=yes
        [effect]
            apply_to=attack
            name=faerie fire
            increase_damage=1
            heal_full=yes
        [/effect]
        [effect]
            apply_to=attack
            name=ethereal storm
            increase_damage=2
        [/effect]
        [effect]
            apply_to=max_experience
            increase=25%
        [/effect]
    [/advancement]
#enddef

#define YUMI_ADVANCEMENT HP_INCREMENT XP_INCREMENT EFFECT_WML VARIATION_NAME
    [advancement]
        max_times=-1
        always_display=yes
        [effect]
            apply_to=hitpoints
            increase_total={HP_INCREMENT}
            increase={HP_INCREMENT}
        [/effect]
        [effect]
            apply_to=max_experience
            increase={XP_INCREMENT}
        [/effect]
        [effect]
            apply_to=variation
            name={VARIATION_NAME}
        [/effect]
        {EFFECT_WML}
    [/advancement]
#enddef

#define CLAIRVOYANCE_SKILL VARIANT_NAME
    {YUMI_ADVANCEMENT 0 230 (
        id=clairvoyance_skill
        description= _ "can teleport to allied units and gains cold and arcane resists"
        image=units/fae/yumi.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_CLAIRVOYANCE}
            [/abilities]
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                cold=-20
                arcane=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define ETHEREAL_STORM_ATTACK VARIANT_NAME
    {YUMI_ADVANCEMENT 4 200 (
        id=ethereal_storm_attack
        description= _ "gains a powerful ranged attack"
        image=units/fae/yumi.png
        [effect]
            apply_to=new_attack
            name=ethereal storm
            description= _"ethereal storm"
            type=cold
            range=ranged
            damage=47
            number=2
            [specials]
                {WEAPON_SPECIAL_CHAOS}
            [/specials]
            icon=attacks/faerie-fire.png
        [/effect]
        [effect]
            apply_to=new_animation
            [attack_anim]
                [filter_attack]
                    name=ethereal storm
                [/filter_attack]
                {MISSILE_FRAME_FAERIE_FIRE}

                start_time=-450
                {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
                [frame]
                    image="units/fae/yumi.png"
                    halo=halo/elven/faerie-fire-halo[1~7].png:75
                    halo_x,halo_y=0,0
                [/frame]
            [/attack_anim]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define CLARITY_AURA VARIANT_NAME
    {YUMI_ADVANCEMENT 0 200 (
        id=clarity_aura
        description= _ "can shred enemies' cold and arcane resistances"
        image=units/fae/yumi.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_CLARITY}
            [/abilities]
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                cold=-20
                arcane=-20
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define NIGHT_HUNTER_ABILITY VARIANT_NAME
    {YUMI_ADVANCEMENT 0 0 (
        id=night_hunter_ability
        description= _ "gains the night hunter ability and gains movement"
        image=units/fae/yumi.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_NIGHT_HUNTER}
            [/abilities]
        [/effect]
        [effect]
            apply_to=movement
            increase=1
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=49
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define VOID_WARDEN_ABILITY VARIANT_NAME
    {YUMI_ADVANCEMENT 4 0 (
        id=void_warden_ability
        description= _ "gains the void warden ability"
        image=units/fae/yumi.png
        [effect]
            apply_to=new_ability
            [abilities]
                {ABILITY_VOID_WARDEN}
            [/abilities]
        [/effect]
        [effect]
            apply_to=max_experience
            increase=-100%
        [/effect]
        [effect]
            apply_to=max_experience
            increase=49
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define YUMI_MELEE_BONUS VARIANT_NAME
    {YUMI_ADVANCEMENT 4 30 (
        id=yumi_melee_3
        description= _ "stronger in melee combat"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=faerie touch
            increase_damage=3
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define YUMI_VOID_BONUS VARIANT_NAME
    {YUMI_ADVANCEMENT 2 30 (
        id=void_no_melee
        description= _ "stronger void attack"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=void assault
            increase_attacks=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define ARCANEFIRE_BONUS VARIANT_NAME
    {YUMI_ADVANCEMENT 2 40 (
        id=fire_no_melee
        description= _ "stronger faerie fire attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=faerie fire
            increase_damage=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef

# note that this no longer gives melee dmg despite the name
#define YUMI_VOID_BONUS_MELEE VARIANT_NAME
    {YUMI_ADVANCEMENT 3 80 (
        id=void_with_melee
        description= _ "stronger void attack"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=void assault
            increase_attacks=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef

# note that this no longer gives melee dmg despite the name
#define ARCANEFIRE_BONUS_MELEE VARIANT_NAME
    {YUMI_ADVANCEMENT 3 90 (
        id=fire_with_melee
        description= _ "stronger faerie fire attack"
        image=attacks/bow-elven.png
        [effect]
            apply_to=attack
            name=faerie fire
            increase_damage=4
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define MELEE_RESIST VARIANT_NAME
    {YUMI_ADVANCEMENT 5 110 (
        id=melee_resist
        description= _ "stronger in melee combat and gains +10% physical resistance"
        image=attacks/sword-elven.png
        [effect]
            apply_to=attack
            name=faerie touch
            increase_damage=4
        [/effect]
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                pierce=-10
                impact=-10
            [/resistance]
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define DEFENSE_RESIST VARIANT_NAME
    {YUMI_ADVANCEMENT 4 170 (
        id=defense_resist
        description= _ "gains +10% to physical resistances and bonus defenses on some terrain"
        image=attacks/heater-shield.png
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                pierce=-10
                impact=-10
            [/resistance]
        [/effect]
        [effect]
            apply_to=defense
            [defense]
                deep_water=-10
                shallow_water=-10
                reef=-10
                swamp_water=-10
                sand=-10
                hills=-10
                mountains=-10
                village=-10
                castle=-10
                cave=-10
                frozen=-10
                fungus=-10
            [/defense]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define DEFENSE_DAMAGE VARIANT_NAME
    {YUMI_ADVANCEMENT 4 200 (
        id=defense_resist
        description= _ "gains bonus defenses on some terrain and gains damage"
        image=attacks/heater-shield.png
        [effect]
            apply_to=attack
            name=faerie touch
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=faerie fire
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=void assault
            increase_attacks=2
        [/effect]
        [effect]
            apply_to=defense
            [defense]
                deep_water=-10
                shallow_water=-10
                reef=-10
                swamp_water=-10
                sand=-10
                hills=-10
                mountains=-10
                village=-10
                castle=-10
                cave=-10
                frozen=-10
                fungus=-10
            [/defense]
        [/effect]
    ) {VARIANT_NAME}}
#enddef
#define DAMAGE_RESIST VARIANT_NAME
    {YUMI_ADVANCEMENT 3 200 (
        id=defense_resist
        description= _ "gains +10% to physical resistances and gains damage"
        image=attacks/heater-shield.png
        [effect]
            apply_to=resistance
            [resistance]
                blade=-10
                pierce=-10
                impact=-10
            [/resistance]
        [/effect]
        [effect]
            apply_to=attack
            name=faerie touch
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=faerie fire
            increase_damage=2
        [/effect]
        [effect]
            apply_to=attack
            name=void assault
            increase_attacks=2
        [/effect]
    ) {VARIANT_NAME}}
#enddef

#define YUMI_BASE
    id=Shadow Fae
    race=fae
    gender=female
    name= _ "Shadow Fae"
    image="units/fae/yumi.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    movement_type=arcanefae
    movement=6
    alignment=chaotic
    advances_to=null
    cost=60
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [attack]
        name=faerie touch
        description=_"faerie touch"
        icon=attacks/touch-faerie.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=melee
        damage=7
        number=3
        range=melee
    [/attack]
    [attack]
        name=void assault
        description=_"void assault"
        type=cold
        [specials]
            {WEAPON_SPECIAL_SLOW}
            {WEAPON_SPECIAL_ABEYANCE}
            {WEAPON_SPECIAL_CHAOS}
        [/specials]
        damage=0
        number=9
        range=ranged
        icon=attacks/dark-missile.png
    [/attack]
    [attack]
        name=faerie fire
        description=_"faerie fire"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_DRAIN40}
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=7
        number=5
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {ABEYANCE "void assault" 5}
    {DEFENSE_ANIM "units/fae/yumi.png" "units/fae/yumi.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=faerie fire
        [/filter_attack]
        {MISSILE_FRAME_FAERIE_FIRE}

        start_time=-450
        {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
        [frame]
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=void assault
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-350
        [frame]
            duration=100
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
            sound=shaxthal-energy-prelude.ogg
        [/frame]
        [frame]
            duration=300
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
            sound=shaxthal-energy-fire.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=faerie touch
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/yumi.png:520"
        [/frame]

    [/attack_anim]
    [animation]
        apply_to=pre_teleport
        start_time=-600
        alpha="1.0~0.2"
        blend_ratio="0.0~1.0:400,1.0:200"
        blend_color=140,60,255
        [frame]
            duration=600
            image=units/fae/yumi.png
        [/frame]

        halo_start_time=-600
        halo_auto_vflip=no
        halo_halo_mod="~CS(-32,-128,0)~O(0.8)"
        halo_halo_y="0~14"

        [halo_frame]
            halo="halo/elven/druid-healing[1~5].png:80,halo/elven/druid-healing6.png~O(0.75):80,halo/elven/druid-healing7.png~O(0.5):80,halo/elven/druid-healing8.png~O(0.25):80"
        [/halo_frame]
    [/animation]

    [animation]
        apply_to=post_teleport
        start_time=-600
        alpha="0.2~1.0"
        blend_ratio="1.0:200,1.0~0.0:400"
        blend_color=140,60,255
        [frame]
            duration=600
            image=units/fae/yumi.png
        [/frame]

        halo_start_time=-500
        halo_auto_vflip=no
        halo_halo_mod="~CS(-32,-128,0)~O(0.8)"
        halo_halo_y="-4~10"

        [halo_frame]
            halo="halo/elven/druid-healing[1~5].png:80,halo/elven/druid-healing6.png~O(0.75):80,halo/elven/druid-healing7.png~O(0.5):80,halo/elven/druid-healing8.png~O(0.25):80"
        [/halo_frame]
    [/animation]
#enddef
[unit_type]
    {YUMI_BASE}
    hitpoints=23
    experience=50
    level=2
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF1
        inherit=no
        level=2
        hitpoints=23
        experience=50
        name= _ "Shadow Fae"
        {YUMI_MELEE_BONUS SF2MELEE}
        {YUMI_VOID_BONUS SF2VOID}
        {ARCANEFIRE_BONUS SF2FIRE}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF2VOID
        inherit=no
        level=2
        hitpoints=23
        experience=70
        name= _ "Shadow Fae"
        {ARCANEFIRE_BONUS SF3}
        {YUMI_MELEE_BONUS SF3}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF2FIRE
        inherit=no
        level=2
        hitpoints=23
        experience=80
        name= _ "Shadow Fae"
        {YUMI_VOID_BONUS SF3}
        {YUMI_MELEE_BONUS SF3}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF2MELEE
        inherit=no
        level=2
        hitpoints=23
        experience=80
        name= _ "Shadow Fae"
        {YUMI_VOID_BONUS SF3}
        {ARCANEFIRE_BONUS SF3}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF3
        inherit=no
        level=3
        hitpoints=25
        experience=120
        name= _ "Shadow Fae"
        {CLARITY_AURA SF3CLARITY}
        {YUMI_VOID_BONUS_MELEE SF3VOID}
        {ARCANEFIRE_BONUS_MELEE SF3FIRE}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF3CLARITY
        inherit=no
        level=3
        hitpoints=25
        experience=170
        name= _ "Shadow Fae"
        {YUMI_VOID_BONUS_MELEE SF4}
        {ARCANEFIRE_BONUS_MELEE SF4}
        {MELEE_RESIST SF4}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF3VOID
        inherit=no
        level=3
        hitpoints=25
        experience=170
        name= _ "Shadow Fae"
        {CLARITY_AURA SF4}
        {ARCANEFIRE_BONUS_MELEE SF4NOCLARITY}
        {MELEE_RESIST SF4NOCLARITY}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF3FIRE
        inherit=no
        level=3
        hitpoints=25
        experience=170
        name= _ "Shadow Fae"
        {CLARITY_AURA SF4}
        {YUMI_VOID_BONUS_MELEE SF4NOCLARITY}
        {MELEE_RESIST SF4NOCLARITY}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4NOCLARITY
        inherit=no
        level=4
        hitpoints=27
        experience=230
        name= _ "Shadow Nymph"
        {CLARITY_AURA SF4CLARITY}
        {YUMI_VOID_BONUS_MELEE SF4RANGE}
        {ARCANEFIRE_BONUS_MELEE SF4RANGE}
        {MELEE_RESIST SF4MELEE}
        {CLAIRVOYANCE_SKILL SF4CLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4
        inherit=no
        level=4
        hitpoints=27
        experience=230
        name= _ "Shadow Nymph"
        {DEFENSE_DAMAGE SF4CLARITY}
        {DEFENSE_RESIST SF4CLARITY}
        {DAMAGE_RESIST SF4CLARITY}
        {CLAIRVOYANCE_SKILL SF4CLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4RANGE
        inherit=no
        level=4
        hitpoints=27
        experience=290
        name= _ "Shadow Nymph"
        {DEFENSE_DAMAGE SF4FINAL}
        {DEFENSE_RESIST SF4FINAL}
        {DAMAGE_RESIST SF4FINAL}
        {ETHEREAL_STORM_ATTACK SF4FINALVOID}
        {CLAIRVOYANCE_SKILL SF4FINALCLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4MELEE
        inherit=no
        level=4
        hitpoints=27
        experience=290
        name= _ "Shadow Nymph"
        {YUMI_VOID_BONUS_MELEE SF4FINAL}
        {ARCANEFIRE_BONUS_MELEE SF4FINAL}
        {ETHEREAL_STORM_ATTACK SF4FINALVOID}
        {CLAIRVOYANCE_SKILL SF4FINALCLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4CLARITY
        inherit=no
        level=4
        hitpoints=27
        experience=290
        name= _ "Shadow Nymph"
        {YUMI_VOID_BONUS_MELEE SF4FINAL}
        {ARCANEFIRE_BONUS_MELEE SF4FINAL}
        {ETHEREAL_STORM_ATTACK SF4FINALVOID}
        {CLAIRVOYANCE_SKILL SF4FINALCLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4CLAIRV
        inherit=no
        level=4
        hitpoints=27
        experience=290
        name= _ "Shadow Nymph"
        {YUMI_VOID_BONUS_MELEE SF4FINALCLAIRV}
        {ARCANEFIRE_BONUS_MELEE SF4FINALCLAIRV}
        {ETHEREAL_STORM_ATTACK SF4FINALVOIDCLAIRV}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4FINAL
        inherit=no
        level=4
        hitpoints=27
        experience=330
        name= _ "Shadow Nymph"
        {CLAIRVOYANCE_SKILL SF5}
        {ETHEREAL_STORM_ATTACK SF5}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4FINALVOID
        inherit=no
        level=4
        hitpoints=27
        experience=330
        name= _ "Shadow Nymph"
        {YUMI_VOID_BONUS_MELEE SF5}
        {ARCANEFIRE_BONUS_MELEE SF5}
        {CLAIRVOYANCE_SKILL SF5}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4FINALCLAIRV
        inherit=no
        level=4
        hitpoints=27
        experience=330
        name= _ "Shadow Nymph"
        {YUMI_VOID_BONUS_MELEE SF5}
        {ARCANEFIRE_BONUS_MELEE SF5}
        {ETHEREAL_STORM_ATTACK SF5}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF4FINALVOIDCLAIRV
        inherit=no
        level=4
        hitpoints=27
        experience=330
        name= _ "Shadow Nymph"
        {DEFENSE_DAMAGE SF5}
        {DEFENSE_RESIST SF5}
        {DAMAGE_RESIST SF5}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF5
        inherit=no
        level=5
        hitpoints=29
        experience=410
        name= _ "Void Angel"
        {NIGHT_HUNTER_ABILITY SF5FINAL}
        {VOID_WARDEN_ABILITY SF5FINAL}
    [/variation]
    [variation]
        {YUMI_BASE}
        hide_help=yes
        variation_id=SF5FINAL
        inherit=no
        level=5
        hitpoints=29
        experience=250
        name= _ "Void Angel"
        {AMLA_ARCANEFAE}
    [/variation]
[/unit_type]


#textdomain wesnoth-Genesis
[unit_type]
    id=Fake Shadow Fae
    name= _ "female^Shadow Fae"
    race=fae
    gender=female
    image="units/fae/yumi.png"
    halo=halo/elven/shyde-stationary-halo[1~6].png:150
    hitpoints=43
    movement_type=arcanefae
    movement=6
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=67
    hide_help=true
    usage=mixed fighter
    description= _ "There is no information available about this class of beings at this time."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [abilities]
        {ABILITY_CLARITY}
    [/abilities]
    [attack]
        name=faerie touch
        description=_"faerie touch"
        icon=attacks/touch-faerie.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=melee
        damage=11
        number=3
        range=melee
    [/attack]
    [attack]
        name=yumi void assault
        description=_"void assault"
        type=cold
        [specials]
            {WEAPON_SPECIAL_SLOW}
            {WEAPON_SPECIAL_ABEYANCE}
            {WEAPON_SPECIAL_CHAOS}
        [/specials]
        damage=0
        number=11
        range=ranged
        icon=attacks/dark-missile.png
    [/attack]
    [attack]
        name=faerie fire
        description=_"faerie fire"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_DRAIN40}
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=9
        number=5
        range=ranged
        icon=attacks/faerie-fire.png
    [/attack]
    {ABEYANCE "yumi void assault" 5}
    {DEFENSE_ANIM "units/fae/yumi.png" "units/fae/yumi.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [attack_anim]
        [filter_attack]
            name=faerie fire
        [/filter_attack]
        {MISSILE_FRAME_FAERIE_FIRE}

        start_time=-450
        {SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
        [frame]
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=yumi void assault
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-350
        [frame]
            duration=100
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
            sound=shaxthal-energy-prelude.ogg
        [/frame]
        [frame]
            duration=300
            image="units/fae/yumi.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=0,0
            sound=shaxthal-energy-fire.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=faerie touch
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/fae/yumi.png:520"
        [/frame]

    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Dusk Faerie
    name= _ "female^Dusk Faerie"
    race=faerie
    gender=female
    image="units/faeries-other/dusk.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    ellipse="misc/ellipse"
    hitpoints=28
    movement_type=faerie
    [resistance]
        fire=100
        cold=80
    [/resistance]
    movement=6
    level=1
    alignment=chaotic
    experience=46
    advances_to=Night Nymph
    cost=20
    usage=archer
    description= _ "In the largest and densest forests of Irdya it is possible to find some of the most elusive and fascinating surface creatures, such as woses and forest faeries. However, a particular kind of faerie beings has always remained relatively unknown by outsiders and denizens of the forests alike.

The mysterious faeries of the darkness hide away from any form of civilization, dwelling in some of the most dangerous locations. Their rumored natural mastery of the shadows often leads the uneducated to liken them to necromancers, even though there is no recorded evidence of any involvement of their kind with such magic."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries-other/dusk.png" "units/faeries-other/dusk.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries-other/dusk.png" "units/faeries-other/dusk.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=faerie touch
        description= _ "faerie touch"
        icon=attacks/touch-faerie.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_DRAIN}
        [/specials]
        range=melee
        damage=6
        number=2
    [/attack]
    [attack]
        name=shadow wave
        description= _ "shadow wave"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=9
        number=2
        icon=attacks/dark-missile.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=faerie touch
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/faeries-other/dusk.png:220"
        [/frame]
        [frame]
            image="units/faeries-other/dusk.png"
            halo="halo/elven/shaman-heal-halo-[4~7].png~G(-50):75"
            halo_x,halo_y=10,14
        [/frame]

        {SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -50}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=shadow wave
        [/filter_attack]
        start_time=-300
        missile_start_time=-50

        [missile_frame]
            duration=200
            image="projectiles/darkmissile-n.png"
            image_diagonal="projectiles/darkmissile-ne.png"
        [/missile_frame]

        [frame]
            image="units/faeries-other/dusk.png"
            halo="halo/undead/dark-magic-[1~6].png:50"
            halo_x,halo_y=10,15
        [/frame]

        [frame]
            image="units/faeries-other/dusk.png:100"
        [/frame]

        {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -50}
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Eventide Dancer
    name= _ "female^Eventide Dancer"
    race=faerie
    gender=female
    image="units/faeries-other/eventide-dancer.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    ellipse="misc/ellipse"
    hitpoints=51
    movement_type=faerie
    [resistance]
        fire=100
        cold=70
    [/resistance]
    movement=6
    level=3
    alignment=chaotic
    experience=150
    advances_to=null
    {AMLA_EVENTIDE}
    cost=76
    usage=archer
    description= _ "Many stories tell of unfortunate young men who wandered into the deep forest at night, and by chance laid their eyes upon a beautiful night nymph. Although a few were sufficiently prudent to immediately flee back to their brightly-lit homes instead of approaching the otherworldly maiden, they were often confronted and abducted in their way out.

Combined with their remarkable mastery of the arcane flame of darkness, the rumored ability of these faeries to teleport between distant places at will would turn them into fearsome enemies — that is, if they were ever to abandon their natural environment."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries-other/eventide-dancer.png" "units/faeries-other/eventide-dancer.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries-other/eventide-dancer.png" "units/faeries-other/eventide-dancer.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=faerie touch
        description= _ "faerie touch"
        icon=attacks/touch-faerie.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_DRAIN}
        [/specials]
        range=melee
        damage=8
        number=2
    [/attack]
    [attack]
        name=forest chill
        description=_"forest chill"
        type=cold
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=15
        number=2
        icon=attacks/forest-chill.png
    [/attack]
    [attack]
        name=shadow wave
        description= _ "shadow wave"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=12
        number=3
        icon=attacks/dark-missile.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=faerie touch
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/faeries-other/eventide-dancer.png:220"
        [/frame]
        [frame]
            image="units/faeries-other/eventide-dancer.png"
            halo="halo/elven/shaman-heal-halo-[4~7].png~G(-50):75"
            halo_x,halo_y=10,14
        [/frame]

        {SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -50}
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=forest chill
        [/filter_attack]
        {MISSILE_FRAME_ICE}

        halo1_start_time=-400
        halo1_auto_vflip=false
        [halo1_frame]
            halo="halo/saurian-magic-halo-[1~7].png:100"
            halo_y=-20
        [/halo1_frame]

        halo2_start_time=-450
        halo2_auto_vflip=false
        [halo2_frame]
            halo="halo/saurian-magic-halo-[7~1].png:100"
            halo_y=0
        [/halo2_frame]
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=shadow wave
        [/filter_attack]
        start_time=-300
        missile_start_time=-50

        [missile_frame]
            duration=200
            image="projectiles/darkmissile-n.png"
            image_diagonal="projectiles/darkmissile-ne.png"
        [/missile_frame]

        [frame]
            image="units/faeries-other/eventide-dancer.png"
            halo="halo/undead/dark-magic-[1~6].png:50"
            halo_x,halo_y=10,15
        [/frame]

        [frame]
            image="units/faeries-other/eventide-dancer.png:100"
        [/frame]

        {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -50}
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Genesis

[unit_type]
    id=Night Nymph
    name= _ "female^Night Nymph"
    race=faerie
    gender=female
    image="units/faeries-other/night-nymph.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    ellipse="misc/ellipse"
    hitpoints=40
    movement_type=faerie
    [resistance]
        fire=100
        cold=80
    [/resistance]
    movement=6
    level=2
    alignment=chaotic
    experience=105
    advances_to=Eventide Dancer
    cost=38
    usage=archer
    description= _ "It is said that the dark faeries’ secluded lives in hazardous environments has led them to lose any kind of empathy towards those who are not of their kind. Many fables revolve around men who were lured into following these beautiful temptresses to their homes, never to be seen ever again."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries-other/night-nymph.png" "units/faeries-other/night-nymph.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries-other/night-nymph.png" "units/faeries-other/night-nymph.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=faerie touch
        description= _ "faerie touch"
        icon=attacks/touch-faerie.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_DRAIN}
        [/specials]
        range=melee
        damage=7
        number=2
    [/attack]
    [attack]
        name=forest chill
        description=_"forest chill"
        type=cold
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=12
        number=2
        icon=attacks/forest-chill.png
    [/attack]
    [attack]
        name=shadow wave
        description= _ "shadow wave"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=9
        number=3
        icon=attacks/dark-missile.png
    [/attack]

    [attack_anim]
        [filter_attack]
            name=faerie touch
        [/filter_attack]
        start_time=-240

        [frame]
            image="units/faeries-other/night-nymph.png:220"
        [/frame]
        [frame]
            image="units/faeries-other/night-nymph.png"
            halo="halo/elven/shaman-heal-halo-[4~7].png~G(-50):75"
            halo_x,halo_y=10,14
        [/frame]

        {SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -50}
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=forest chill
        [/filter_attack]
        {MISSILE_FRAME_ICE}
        {HALO_FRAME_SAURIAN}
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=shadow wave
        [/filter_attack]
        start_time=-300
        missile_start_time=-50

        [missile_frame]
            duration=200
            image="projectiles/darkmissile-n.png"
            image_diagonal="projectiles/darkmissile-ne.png"
        [/missile_frame]

        [frame]
            image="units/faeries-other/night-nymph.png"
            halo="halo/undead/dark-magic-[1~6].png:50"
            halo_x,halo_y=10,15
        [/frame]

        [frame]
            image="units/faeries-other/night-nymph.png:100"
        [/frame]

        {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -50}
    [/attack_anim]
[/unit_type]