#textdomain wesnoth-Naia

[unit_type]
    id=Demon Zephyr
    name= _ "Demon Zephyr"
    race=demon
    gender=male,female
    image="units/demons/zephyr.png"
    hitpoints=39
    movement_type=demonfly
    movement=6
    experience=100
    level=2
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=24
    usage=scout
    {TRAIT_DEXTROUS}
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
    description= _ "Some demons go through a different maturing process and grow large webbed wings, which allow them to use their enormous strength to fly across great distances. As weapons and armor could only hinder them in flight, they must rely on their species’ strong build, long and sharp claws, and their limited control of fire to strike at their prey from above."
    {DEFENSE_ANIM "units/demons/zephyr.png" "units/demons/zephyr.png" {SOUND_LIST:HUMAN_HIT} }
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=claws
        description={I18N:ATTACK_CLAWS}
        icon=attacks/claws-flaming.png
        type=blade
        range=melee
        damage=6
        number=3
    [/attack]
    [attack]
        name=fireball
        description={I18N:ATTACK_FIREBALL}
        type=fire
        range=ranged
        damage=7
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                #image="units/demons/demon-winged-attack1.png"
                image="units/demons/zephyr.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                #image="units/demons/demon-winged-attack1.png"
                image="units/demons/zephyr.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            #image="units/demons/demon-winged-attack2.png"
            image="units/demons/zephyr.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY 0 0}
        [frame]
            begin=-250
            end=-175
            #image="units/demons/demon-winged-range1.png"
            image="units/demons/zephyr.png"
        [/frame]
        [frame]
            begin=-175
            end=-50
            #image="units/demons/demon-winged-range1.png"
            image="units/demons/zephyr.png"
            sound=fire.wav
        [/frame]
        [frame]
            begin=-50
            end=50
            #image="units/demons/demon-winged-range2.png"
            image="units/demons/zephyr.png"
        [/frame]
        [frame]
            begin=50
            end=100
            #image="units/demons/demon-winged-range3.png"
            image="units/demons/zephyr.png"
        [/frame]
    [/attack_anim]

    [female]
        name= _ "female^Demoness Zephyr"
        gender=female
        image="units/demons/zephyr+female.png"
        {DEFENSE_ANIM "units/demons/zephyr+female.png" "units/demons/zephyr+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        [attack_anim]
            [filter_attack]
                name=claws
            [/filter_attack]
            [if]
                [frame]
                    #image="units/demons/demon-winged+female-attack1.png"
                    image="units/demons/zephyr+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image="units/demons/demon-winged+female-attack1.png"
                    image="units/demons/zephyr+female.png"
                [/frame]
            [/else]
            [frame]
                #image="units/demons/demon-winged+female-attack2.png"
                image="units/demons/zephyr+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=fireball
            [/filter_attack]
            [frame]
                #image="units/demons/demon-winged+female-range1.png"
                image="units/demons/zephyr+female.png"
            [/frame]
            [frame]
                #image="units/demons/demon-winged+female-range1.png"
                image="units/demons/zephyr+female.png"
            [/frame]
            [frame]
                #image="units/demons/demon-winged+female-range2.png"
                image="units/demons/zephyr+female.png"
            [/frame]
            [frame]
                #image="units/demons/demon-winged+female-range3.png"
                image="units/demons/zephyr+female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Elvish Hunter
    name= _ "Elvish Hunter"
    race=elf
    gender=male,female
    image="units/elves-wood/hunter.png"
    hitpoints=29
    movement_type=woodland
    movement=6
    cost=16
    experience=42
    level=1
    alignment=neutral
    advances_to=Elvish Trapper
    usage=mixed fighter
    [movement_costs]
        cave=2
    [/movement_costs]
    # These guys have a better defense in swamp water and sands
    [defense]
        swamp_water=60
        cave=50
        mountains=30
        hills=40
        sand=60
    [/defense]
    description= _ "In order to protect their lands, the forest elves of the Valley of Elynia have developed new practices and formed special trained groups to patrol their frontiers. Their hunters are specialized in trapping unwary opponents from a safe distance to ease the task of the swordsmen."
    die_sound={SOUND_LIST:ELF_HIT}
    {DEFENSE_ANIM_RANGE "units/elves-wood/hunter-sword-defend.png" "units/elves-wood/hunter.png" {SOUND_LIST:ELF_HIT} melee }
    {DEFENSE_ANIM_RANGE "units/elves-wood/hunter-ranged-defend.png" "units/elves-wood/hunter-ranged-4.png" {SOUND_LIST:ELF_HIT} ranged }
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        type=blade
        range=melee
        damage=5
        number=4
        icon=attacks/sword-elven.png
    [/attack]
    [attack]
        name=bolas
        description= _"bolas"
        type=impact
        range=ranged
        damage=4
        number=2
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=bolas
        [/filter_attack]
        {MISSILE_FRAME_BOLAS}
        [frame]
            begin=-500
            end=-375
            image="units/elves-wood/hunter-ranged-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-375
                end=-250
                image="units/elves-wood/hunter-ranged-2.png"
                sound=hatchet.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-375
                end=-250
                image="units/elves-wood/hunter-ranged-2.png"
                sound=hatchet-miss.wav
            [/frame]
        [/else]
        [frame]
            begin=-250
            end=-125
            image="units/elves-wood/hunter-ranged-3.png"
        [/frame]
        [frame]
            begin=-125
            end=-100
            image="units/elves-wood/hunter-ranged-4.png"
        [/frame]
        [frame]
            begin=-100
            end=0
            image="units/elves-wood/hunter-ranged-4.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [frame]
            begin=-200
            end=-175
            image="units/elves-wood/hunter.png"
        [/frame]
        [frame]
            begin=-175
            end=-75
            image="units/elves-wood/hunter-sword-1.png"
        [/frame]
        [if]
            hits=no
            [frame]
                begin=-75
                end=75
                image="units/elves-wood/hunter-sword-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                begin=-75
                end=75
                image="units/elves-wood/hunter-sword-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/else]
        [frame]
            begin=75
            end=125
            image="units/elves-wood/hunter-sword-3.png"
        [/frame]
        [frame]
            begin=125
            end=175
            image="units/elves-wood/hunter-sword-4.png"
        [/frame]
        [frame]
            begin=175
            end=200
            image="units/elves-wood/hunter.png"
        [/frame]
    [/attack_anim]
    [female]
        name= _ "female^Elvish Hunter"
        gender=female
        image="units/elves-wood/hunter+female.png"
        die_sound={SOUND_LIST:ELF_FEMALE_HIT}
        {DEFENSE_ANIM_RANGE "units/elves-wood/hunter+female-sword-defend.png" "units/elves-wood/hunter+female.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
        {DEFENSE_ANIM_RANGE "units/elves-wood/hunter+female-ranged-defend.png" "units/elves-wood/hunter+female-ranged-4.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
        [attack_anim]
            [filter_attack]
                name=bolas
            [/filter_attack]
            [frame]
                image="units/elves-wood/hunter+female-ranged-1.png"
            [/frame]
            [if]
                [frame]
                    image="units/elves-wood/hunter+female-ranged-2.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/elves-wood/hunter+female-ranged-2.png"
                [/frame]
            [/else]
            [frame]
                image="units/elves-wood/hunter+female-ranged-3.png"
            [/frame]
            [frame]
                image="units/elves-wood/hunter+female-ranged-4.png"
            [/frame]
            [frame]
                image="units/elves-wood/hunter+female-ranged-4.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            [frame]
                image="units/elves-wood/hunter+female.png"
            [/frame]
            [frame]
                image="units/elves-wood/hunter+female-sword-1.png"
            [/frame]
            [if]
                [frame]
                    image="units/elves-wood/hunter+female-sword-2.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/elves-wood/hunter+female-sword-2.png"
                [/frame]
            [/else]
            [frame]
                image="units/elves-wood/hunter+female-sword-3.png"
            [/frame]
            [frame]
                image="units/elves-wood/hunter+female-sword-4.png"
            [/frame]
            [frame]
                image="units/elves-wood/hunter+female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Elvish Prowler
    name= _ "Elvish Prowler"
    race=elf
    gender=male,female
    image="units/elves-wood/prowler.png"
    hitpoints=54
    movement_type=woodland
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=60
    usage=mixed fighter
    [abilities]
        {ABILITY_SKIRMISHER}
        {ABILITY_AMBUSH}
    [/abilities]
    [movement_costs]
        cave=2
    [/movement_costs]
    # These guys have a better defense in swamp water and sands
    [defense]
        swamp_water=60
        cave=50
        mountains=30
        hills=40
        sand=60
    [/defense]
    description= _ "The best hunters are renowned for their skill in taking advantage of their surroundings to sneak past enemies unnoticed and strike at them by surprise. It is not unusual for incursion parties to be either disbanded or decimated by patrol teams led by a few veteran prowlers."
    die_sound={SOUND_LIST:ELF_HIT}
    {DEFENSE_ANIM "units/elves-wood/prowler.png" "units/elves-wood/prowler.png" {SOUND_LIST:ELF_HIT} }
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        type=blade
        range=melee
        damage=9
        number=4
        icon=attacks/sword-elven.png
    [/attack]
    [attack]
        name=bolas
        description= _"bolas"
        type=impact
        range=ranged
        damage=12
        number=2
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=bolas
        [/filter_attack]
        {MISSILE_FRAME_BOLAS}
        [if]
            hits=yes
            [frame]
                begin=-300
                end=-200
                #image=units/elves-desert/prowler-ranged-1.png
                image="units/elves-wood/prowler.png"
                sound=hatchet.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-300
                end=-200
                #image=units/elves-desert/prowler-ranged-1.png
                image="units/elves-wood/prowler.png"
                sound=hatchet-miss.wav
            [/frame]
        [/else]
        [frame]
            begin=-200
            end=-100
            #image=units/elves-desert/prowler-ranged-2.png
            image="units/elves-wood/prowler.png"
        [/frame]
        [frame]
            begin=-100
            end=0
            #image=units/elves-desert/prowler-ranged-3.png
            image="units/elves-wood/prowler.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            #image="units/elves-wood/prowler-sword-1.png"
            image="units/elves-wood/prowler.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                #image="units/elves-wood/prowler-sword-2.png"
                image="units/elves-wood/prowler.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                #image="units/elves-wood/prowler-sword-2.png"
                image="units/elves-wood/prowler.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
    [female]
        name= _ "female^Elvish Prowler"
        gender=female
        image="units/elves-wood/prowler+female.png"
        die_sound={SOUND_LIST:ELF_FEMALE_HIT}
        {DEFENSE_ANIM "units/elves-wood/prowler+female.png" "units/elves-wood/prowler+female.png" {SOUND_LIST:ELF_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=bolas
            [/filter_attack]
            [if]
                [frame]
                    #image=units/elves-desert/prowler-ranged-1.png
                    image="units/elves-wood/prowler+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image=units/elves-desert/prowler-ranged-1.png
                    image="units/elves-wood/prowler+female.png"
                [/frame]
            [/else]
            [frame]
                #image=units/elves-desert/prowler-ranged-2.png
                image="units/elves-wood/prowler+female.png"
            [/frame]
            [frame]
                image="units/elves-wood/prowler+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            [frame]
                #image="units/elves-wood/prowler+female-sword-1.png"
                image="units/elves-wood/prowler+female.png"
            [/frame]
            [if]
                [frame]
                    #image="units/elves-wood/prowler+female-sword-2.png"
                    image="units/elves-wood/prowler+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image="units/elves-wood/prowler+female-sword-2.png"
                    image="units/elves-wood/prowler+female.png"
                [/frame]
            [/else]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Elvish Trapper
    name= _ "Elvish Trapper"
    race=elf
    gender=male,female
    image="units/elves-wood/trapper.png"
    hitpoints=43
    movement_type=woodland
    movement=6
    experience=84
    level=2
    alignment=neutral
    advances_to=Elvish Prowler
    cost=34
    usage=mixed fighter
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
    [movement_costs]
        cave=2
    [/movement_costs]
    # These guys have a better defense in swamp water and sands
    [defense]
        swamp_water=60
        cave=50
        mountains=30
        hills=40
        sand=60
    [/defense]
    description= _ "Field experience has granted Elvish Trappers greater expertise in patrolling and defending their bases, utilizing decoys and swift moves to confound their enemies and attack them from behind. Their continuous training in swordplay also begins to prove advantageous, allowing them to operate better on their own."
    die_sound={SOUND_LIST:ELF_HIT}
    {DEFENSE_ANIM "units/elves-wood/trapper.png" "units/elves-wood/trapper.png" {SOUND_LIST:ELF_HIT} }
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        type=blade
        range=melee
        damage=7
        number=4
        icon=attacks/sword-elven.png
    [/attack]
    [attack]
        name=bolas
        description= _"bolas"
        type=impact
        range=ranged
        damage=8
        number=2
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=bolas
        [/filter_attack]
        {MISSILE_FRAME_BOLAS}
        [if]
            hits=yes
            [frame]
                begin=-300
                end=-200
                #image=units/elves-desert/trapper-ranged-1.png
                image="units/elves-wood/trapper.png"
                sound=hatchet.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-300
                end=-200
                #image=units/elves-desert/trapper-ranged-1.png
                image="units/elves-wood/trapper.png"
                sound=hatchet-miss.wav
            [/frame]
        [/else]
        [frame]
            begin=-200
            end=-100
            #image=units/elves-desert/trapper-ranged-2.png
            image="units/elves-wood/trapper.png"
        [/frame]
        [frame]
            begin=-100
            end=0
            #image=units/elves-desert/trapper-ranged-3.png
            image="units/elves-wood/trapper.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            #image="units/elves-wood/trapper-sword-1.png"
            image="units/elves-wood/trapper.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                #image="units/elves-wood/trapper-sword-2.png"
                image="units/elves-wood/trapper.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                #image="units/elves-wood/trapper-sword-2.png"
                image="units/elves-wood/trapper.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
    [female]
        name= _ "female^Elvish Trapper"
        gender=female
        image="units/elves-wood/trapper+female.png"
        die_sound={SOUND_LIST:ELF_FEMALE_HIT}
        {DEFENSE_ANIM "units/elves-wood/trapper+female.png" "units/elves-wood/trapper+female.png" {SOUND_LIST:ELF_FEMALE_HIT} }
        [attack_anim]
            [filter_attack]
                name=bolas
            [/filter_attack]
            [if]
                [frame]
                    #image=units/elves-desert/trapper-ranged-1.png
                    image="units/elves-wood/trapper+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image=units/elves-desert/trapper-ranged-1.png
                    image="units/elves-wood/trapper+female.png"
                [/frame]
            [/else]
            [frame]
                #image=units/elves-desert/trapper-ranged-2.png
                image="units/elves-wood/trapper+female.png"
            [/frame]
            [frame]
                #image=units/elves-desert/trapper-ranged-3.png
                image="units/elves-wood/trapper+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            [frame]
                #image="units/elves-wood/trapper+female-sword-1.png"
                image="units/elves-wood/trapper+female.png"
            [/frame]
            [if]
                [frame]
                    #image="units/elves-wood/trapper+female-sword-2.png"
                    image="units/elves-wood/trapper+female.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    #image="units/elves-wood/trapper+female-sword-2.png"
                    image="units/elves-wood/trapper+female.png"
                [/frame]
            [/else]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Faerie Dryad
    name= _ "Dryad"
    race=faerie
    gender=female
    image="units/faeries/dryad.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    profile="portraits/elves/druid.png" # fits well IMO
    hitpoints=50
    movement_type=woodlandfaerie
    [resistance]
        fire=70
        cold=100
    [/resistance]
    movement=5
    level=3
    alignment=lawful
    experience=150
    advances_to=null
    {AMLA_DEFAULT}
    cost=60
    usage=archer
    description= _ "Dryads possess a closer affinity to their faerie nature than their brethren, yet at times exhibit a remarkable understanding of human nature. In fact, Dryads are more apt to engage the few travelers they meet in friendly conversation than seduce or murder them. Some elven scholars have proposed there exists a deeper connection between woodlandkind and humans as children of Earth; to many, this is unthinkable. For them, to even suggest such a connection between the violent, destructive humans and the ancient, illustrious elves constitutes heresy.

If there are those among the faerie with knowledge of this world’s beginnings, they do not share it, preferring instead to lead peaceful, modest lives. Nonetheless, the Dryads’ calm nature in no way means they are powerless. Their extensive knowledge of nature and its magical arts makes them a formidable opponent in any conflict."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries/dryad.png" "units/faeries/dryad.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/dryad.png" "units/faeries/dryad.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=fire aura
        description= _ "fire aura"
        icon=attacks/aura-fire.png
        type=fire
        range=melee
        damage=5
        number=5
    [/attack]
    [attack]
        name=mystic fire
        description= _ "mystic fire"
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=7
        number=6
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=fire aura
        [/filter_attack]
        {MELEE_FRAME_FIRE_AURA "units/faeries/dryad.png" "units/faeries/dryad.png" melee-fire.ogg}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=mystic fire
        [/filter_attack]

        start_time=-575
        [frame]
            duration=650
            image="units/faeries/dryad.png"
        [/frame]

        {MISSILE_FRAME_FAERIE_MYSTIC_FIRE}
        [if]
            hits=yes
            {BURST_FRAME_FAERIE_MYSTIC_FIRE}
        [/if]

        fire_sound_start_time=-525
        [fire_sound_frame]
            sound=fire.wav
        [/fire_sound_frame]
    [/attack_anim]

    [variation]
        variation_id=tara
        inherit=yes
        hide_help=yes
        image="units/faeries/dryad-tara.png"
        {DEFENSE_ANIM_RANGE "units/faeries/dryad-tara.png" "units/faeries/dryad-tara.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
        {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/dryad-tara.png" "units/faeries/dryad-tara.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }

        [attack_anim]
            [filter_attack]
                name=fire aura
            [/filter_attack]
            {MELEE_FRAME_FIRE_AURA "units/faeries/dryad-tara.png" "units/faeries/dryad-tara.png" melee-fire.ogg}
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=mystic fire
            [/filter_attack]
            [frame]
                image="units/faeries/dryad-tara.png"
            [/frame]
        [/attack_anim]
    [/variation]
[/unit_type]

# kate: indent-mode normal; encoding utf-8; space-indent on;


#textdomain wesnoth-Naia

[unit_type]
    id=Fire Faerie
    name= _ "Fire Faerie"
    race=faerie
    gender=female
    image="units/faeries/fire.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    profile="portraits/elves/druid.png" # fits well IMO
    hitpoints=38
    movement_type=woodlandfaerie
    [resistance]
        cold=100
    [/resistance]
    movement=5
    level=2
    alignment=lawful
    experience=90
    advances_to=Faerie Dryad,Faerie Spirit
    cost=42
    usage=archer
    description= _ "Forest faeries rarely take part in wars and conflicts, preferring instead to dance and frolic in their forest homes. They will, however, defend these to the death; to this end, the forest elves have proven allies of convenience. The elves themselves have long had respect for those with a close affinity with the Arcane Flame. It is due to this close relationship that faeries will sometimes be found by the elves’ side in times of great need.

The more experienced faeries possess an even greater mastery of the fire element, allowing them to hurl balls of raging fire at their enemies, or to ignite them with a single touch. Some are even said to eventually burn away their corporeal forms entirely, becoming a spirit born of the rage of the Flame."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries/fire.png" "units/faeries/fire.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/fire.png" "units/faeries/fire.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=fire aura
        description= _ "fire aura"
        icon=attacks/aura-fire.png
        type=fire
        range=melee
        damage=4
        number=4
    [/attack]
    [attack]
        name=mystic fire
        description= _ "mystic fire"
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=6
        number=5
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=fire aura
        [/filter_attack]
        {MELEE_FRAME_FIRE_AURA "units/faeries/fire.png" "units/faeries/fire.png" fire.wav}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=mystic fire
        [/filter_attack]

        start_time=-300
        [frame]
            image="units/faeries/fire.png:350"
        [/frame]

        {MISSILE_FRAME_FAERIE_MYSTIC_FIRE}
        [if]
            hits=yes
            {BURST_FRAME_FAERIE_MYSTIC_FIRE}
        [/if]

        {SOUND:HIT_AND_MISS flame-big.ogg flame-big-miss.ogg -300}
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Faerie Spirit
    name= _ "Forest Spirit"
    race=faerie
    gender=female
    image="units/faeries/spirit.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    hitpoints=45
    movement_type=undeadspirit
    movement=6
    level=3
    alignment=lawful
    experience=150
    advances_to=null
    {AMLA_DEFAULT}
    {TRAIT_SPIRIT}
    cost=60
    [abilities]
        {ABILITY_SYLVAN_SPARK}
    [/abilities]
    [defense]
        forest=30
    [/defense]
    [resistance]
        fire=80
        cold=90
    [/resistance]
    usage=archer
    description= _ "One of the greatest mysteries of life is the true nature of Faerie, a domain of existence beyond the grasp of mortal creatures and the source of a power said to predate Irdya’s creation by an immensurable eternity. Even though elves and faeries have an innate affinity to the mystical energy within, their ability to channel it is severely constrained by their attachment to the physical realm. Breaking free of those bindings and fully embracing the arcane flame is not without its drawbacks, however.

These faerie phantasms are occasionally seen aimlessly wandering the forests during the twilight. Their warped minds are no longer able to discern our reality from theirs, and only gradually fading memories keep them anchored to the domain of the living."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries/spirit.png" "units/faeries/spirit.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/spirit.png" "units/faeries/spirit.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=fire aura
        description= _ "fire aura"
        icon=attacks/aura-fire.png
        type=fire
        range=melee
        damage=6
        number=5
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack]
        name=mystic fire
        description= _ "mystic fire"
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=6
        number=5
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]

    [standing_anim]
        start_time=0
        blend_color=123,153,182
        blend_ratio="0.00~0.15:625,0.15~0.10:625,0.10~0.15:625,0.15~0.00:625"
        alpha="0.95~0.90:750,0.90~0.95:250,0.95~0.90:750,0.90~0.95:750"
        [frame]
            image="units/faeries/spirit.png:2500"
        [/frame]
    [/standing_anim]

    [attack_anim]
        [filter_attack]
            name=fire aura
        [/filter_attack]
        {MELEE_FRAME_FIRE_AURA "units/faeries/spirit.png" "units/faeries/spirit.png" melee-fire.ogg}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=mystic fire
        [/filter_attack]

        start_time=-575
        [frame]
            duration=650
            image="units/faeries/spirit.png"
        [/frame]

        {MISSILE_FRAME_FAERIE_MYSTIC_FIRE}
        [if]
            hits=yes
            {BURST_FRAME_FAERIE_MYSTIC_FIRE}
        [/if]

        fire_sound_start_time=-525
        [fire_sound_frame]
            sound=fire.wav
        [/fire_sound_frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Faerie Hamadryad
    name= _ "Hamadryad"
    race=faerie
    gender=female
    image="units/faeries/hamadryad.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    profile="portraits/elves/druid.png" # fits well IMO
    hitpoints=66
    movement_type=woodlandfaerie
    [resistance]
        impact=90
        fire=60
        cold=80
        arcane=90
    [/resistance]
    [movement_costs]
        unwalkable=1
    [/movement_costs]
    movement=6
    level=4
    alignment=neutral
    experience=200
    advances_to=null
    {AMLA_DEFAULT}
    cost=96
    [abilities]
        {ABILITY_TESTAMENT}
        {ABILITY_SYLVAN_SPARK}
    [/abilities]
    usage=mixed fighter
    description= _ "Elven lore tells of faerie creatures back in the Golden Age who achieved an even more intimate connection to the earth than their fellow dryads and forest phantoms, able to assume the shape of majestic trees and enjoy an exceedingly long, albeit solitary existence in the deepest forests of Irdya.

Despite the name, the “hamadryads” were rumored to have more in common with woses than their comparatively mundane sisters. Their command of nature was unparalleled and said to surpass even the mightiest sylphs of yore, instilling such awe into them that some elven communities revered them as protector deities. To defile the sanctity of their domain—be it with fire, bloodshed or the felling of healthy trees—was considered a sin beyond redemption.

Finding one of these mythical nymphs in humanoid form anywhere other than the heart of the forest is completely unheard of and would necessitate a magic disturbance of an unprecedented scale, or a highly improbable fluke."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries/hamadryad.png" "units/faeries/hamadryad.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/hamadryad.png" "units/faeries/hamadryad.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=suffocate
        description= _ "suffocate"
        icon=attacks/vines.png
        type=impact
        [specials]
            {WEAPON_SPECIAL_MARK}
        [/specials]
        range=melee
        damage=9
        number=3
    [/attack]
    [attack]
        name=ensnare
        description={I18N:ATTACK_ENSNARE}
        type=impact
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        damage=7
        number=5
        range=ranged
        icon=attacks/entangle.png
    [/attack]
    [attack]
        name=faerie fire
        description={I18N:ATTACK_FAERIE_FIRE}
        icon=attacks/faerie-fire.png
        type=arcane
        range=ranged
        damage=10
        number=5
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]

    [attack_anim]
        [filter_attack]
            name=suffocate
        [/filter_attack]

        start_time=-550
        #offset=0.0~-0.1:225,-0.1:125,-0.1~1.0:175,1.0:50,1.0~0.0:325
        offset=0.0~0.50:250,0.50~0.75:375,0.75~0.0:325
        [frame]
            image="units/faeries/hamadryad.png:725"
            halo="halo/elven/nature-halo[1~8].png"
        [/frame]

        {SOUND:HIT_AND_MISS mud-fist.ogg mud-fist-miss.ogg -400}
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=ensnare
        [/filter_attack]

        missile_start_time=-200
        [missile_frame]
            duration=250
            offset=1.0
            image="projectiles/entangle.png"
            image_diagonal="projectiles/entangle.png"
        [/missile_frame]

        start_time=-450
        [frame]
            image="units/faeries/hamadryad.png"
            halo="halo/elven/nature-halo[1~8].png:75"
            halo_x,halo_y=0,-12
        [/frame]

        attack_sound_start_time=-75
        [attack_sound_frame]
            sound=entangle.wav
        [/attack_sound_frame]
    [/attack_anim]

    [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/faeries/hamadryad.png"
            halo=halo/elven/faerie-fire-halo[1~7].png:75
            halo_x,halo_y=22,8
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Faerie Sprite
    name= _ "Sprite"
    race=faerie
    gender=female
    image="units/faeries/sprite.png"
    halo="halo/elven/shyde-stationary-halo[1~6].png:150"
    profile="portraits/elves/shaman.png" # fits well IMO
    hitpoints=25
    movement_type=woodlandfaerie
    movement=5
    level=1
    alignment=lawful
    experience=50
    advances_to=Fire Faerie
    cost=20
    usage=archer
    description= _ "To a creature of the forests, fire is a mortal enemy, yet to the Faerie Sprites, it is a weapon strangely antithetical to their wooded nature. Though not much is otherwise factually known about the Faerie race, rare as they are and despite their numbers having grown since the Fall, they have always been viewed as gentle, mischievous beings, if perhaps a little too apt to play with the hearts of men.

Travelers who have encountered them speak of beautiful elfin women clad in simple robes, their gossamer-thin wings glinting like jewels in starlight. Rare is the man — or woman — whose breath is not lost upon the sight of these beings, and neither are their advances spurned. Some awaken the next morning alone, and move on, only to find a child on their doorsteps months later. A more unlucky number never again see the light of day; they are often found dead, lying contentedly amongst the fallen leaves.

Yet despite their reputations, faeries are by no means evil. Perhaps it is their strange sense of impish humor that leads them to do these things, or perhaps something deeper in their nature."
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    {DEFENSE_ANIM_RANGE "units/faeries/sprite.png" "units/faeries/sprite.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
    {DEFENSE_ANIM_ELVEN_RANGE "units/faeries/sprite.png" "units/faeries/sprite.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
    [attack]
        name=fire aura
        description= _ "fire aura"
        icon=attacks/aura-fire.png
        type=fire
        range=melee
        damage=3
        number=3
    [/attack]
    [attack]
        name=mystic fire
        description= _ "mystic fire"
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=5
        number=4
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=fire aura
        [/filter_attack]
        {MELEE_FRAME_FIRE_AURA "units/faeries/sprite.png" "units/faeries/sprite.png" fire.wav}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=mystic fire
        [/filter_attack]

        start_time=-300
        [frame]
            image="units/faeries/sprite.png:350"
        [/frame]

        {MISSILE_FRAME_FAERIE_MYSTIC_FIRE}
        [if]
            hits=yes
            {BURST_FRAME_FAERIE_MYSTIC_FIRE}
        [/if]

        {SOUND:HIT_AND_MISS torch.ogg torch-miss.ogg -300}
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Ancient Banner
    name= _ "Ancient Banner"
    race=aragwaith
    image="units/human-aragwaithi/ancient-banner.png"
    image_icon="units/human-aragwaithi/ancient-banner.png~SCALE(72,72)"
    [abilities]
        {ABILITY_LEADERSHIP}
        {ABILITY_PROTECTION}
    [/abilities]
    [resistance]
        blade=80
        pierce=80
        impact=80
        fire=90
        cold=90
    [/resistance]
    hitpoints=58
    movement_type=aragwaithfoot
    movement=5
    experience=200
    level=4
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=90
    usage=fighter
    description= _ "TODO"
    {DEFENSE_ANIM "units/human-aragwaithi/ancient-banner.png" "units/human-aragwaithi/ancient-banner.png" {SOUND_LIST:HUMAN_HIT} }
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/ancient-banner.png" "units/human-aragwaithi/ancient-banner-n.png"}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        type=pierce
        range=melee
        damage=21
        number=2
    [/attack]
    [attack]
        name=scythe
        description= _ "scythe"
        icon=attacks/scythe.png
        type=blade
        range=melee
        damage=11
        number=4
    [/attack]
    {GENERIC_SPEAR_ANIM spear units/human-aragwaithi/ancient-banner.png}
    {GENERIC_SWORD_ANIM scythe units/human-aragwaithi/ancient-banner.png}
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Archer
    name= _ "Archer"
    race=aragwaith
    image="units/human-aragwaithi/archer.png"
    hitpoints=28
    movement_type=aragwaithfoot
    movement=5
    experience=38
    level=1
    alignment=neutral
    advances_to=Aragwaith Strongbow
    cost=15
    usage=archer
    description= _ "The Aragwaithi are a noble people, fragile in body, but their training makes them among the more deadly denizens of this world. Their archers are no exception. Their skills with a bow are comparable to those of some elves, and they are remarkably quick with their daggers."
    die_sound={SOUND_LIST:HUMAN_DIE}
    [standing_anim]
        direction=n,ne,nw
        start_time=0
        [frame]
            duration=100
            image="units/human-aragwaithi/archer-n.png"
        [/frame]
    [/standing_anim]
    [standing_anim]
        direction=s,se,sw
        start_time=0
        [frame]
            duration=100
            image="units/human-aragwaithi/archer.png"
        [/frame]
    [/standing_anim]
    [death]
        start_time=0
        [frame]
            duration=200
            image="units/human-aragwaithi/archer-die1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/archer-die2.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/archer-die3.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/archer-die4.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/archer-die5.png"
        [/frame]
    [/death]
    [defend]
        [filter_attack]
            range=ranged
        [/filter_attack]
        direction=n,ne,nw
        [frame]
            begin=-150
            end=-100
            image="units/human-aragwaithi/archer-bow-n.png"
        [/frame]
        [frame]
            begin=-100
            end=-50
            image="units/human-aragwaithi/archer-ranged-attack-4-n.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                begin=-50
                end=0
                image="units/human-aragwaithi/archer-ranged-attack-4-n.png"
                sound={SOUND_LIST:HUMAN_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/archer-ranged-attack-1-n.png"
            [/frame]
        [/else]
        [frame]
            begin=0
            end=150
            image="units/human-aragwaithi/archer-bow-n.png"
        [/frame]
    [/defend]
    [defend]
        [filter_attack]
            range=ranged
        [/filter_attack]
        direction=s,se,sw
        [frame]
            begin=-200
            end=-150
            image="units/human-aragwaithi/archer-defend1.png"
        [/frame]
        [frame]
            begin=-150
            end=-100
            image="units/human-aragwaithi/archer-defend2.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/archer-defend4.png"
                sound={SOUND_LIST:HUMAN_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/archer-defend4.png"
            [/frame]
        [/else]
        [frame]
            begin=0
            end=50
            image="units/human-aragwaithi/archer-defend5.png"
        [/frame]
        [frame]
            begin=50
            end=150
            image="units/human-aragwaithi/archer-bow.png"
        [/frame]
    [/defend]
    [defend]
        [filter_attack]
            range=melee
        [/filter_attack]
        [frame]
            begin=-200
            end=-150
            image="units/human-aragwaithi/archer-defend1.png"
        [/frame]
        [frame]
            begin=-150
            end=-100
            image="units/human-aragwaithi/archer-defend2.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/archer-defend3.png"
                sound={SOUND_LIST:HUMAN_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/archer-defend3.png"
            [/frame]
        [/else]
        [frame]
            begin=0
            end=50
            image="units/human-aragwaithi/archer-defend4.png"
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/human-aragwaithi/archer-defend5.png"
        [/frame]
        [if]
            direction=n,ne,nw
            [frame]
                begin=100
                end=150
                image="units/human-aragwaithi/archer-n.png"
            [/frame]
        [/if]
        [else]
            [frame]
                begin=100
                end=150
                image="units/human-aragwaithi/archer.png"
            [/frame]
        [/else]
    [/defend]
    [attack]
        name=dagger
        description={I18N:ATTACK_DAGGER}
        icon=attacks/dagger-human.png
        type=blade
        range=melee
        damage=4
        number=3
    [/attack]
    [attack]
        name=bow
        description={I18N:ATTACK_BOW}
        type=pierce
        range=ranged
        damage=5
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=dagger
        [/filter_attack]
        direction=n,nw,ne
        [frame]
            begin=-250
            end=-100
            image="units/human-aragwaithi/archer-attack1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/human-aragwaithi/archer-attack2.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/human-aragwaithi/archer-attack2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=50
            end=200
            image="units/human-aragwaithi/archer-attack3.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dagger
        [/filter_attack]
        direction=se,sw,s
        [frame]
            begin=-250
            end=-100
            image="units/human-aragwaithi/archer-attack1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/human-aragwaithi/archer-attack2.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/human-aragwaithi/archer-attack2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=50
            end=200
            image="units/human-aragwaithi/archer-attack3.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=s,se,sw
        start_time=-445
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            duration=65
            image="units/human-aragwaithi/archer-bow.png"
        [/frame]
        [frame]
            duration=75
            image="units/human-aragwaithi/archer-ranged-attack-1.png"
        [/frame]
        [frame]
            duration=75
            image="units/human-aragwaithi/archer-ranged-attack-2.png"
        [/frame]
        [if]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/archer-ranged-attack-3.png"
                sound=bow-miss.ogg
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/archer-ranged-attack-3.png"
                sound=bow.ogg
            [/frame]
        [/else]
        [frame]
            duration=130
            image="units/human-aragwaithi/archer-ranged-attack-4.png"
        [/frame]
        [frame]
            duration=65
            image="units/human-aragwaithi/archer-ranged-attack-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=n,ne,nw
        start_time=-445
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            duration=65
            image="units/human-aragwaithi/archer-bow-n.png"
        [/frame]
        [frame]
            duration=75
            image="units/human-aragwaithi/archer-ranged-attack-1-n.png"
        [/frame]
        [frame]
            duration=75
            image="units/human-aragwaithi/archer-ranged-attack-2-n.png"
        [/frame]
        [if]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/archer-ranged-attack-3-n.png"
                sound=bow-miss.ogg
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/archer-ranged-attack-3-n.png"
                sound=bow.ogg
            [/frame]
        [/else]
        [frame]
            duration=130
            image="units/human-aragwaithi/archer-ranged-attack-4-n.png"
        [/frame]
        [frame]
            duration=65
            image="units/human-aragwaithi/archer-ranged-attack-1-n.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Captain
    name= _ "Captain"
    race=aragwaith
    image="units/human-aragwaithi/captain.png"
    [abilities]
        {ABILITY_LEADERSHIP}
    [/abilities]
    [resistance]
        blade=90
        pierce=90
        impact=90
    [/resistance]
    hitpoints=55
    movement_type=aragwaithfoot
    movement=5
    experience=175
    level=3
    alignment=neutral
    advances_to=Aragwaith Ancient Banner
    cost=60
    usage=fighter
    description="" # wmllint: ignore
    {DEFENSE_ANIM "units/human-aragwaithi/captain-defend.png" "units/human-aragwaithi/captain.png" {SOUND_LIST:HUMAN_HIT} }
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=glaive-pierce
        description= _ "glaive"
        icon=attacks/glaive.png
        type=pierce
        range=melee
        damage=18
        number=2
    [/attack]
    [attack]
        name=glaive-blade
        description= _ "glaive"
        icon=attacks/glaive.png
        type=blade
        range=melee
        damage=10
        number=4
    [/attack]
    {GENERIC_SPEAR_ANIM glaive-pierce units/human-aragwaithi/captain.png}
    {GENERIC_SWORD_ANIM glaive-blade units/human-aragwaithi/captain.png}
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Eagle Master
    name= _ "Eagle Master"
    race=aragwaith
    image="units/human-aragwaithi/eagle-master.png"
    hitpoints=45
    movement_type=fly
    movement=9
    experience=100
    level=2
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    undead_variation=gryphon
    cost=35
    usage=scout
    description= _ "With experience, Eagle riders become more skilled and the relation with their winged friend become so strong that they act as one. As Eagle masters, they no longer need to give orders to their mounts, those anticipate them."
    {DEFENSE_ANIM "units/human-aragwaithi/eagle-master-attack.png" "units/human-aragwaithi/eagle-master-flying-8.png" {SOUND_LIST:GRYPHON_HIT} }
    die_sound={SOUND_LIST:GRYPHON_DIE}
    [defense]
        mountains=40
    [/defense]
    [attack]
        name=claws
        description={I18N:ATTACK_CLAWS}
        icon=attacks/claws-animal.png
        type=blade
        range=melee
        damage=10
        number=3
    [/attack]
    [attack]
        name=prey crush
        description= _ "prey crush"
        icon=attacks/blank-attack.png
        type=impact
        range=melee
        damage=16
        number=2
        [specials]
            {WEAPON_SPECIAL_ATTACK_ONLY}
        [/specials]
    [/attack]
    [standing_anim]
        start_time=0
        submerge=0.01
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-2.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-4.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-6.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-8.png"
        [/frame]
    [/standing_anim]
    [movement_anim]
        start_time=0
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-2.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-4.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-6.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-master-flying-8.png"
        [/frame]
    [/movement_anim]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        start_time=-500
        [frame]
            duration=50 # end @ -450
            image="units/human-aragwaithi/eagle-master-flying-8.png"
            offset=0.0~-0.2
        [/frame]
        [frame]
            duration=200 # end @ -250
            image="units/human-aragwaithi/eagle-master-attack.png"
            offset=-0.2~-1.0
        [/frame]
        [frame]
            duration=150 # -100
            image="units/human-aragwaithi/eagle-master-attack.png"
            offset=-1.0~0.0
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-master-attack.png"
                sound=claws.ogg
                offset=0.0~1.25
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-master-attack.png"
                sound={SOUND_LIST:MISS}
                offset=0.0~1.25
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-master-attack.png"
            offset=1.25~0.75
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-master-flying-8.png"
            offset=0.75~0.0
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=prey crush
        [/filter_attack]
        start_time=-500
        [frame]
            duration=50 # end @ -450
            image="units/human-aragwaithi/eagle-master-flying-8.png"
            offset=0.0~-0.2
        [/frame]
        [frame]
            duration=200 # end @ -250
            image="units/human-aragwaithi/eagle-master-attack-crush.png"
            offset=-0.2~-1.0
        [/frame]
        [frame]
            duration=150 # -100
            image="units/human-aragwaithi/eagle-master-attack-crush.png"
            offset=-1.0~0.0
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-master-attack-crush.png"
                sound=fist.ogg
                offset=0.0~1.25
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-master-attack-crush.png"
                sound={SOUND_LIST:MISS}
                offset=0.0~1.25
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-master-attack.png"
            offset=1.25~0.75
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-master-flying-8.png"
            offset=0.75~0.0
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Eagle Rider
    name= _ "Eagle Rider"
    race=aragwaith
    image="units/human-aragwaithi/eagle-rider.png"
    hitpoints=34
    movement_type=fly
    movement=9
    experience=36
    level=1
    alignment=neutral
    advances_to=Aragwaith Eagle Master
    undead_variation=mounted
    cost=23
    usage=scout
    description= _ "Some Aragwaithi youths take young eagles as a pet. These are not the common eagles, but a race of noble, giant birds of prey. When they are grown enough, they usually willing to serve as a mount for their best friend, and their young mates learn the art of riding these giant birds."
    die_sound={SOUND_LIST:GRYPHON_DIE}
    {DEFENSE_ANIM "units/human-aragwaithi/eagle-rider-attack.png" "units/human-aragwaithi/eagle-rider-flying-8.png" {SOUND_LIST:GRYPHON_HIT} }
    [attack]
        name=claws
        description={I18N:ATTACK_CLAWS}
        icon=attacks/claws-animal.png
        type=blade
        range=melee
        damage=6
        number=3
    [/attack]
    [attack]
        name=prey crush
        description= _ "prey crush"
        icon=attacks/blank-attack.png
        type=impact
        range=melee
        damage=12
        number=2
        [specials]
            {WEAPON_SPECIAL_ATTACK_ONLY}
        [/specials]
    [/attack]
    [standing_anim]
        start_time=0
        submerge=0.01
        layer=55
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-2.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-4.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-6.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
        [/frame]
    [/standing_anim]
    [movement_anim]
        start_time=0
        layer=55
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-2.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-1and3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-4.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-6.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-5and7.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
        [/frame]
    [/movement_anim]
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        start_time=-500
        [frame]
            duration=50 # end @ -450
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
            offset=0.0~-0.2
        [/frame]
        [frame]
            duration=200 # end @ -250
            image="units/human-aragwaithi/eagle-rider-attack.png"
            offset=-0.2~-1.0
        [/frame]
        [frame]
            duration=150 # -100
            image="units/human-aragwaithi/eagle-rider-attack.png"
            offset=-1.0~0.0
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-rider-attack.png"
                sound=claws.ogg
                offset=0.0~1.25
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-rider-attack.png"
                sound={SOUND_LIST:MISS}
                offset=0.0~1.25
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-rider-attack.png"
            offset=1.25~0.75
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
            offset=0.75~0.0
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=prey crush
        [/filter_attack]
        start_time=-500
        [frame]
            duration=50 # end @ -450
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
            offset=0.0~-0.2
        [/frame]
        [frame]
            duration=200 # end @ -250
            image="units/human-aragwaithi/eagle-rider-attack-crush.png"
            offset=-0.2~-1.0
        [/frame]
        [frame]
            duration=150 # -100
            image="units/human-aragwaithi/eagle-rider-attack-crush.png"
            offset=-1.0~0.0
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-rider-attack-crush.png"
                sound=fist.ogg
                offset=0.0~1.25
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/eagle-rider-attack-crush.png"
                sound={SOUND_LIST:MISS}
                offset=0.0~1.25
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-rider-attack.png"
            offset=1.25~0.75
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/eagle-rider-flying-8.png"
            offset=0.75~0.0
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Flagbearer
    name= _ "Flagbearer"
    race=aragwaith
    image="units/human-aragwaithi/flagbearer.png"
    hitpoints=45
    [abilities]
        {ABILITY_LEADERSHIP}
    [/abilities]
    [resistance]
        blade=90
    [/resistance]
    movement_type=aragwaithfoot
    movement=5
    experience=100
    level=2
    alignment=neutral
    advances_to=Aragwaith Captain
    cost=40
    usage=fighter
    description= _ "Flagbearers are the leaders on the battlefield. They wield large banners to lead and inspire the soldiers. They are also skilled with the glaive, which makes them dangerous in combat too."
    {DEFENSE_ANIM "units/human-aragwaithi/flagbearer-defend.png" "units/human-aragwaithi/flagbearer.png" {SOUND_LIST:HUMAN_HIT} }

    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/flagbearer.png" "units/human-aragwaithi/flagbearer-n.png"}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=glaive-stab
        description= _ "glaive"
        icon=attacks/glaive.png
        type=pierce
        range=melee
        damage=13
        number=2
    [/attack]
    [attack]
        name=glaive-slash
        description= _ "glaive"
        icon=attacks/glaive.png
        type=blade
        range=melee
        damage=7
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=glaive-stab
        [/filter_attack]
        direction=n
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-n-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-n-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-n-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-n-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-stab
        [/filter_attack]
        direction=ne,nw
        start_time=-100
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-ne.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-ne.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-stab
        [/filter_attack]
        direction=s
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-s-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-s-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-s-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-s-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-stab
        [/filter_attack]
        direction=se,sw
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-se-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-se-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-se-1.png"
        [/frame]
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=glaive-slash
        [/filter_attack]
        direction=n
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-n-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-n-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-n-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-n-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-slash
        [/filter_attack]
        direction=ne,nw
        start_time=-100
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-ne.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-ne.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-slash
        [/filter_attack]
        direction=s
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-s-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-s-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-s-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-s-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive-slash
        [/filter_attack]
        direction=se,sw
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-se-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/flagbearer-attack-se-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/flagbearer-attack-se-1.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Greatbow
    name= _ "Greatbow"
    race=aragwaith
    image="units/human-aragwaithi/greatbow.png"
    hitpoints=46
    movement_type=aragwaithfoot
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=45
    usage=archer
    description= _ "Finally moving on from the dirk and dagger to the sword, the Greatbows are superior to the Strongbows in melee combat, although not as much as the Slayers. Their bows are masterpieces of military craftsmanship, designed and built by their users to their own particular requirements over the span of several months. Due to the large strength required to draw these bows, any person other than the owner trying to use them could suffer serious injuries."
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-melee-draw-2.png" "units/human-aragwaithi/greatbow-defend.png" {SOUND_LIST:HUMAN_HIT} (range=melee)}
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-bow.png" "units/human-aragwaithi/greatbow-bow.png" {SOUND_LIST:HUMAN_HIT} (range=ranged
    direction=sw,s,se)}
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-bow-n.png" "units/human-aragwaithi/greatbow-bow-n.png" {SOUND_LIST:HUMAN_HIT} (range=ranged
    direction=nw,n,ne)}
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/greatbow.png" "units/human-aragwaithi/greatbow-n.png"}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=10
        number=3
    [/attack]
    [attack]
        name=bow
        description={I18N:ATTACK_BOW}
        icon=attacks/bow-elven.png
        type=pierce
        range=ranged
        damage=12
        number=4
        [specials]
            {WEAPON_SPECIAL_PRECISION}
        [/specials]
    [/attack]
    [draw_weapon_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=0

        [frame]
            duration=200
            image="units/human-aragwaithi/greatbow-melee-draw-1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/greatbow-melee-draw-2.png"
        [/frame]
    [/draw_weapon_anim]
    [sheath_weapon_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=0

        [frame]
            duration=200
            image="units/human-aragwaithi/greatbow-melee-draw-2.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/greatbow-melee-draw-1.png"
        [/frame]
    [/sheath_weapon_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-200

        [frame]
            duration=50
            image="units/human-aragwaithi/greatbow-melee-draw-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/greatbow-melee-attack-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-melee-attack-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-melee-attack-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/greatbow-melee-attack-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/greatbow-melee-attack-4.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=sw,s,se

        start_time=-450
        missile_start_time=-150

        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/greatbow-1.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/greatbow-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-3.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-3.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/greatbow-bow.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=sw,n,ne

        start_time=-450
        missile_start_time=-150

        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/greatbow-1.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/greatbow-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-3.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-3.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/greatbow-bow-n.png"
        [/frame]
    [/attack_anim]
    [variation]
        variation_id=unhooded
        inherit=yes
        hide_help=yes
        image="units/human-aragwaithi/greatbow-alt.png"
        {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-melee-draw-2.png" "units/human-aragwaithi/greatbow-defend.png" {SOUND_LIST:HUMAN_HIT} (range=melee)}
        {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-bow-alt.png" "units/human-aragwaithi/greatbow-bow-alt.png" {SOUND_LIST:HUMAN_HIT} (range=ranged
        direction=sw,s,se)}
        {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/greatbow-bow-n-alt.png" "units/human-aragwaithi/greatbow-bow-n-alt.png" {SOUND_LIST:HUMAN_HIT} (range=ranged
        direction=nw,n,ne)}
        {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/greatbow-alt.png" "units/human-aragwaithi/greatbow-n-alt.png"}
        [draw_weapon_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            start_time=0

            [frame]
                duration=200
                image="units/human-aragwaithi/greatbow-melee-draw-1-alt.png"
            [/frame]
            [frame]
                duration=200
                image="units/human-aragwaithi/greatbow-melee-draw-2-alt.png"
            [/frame]
        [/draw_weapon_anim]
        [sheath_weapon_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            start_time=0

            [frame]
                duration=200
                image="units/human-aragwaithi/greatbow-melee-draw-2-alt.png"
            [/frame]
            [frame]
                duration=200
                image="units/human-aragwaithi/greatbow-melee-draw-1-alt.png"
            [/frame]
        [/sheath_weapon_anim]
        [attack_anim]
            [filter_attack]
                name=sword
            [/filter_attack]
            start_time=-200

            [frame]
                duration=50
                image="units/human-aragwaithi/greatbow-melee-draw-2-alt.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-melee-attack-1-alt.png"
            [/frame]
            [if]
                hits=yes
                [frame]
                    duration=100
                    image="units/human-aragwaithi/greatbow-melee-attack-2-alt.png"
                    sound={SOUND_LIST:SWORD_SWISH}
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    duration=100
                    image="units/human-aragwaithi/greatbow-melee-attack-2-alt.png"
                    sound={SOUND_LIST:MISS}
                [/frame]
            [/else]
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-melee-attack-3-alt.png"
            [/frame]
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-melee-attack-4-alt.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=bow
            [/filter_attack]
            direction=sw,s,se

            start_time=-450
            missile_start_time=-150

            [missile_frame]
                duration=150
                image="projectiles/missile-n.png"
                image_diagonal="projectiles/missile-ne.png"
            [/missile_frame]
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-1-alt.png"
            [/frame]
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-2-alt.png"
            [/frame]
            [if]
                hits=yes
                [frame]
                    duration=150
                    image="units/human-aragwaithi/greatbow-3-alt.png"
                    sound=bow.ogg
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    duration=150
                    image="units/human-aragwaithi/greatbow-3-alt.png"
                    sound=bow-miss.ogg
                [/frame]
            [/else]
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-bow-alt.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=bow
            [/filter_attack]
            direction=sw,n,ne

            start_time=-450
            missile_start_time=-150

            [missile_frame]
                duration=150
                image="projectiles/missile-n.png"
                image_diagonal="projectiles/missile-ne.png"
            [/missile_frame]
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-1-alt.png"
            [/frame]
            [frame]
                duration=150
                image="units/human-aragwaithi/greatbow-2-alt.png"
            [/frame]
            [if]
                hits=yes
                [frame]
                    duration=150
                    image="units/human-aragwaithi/greatbow-3-alt.png"
                    sound=bow.ogg
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    duration=150
                    image="units/human-aragwaithi/greatbow-3-alt.png"
                    sound=bow-miss.ogg
                [/frame]
            [/else]
            [frame]
                duration=100
                image="units/human-aragwaithi/greatbow-bow-n-alt.png"
            [/frame]
        [/attack_anim]
    [/variation]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Guard
    name= _ "Guard"
    race=aragwaith
    image="units/human-aragwaithi/guard.png"
    hitpoints=54
    movement_type=aragwaithfoot
    [abilities]
        {ABILITY_STEADFAST}
    [/abilities]
    [resistance]
        pierce=90
        blade=80
        impact=90
    [/resistance]
    movement=4
    experience=74
    level=2
    alignment=lawful
    advances_to=Aragwaith Shield Guard
    cost=27
    usage=fighter
    description= _ "Chosen from among the toughest Swordsmen, Aragwaith Guards opt to forgo their mobility in favor of the advantages that armor brings to their survivability. Whether posted to ceremonial units during times of peace, or to the battlefield during war, their role is always the same: defending their country’s nobility."

    {DEFENSE_ANIM "units/human-aragwaithi/guard-defend-1.png" "units/human-aragwaithi/guard.png" {SOUND_LIST:HUMAN_HIT} }
    {DEFENSE_ANIM "units/human-aragwaithi/guard-defend-2.png" "units/human-aragwaithi/guard.png" {SOUND_LIST:HUMAN_HIT} }
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/guard.png" "units/human-aragwaithi/guard-n.png"}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon=attacks/greatsword-human.png
        type=blade
        range=melee
        damage=11
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        direction=s
        start_time=-100
        [if]
            hits=yes
            [frame]
                duration=150
                image="units/human-aragwaithi/guard-attack-1-s.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=150
                image="units/human-aragwaithi/guard-attack-1-s.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/guard-attack-2.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        # TODO
        direction=se,sw,ne,nw,n
        start_time=-150
        [frame]
            duration=50
            image="units/human-aragwaithi/guard-attack-1.png"
        [/frame]
        [frame]
            duration=50
            image="units/human-aragwaithi/guard-attack-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=75
                image="units/human-aragwaithi/guard-attack-3.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=75
                image="units/human-aragwaithi/guard-attack-3.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=75
            image="units/human-aragwaithi/guard-defend-2.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Guardian
    name= _ "Guardian"
    race=aragwaith
    image="units/human-aragwaithi/guardian.png"
    hitpoints=62
    movement_type=aragwaithfoot
    movement=5
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=51
    usage=fighter
    description="" # wmllint: ignore
    {DEFENSE_ANIM "units/human-aragwaithi/guardian-defend.png" "units/human-aragwaithi/guardian.png" {SOUND_LIST:HUMAN_HIT} }
    die_sound={SOUND_LIST:HUMAN_DIE}
    [resistance]
        blade=80
        pierce=80
        impact=90
    [/resistance]
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        icon=attacks/spear.png
        type=pierce
        range=melee
        damage=24
        number=2
        [specials]
            {WEAPON_SPECIAL_FIRSTSTRIKE}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=n
        start_time=-300
        [frame]
            duration=200
            image="units/human-aragwaithi/guardian.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/guardian.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=ne,nw
        start_time=-300
        [frame]
            duration=200
            image="units/human-aragwaithi/guardian.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/guardian.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=s
        start_time=-300
        [frame]
            duration=200
            image="units/human-aragwaithi/guardian.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/guardian.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=se,sw
        start_time=-300
        [frame]
            duration=200
            image="units/human-aragwaithi/guardian-attack-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian-attack-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/guardian-attack-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/guardian-attack-1.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Lancer
    name= _ "Lancer"
    race=aragwaith
    image="units/human-aragwaithi/lancer.png"
    hitpoints=48
    movement_type=aragwaithmounted
    movement=8
    experience=80
    level=2
    alignment=neutral
    gender=male,female
    advances_to=Aragwaith Silver Shield
    undead_variation=mounted
    cost=34
    usage=scout
    die_sound=horse-die.ogg
    [defend]
        start_time=-150
        [frame]
            duration=100
            image="units/human-aragwaithi/lancer.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                duration=100
                image="units/human-aragwaithi/lancer-defend.png"
                sound={SOUND_LIST:HORSE_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                duration=100
                image="units/human-aragwaithi/lancer-defend.png"
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/lancer-defend.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/lancer.png"
        [/frame]
    [/defend]
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        type=pierce
        range=melee
        damage=11
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=n
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/lancer.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=ne,nw
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/lancer.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=s,se,sw
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/lancer-moving.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer-moving.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/lancer-moving.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [female]
        gender=female
        name= _ "female^Lancer"
        image="units/human-aragwaithi/lancer-female.png"
        [death]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
        [/death]
        [defend]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-defend-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-defend-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-defend-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-defend-female.png"
            [/frame]
        [/defend]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            direction=n
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            direction=ne,nw
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            direction=s,se,sw
            [frame]
                image="units/human-aragwaithi/lancer-moving-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-moving-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/lancer-moving-female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]