#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Longswordsman
    name= _ "Longswordsman"
    race=aragwaith
    image="units/human-aragwaithi/longswordsman.png"
    hitpoints=46
    movement_type=aragwaithfoot
    movement=6
    experience=88
    level=2
    alignment=neutral
    advances_to=Aragwaith Swordsmaster
    cost=27
    usage=fighter
    description= _ "While Aragwaithi Swordsmen seem uncannily skilled to blade-wielders of other races, the Aragwaithi reserve their own admiration for Longswordsmen. These warriors have become so adept at the arts of thrust and parry that they have adopted a longer blade than the Swordsmen, yet they are able to wield it with equal grace and skill."
    die_sound={SOUND_LIST:HUMAN_DIE}
    [resistance]
        blade=90
    [/resistance]
    {DEFENSE_ANIM "units/human-aragwaithi/longswordsman-defend-2.png" "units/human-aragwaithi/longswordsman-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=long-sword
        description={I18N:ATTACK_LONGSWORD}
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=9
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=long-sword
        [/filter_attack]
        [frame]
            begin=-400
            end=-300
            image="units/human-aragwaithi/longswordsman-attack-1.png"
        [/frame]
        [frame]
            begin=-300
            end=-100
            image="units/human-aragwaithi/longswordsman-attack-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/longswordsman-attack-3.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/longswordsman-attack-3.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/longswordsman-attack-4.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Pikeman
    name= _ "Pikeman"
    race=aragwaith
    image="units/human-aragwaithi/pikeman.png"
    hitpoints=50
    movement_type=aragwaithfoot
    movement=5
    experience=70
    level=2
    alignment=neutral
    advances_to=Aragwaith Guardian
    cost=28
    usage=fighter
    description="" # wmllint: ignore
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/pikeman-defend.png" "units/human-aragwaithi/pikeman.png" {SOUND_LIST:HUMAN_HIT} (direction=s,se,sw)}
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/pikeman-attack-n-1.png" "units/human-aragwaithi/pikeman-n.png" {SOUND_LIST:HUMAN_HIT} (direction=n,ne,nw)}
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/pikeman.png" "units/human-aragwaithi/pikeman-n.png"}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [resistance]
        blade=90
        pierce=80
    [/resistance]
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        icon=attacks/spear.png
        type=pierce
        range=melee
        damage=16
        number=2
        [specials]
            {WEAPON_SPECIAL_FIRSTSTRIKE}
        [/specials]
    [/attack]
    [death]
        start_time=0
        [frame]
            duration=200
            image="units/human-aragwaithi/pikeman-die1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/pikeman-die2.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/pikeman-die3.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/pikeman-die4.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/pikeman-die5.png"
        [/frame]
    [/death]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=n
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/pikeman-attack-n-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/pikeman-attack-n-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/pikeman-attack-n-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/pikeman-attack-n-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=ne,nw
        start_time=-200
        [frame]
            duration=150
            image="units/human-aragwaithi/pikeman-attack-ne.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=150
                image="units/human-aragwaithi/pikeman-attack-ne.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=150
                image="units/human-aragwaithi/pikeman-attack-ne.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=s
        start_time=-150
        [frame]
            duration=100
            image="units/human-aragwaithi/pikeman-attack-s-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/pikeman-attack-s-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/pikeman-attack-s-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/pikeman-attack-s-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=se,sw
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/pikeman.png"
        [/frame]
        [frame]
            duration=50
            image="units/human-aragwaithi/pikeman-attack-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/pikeman-attack-se-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/pikeman-attack-se-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/pikeman.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Scout
    name= _ "Scout"
    race=aragwaith
    image="units/human-aragwaithi/scout.png"
    hitpoints=36
    movement_type=aragwaithmounted
    movement=8
    experience=40
    level=1
    gender=male,female
    alignment=neutral
    advances_to=Aragwaith Lancer
    undead_variation=mounted
    cost=18
    usage=scout
    die_sound=horse-die.ogg
    {DEFENSE_ANIM "units/human-aragwaithi/scout.png" "units/human-aragwaithi/scout-defend.png" {SOUND_LIST:HORSE_HIT} }
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        type=pierce
        range=melee
        damage=11
        number=2
    [/attack]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/scout-moving.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/scout-moving.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/scout-moving.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=250
            image="units/human-aragwaithi/scout.png"
        [/frame]
    [/attack_anim]
    [female]
        gender=female
        name= _ "female^Scout"
        image="units/human-aragwaithi/scout-female.png"
        {DEFENSE_ANIM "units/human-aragwaithi/scout-female.png" "units/human-aragwaithi/scout-female-defend.png" {SOUND_LIST:HORSE_HIT} }
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            [frame]
                image="units/human-aragwaithi/scout-female-moving.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/scout-female-moving.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/scout-female-moving.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/scout-female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Shield Guard
    name= _ "Shield Guard"
    race=aragwaith
    image="units/human-aragwaithi/shield-guard.png"
    hitpoints=66
    movement_type=aragwaithfoot
    [abilities]
        {ABILITY_PROTECTION}
        {ABILITY_STEADFAST}
    [/abilities]
    [resistance]
        pierce=80
        impact=90
        blade=80
    [/resistance]
    movement=4
    experience=150
    level=3
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    cost=45
    usage=fighter
    description= _ "These warriors wear the old shields of their ancients. These ancients could hold the line in the great battles until the reinforcements arrived, but they paid a high price, not many survived the battle and many others died through their strong wounds. Now only the best warriors are allowed to carry these ancient shields to remind the world and to honor these brave man and their sacrifice."
    {DEFENSE_ANIM "units/human-aragwaithi/shield-guard.png" "units/human-aragwaithi/shield-guard.png" {SOUND_LIST:HUMAN_HIT} }
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon=attacks/greatsword-human.png
        type=blade
        range=melee
        damage=15
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=yes
        direction=n,ne
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:SWORD_SWISH}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=no
        direction=n,ne
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:MISS}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=yes
        direction=e,se
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:SWORD_SWISH}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=no
        direction=e,se
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:MISS}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=yes
        direction=s,sw
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:SWORD_SWISH}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        hits=no
        direction=s,sw
        [frame]
            begin=-100
            end=0
            image="units/human-aragwaithi/shield-guard.png"
            sound={SOUND_LIST:MISS}
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/shield-guard.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Silver Shield
    name= _ "Silver Shield"
    race=aragwaith
    image="units/human-aragwaithi/silver-shield.png"
    hitpoints=62
    movement_type=aragwaithmounted
    movement=9
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    undead_variation=mounted
    gender=male,female
    cost=48
    usage=scout
    {DEFENSE_ANIM "units/human-aragwaithi/silver-shield-defend.png" "units/human-aragwaithi/silver-shield.png" {SOUND_LIST:HORSE_HIT}}
    die_sound=horse-die.ogg
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        type=pierce
        range=melee
        damage=12
        number=4
    [/attack]
    [movement_anim]
        [frame]
            begin=0
            end=150
            image="units/human-aragwaithi/silver-shield-moving.png"
        [/frame]
    [/movement_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=yes
        direction=n
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=no
        direction=n
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear-miss.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=yes
        direction=ne,nw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=no
        direction=ne,nw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear-miss.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=yes
        direction=s
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=no
        direction=s
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear-miss.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=yes
        direction=se,sw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear.ogg
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        hits=no
        direction=se,sw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/silver-shield.png"
            sound=horse-canter.wav
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/silver-shield-moving.png"
            sound=spear-miss.ogg
        [/frame]
    [/attack_anim]
    [female]
        name= _ "female^Silver Shield"
        image="units/human-aragwaithi/silver-shield-female.png"
        gender=female
        {DEFENSE_ANIM "units/human-aragwaithi/silver-shield-defend-female.png" "units/human-aragwaithi/silver-shield-female.png" {SOUND_LIST:HORSE_HIT}}
        die_sound=horse-die.ogg
        [death]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
        [/death]
        [movement_anim]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/movement_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=yes
            direction=n
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=no
            direction=n
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=yes
            direction=ne,nw
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=no
            direction=ne,nw
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=yes
            direction=s
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=no
            direction=s
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=yes
            direction=se,sw
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=spear
            [/filter_attack]
            hits=no
            direction=se,sw
            [frame]
                image="units/human-aragwaithi/silver-shield-female.png"
            [/frame]
            [frame]
                image="units/human-aragwaithi/silver-shield-moving-female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Slayer
    name= _ "Slayer"
    race=aragwaith
    image="units/human-aragwaithi/slayer.png"
    hitpoints=53
    movement_type=aragwaithfoot
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=62
    usage=mixed fighter
    description= _ "While improving only marginally on the power of their bow, the Slayer abandons the blade in favor of training with a glaive, improving his skills in hand-to-hand combat. He is not as rugged as others of comparable skill, but far deadlier."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/slayer-defend.png" "units/human-aragwaithi/slayer.png" {SOUND_LIST:HUMAN_HIT} (range=melee)}
    {DEFENSE_ANIM_FILTERED "units/human-aragwaithi/slayer-bow.png" "units/human-aragwaithi/slayer-bow.png" {SOUND_LIST:HUMAN_HIT} (range=ranged)}
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/slayer.png" "units/human-aragwaithi/slayer-n.png"}
    [attack]
        name=glaive
        description= _ "glaive"
        type=blade
        range=melee
        damage=11
        number=4
    [/attack]
    [attack]
        name=bow
        description={I18N:ATTACK_BOW}
        icon=attacks/bow-elven.png
        type=pierce
        range=ranged
        damage=9
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=s
        start_time=-400
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack3a.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack3a.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=s
        start_time=-400
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack3b.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack3b.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=se,sw
        start_time=-400
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-defend-attack6.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-defend-attack6.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack2.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=n
        start_time=-400
        [frame]
            duration=300
            image="units/human-aragwaithi/slayer-attack4a.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=300
                image="units/human-aragwaithi/slayer-attack4a.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=300
                image="units/human-aragwaithi/slayer-attack4a.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=n
        start_time=-400
        [frame]
            duration=300
            image="units/human-aragwaithi/slayer-attack4b.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=300
                image="units/human-aragwaithi/slayer-attack4b.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=300
                image="units/human-aragwaithi/slayer-attack4b.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=ne,nw
        start_time=-400
        [frame]
            duration=300
            image="units/human-aragwaithi/slayer-attack4a.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack5a.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack5a.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack4a.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=glaive
        [/filter_attack]
        direction=ne,nw
        start_time=-400
        [frame]
            duration=300
            image="units/human-aragwaithi/slayer-attack4a.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack5b.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                image="units/human-aragwaithi/slayer-attack5b.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/slayer-attack4a.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=ne,nw
        [missile_frame]
            begin=-100
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            begin=-575
            end=-525
            image="units/human-aragwaithi/slayer-bow.png"
        [/frame]
        [frame]
            begin=-525
            end=-450
            image="units/human-aragwaithi/slayer-attack1-ranged+defend-e.png"
        [/frame]
        [frame]
            begin=-450
            end=-300
            image="units/human-aragwaithi/slayer-attack1-ranged+defend-e.png"
        [/frame]
        [frame]
            begin=-300
            end=-150
            image="units/human-aragwaithi/slayer-attack2-ranged-e.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-e.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-e.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/slayer-attack4-ranged-e.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=n
        [missile_frame]
            begin=-100
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            begin=-575
            end=-525
            image="units/human-aragwaithi/slayer-bow.png"
        [/frame]
        [frame]
            begin=-525
            end=-450
            image="units/human-aragwaithi/slayer-attack1+4-ranged-n.png"
        [/frame]
        [frame]
            begin=-450
            end=-300
            image="units/human-aragwaithi/slayer-attack1+4-ranged-n.png"
        [/frame]
        [frame]
            begin=-300
            end=-150
            image="units/human-aragwaithi/slayer-attack2-ranged-n.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-n.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-n.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/slayer-attack1+4-ranged-n.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=s,se,sw
        [missile_frame]
            begin=-100
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            begin=-575
            end=-525
            image="units/human-aragwaithi/slayer-bow.png"
        [/frame]
        [frame]
            begin=-525
            end=-450
            image="units/human-aragwaithi/slayer-attack1-ranged-s.png"
        [/frame]
        [frame]
            begin=-450
            end=-300
            image="units/human-aragwaithi/slayer-attack1-ranged-s.png"
        [/frame]
        [frame]
            begin=-300
            end=-150
            image="units/human-aragwaithi/slayer-attack2-ranged-s.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-s.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/slayer-attack3-ranged-s.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/slayer-attack4-ranged-s.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Sorceress
    name= _ "female^Sorceress"
    race=aragwaith
    gender=female
    image="units/human-aragwaithi/sorceress.png"
    hitpoints=40
    movement_type=aragwaithfoot
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=68
    usage=healer
    description= _ "The mighty Aragwaith Sorceresses are agile like the wind. They can confound their opponents by standing in front of them seemingly defenseless; once the attacker hits, they realize their victim is actually behind them, ready to land her own killing blow. Because of their vast and intimate knowledge of both defensive and offensive magic, even the higher ranks of the Aragwaithi regard these women with great respect and caution."
    [abilities]
        {ABILITY_CURES}
        {ABILITY_TELEPORT}
    [/abilities]
    [healing_anim]
        start_time=-275
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-1.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-2.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-3.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-4.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-5.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-6.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-7.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-8.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
            halo="halo/wizard+female-heal-halo-9.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/sorceress-heal.png"
        [/frame]
    [/healing_anim]
    {DEFENSE_ANIM "units/human-aragwaithi/sorceress-defend-1.png" "units/human-aragwaithi/sorceress-defend-2.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [attack]
        name=staff
        description={I18N:ATTACK_STAFF}
        icon=attacks/staff-magic.png
        type=impact
        range=melee
        damage=13
        number=2
    [/attack]
    [attack]
        name=fireball
        description={I18N:ATTACK_FIREBALL}
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=15
        number=3
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]

        start_time=-200
        [frame]
            image="units/human-aragwaithi/sorceress.png:400"
        [/frame]

        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY 0 0}
        [frame]
            begin=-240
            end=-180
            image="units/human-aragwaithi/sorceress.png"
        [/frame]
        [frame]
            begin=-180
            end=-120
            image="units/human-aragwaithi/sorceress.png"
            sound=fire.wav
        [/frame]
        [frame]
            begin=-120
            end=60
            image="units/human-aragwaithi/sorceress.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Spearman
    name= _ "Spearman"
    race=aragwaith
    image="units/human-aragwaithi/spearman.png"
    hitpoints=34
    movement_type=aragwaithfoot
    movement=5
    experience=43
    level=1
    alignment=neutral
    advances_to=Aragwaith Pikeman,Aragwaith Flagbearer
    cost=15
    usage=fighter
    description= _ "The less dextrous and stronger Aragwaith take up the spear. Useful in hunting, this weapon is also deadly on the battlefield. Many impetuous knights have found themselves or their mounts impaled on the point of an Aragwaithi spear."

    {DEFENSE_ANIM "units/human-aragwaithi/spearman-defend.png" "units/human-aragwaithi/spearman.png" {SOUND_LIST:HUMAN_HIT} }
    {DEFENSE_ANIM "units/human-aragwaithi/spearman-defend-alt.png" "units/human-aragwaithi/spearman.png" {SOUND_LIST:HUMAN_HIT} }

    die_sound={SOUND_LIST:HUMAN_DIE}
    [standing_anim]
        direction=n,ne,nw
        start_time=0
        [frame]
            duration=100
            image="units/human-aragwaithi/spearman-n.png"
        [/frame]
    [/standing_anim]
    [standing_anim]
        direction=se,sw,s
        start_time=0
        [frame]
            duration=100
            image="units/human-aragwaithi/spearman.png"
        [/frame]
    [/standing_anim]
    [movement_anim]
        direction=s,se,sw
        start_time=0
        [frame]
            duration=100
            image="units/human-aragwaithi/spearman-moving.png"
        [/frame]
    [/movement_anim]
    [idle_anim]
        start_time=0
        {STANDARD_IDLE_FILTER}
        [frame]
            duration=1000
            image="units/human-aragwaithi/spearman-idle.png"
        [/frame]
    [/idle_anim]
    [resistance]
        pierce=90
    [/resistance]
    [death]
        start_time=0
        [frame]
            duration=200
            image="units/human-aragwaithi/spearman-die-1.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/spearman-die-2.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/spearman-die-3.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/spearman-die-4.png"
        [/frame]
    [/death]
    [attack]
        name=spear
        description={I18N:ATTACK_SPEAR}
        type=pierce
        range=melee
        damage=12
        number=2
        [specials]
            {WEAPON_SPECIAL_FIRSTSTRIKE}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=s
        [frame]
            begin=-200
            end=-150
            image="units/human-aragwaithi/spearman.png"
        [/frame]
        [frame]
            begin=-150
            end=-50
            image="units/human-aragwaithi/spearman-attack-s-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-50
                end=100
                image="units/human-aragwaithi/spearman-attack-s-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-50
                end=100
                image="units/human-aragwaithi/spearman-attack-s-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/spearman-attack-s-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=n
        [frame]
            begin=-200
            end=-150
            image="units/human-aragwaithi/spearman-n.png"
        [/frame]
        [frame]
            begin=-150
            end=-50
            image="units/human-aragwaithi/spearman-attack-n-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-50
                end=100
                image="units/human-aragwaithi/spearman-attack-n-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-50
                end=100
                image="units/human-aragwaithi/spearman-attack-n-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/spearman-attack-n-1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=ne,nw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/spearman.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-ne.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-ne.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/spearman.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=se,sw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/spearman-moving.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-se-2a.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-se-2a.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/spearman.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=se,sw
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/spearman-attack-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-se-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-aragwaithi/spearman-attack-se-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/spearman.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Strongbow
    name= _ "Strongbow"
    race=aragwaith
    image="units/human-aragwaithi/strongbow.png"
    hitpoints=38
    movement_type=aragwaithfoot
    movement=6
    experience=85
    level=2
    alignment=neutral
    advances_to=Aragwaith Greatbow,Aragwaith Slayer
    cost=38
    usage=archer
    description= _ "By wielding a stronger bow and training almost constantly, the Aragwaith Strongbow fires a far deadlier shot than the average archer. Their dirks are longer than the daggers used by the typical archer, and they wield them far more effectively."
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/strongbow.png" "units/human-aragwaithi/strongbow-n.png"}
    {DEFENSE_ANIM "units/human-aragwaithi/strongbow-defend-1.png" "units/human-aragwaithi/strongbow-bow.png" {SOUND_LIST:HUMAN_HIT}}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [death]
        start_time=0
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-1.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-2.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-3.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-4.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-5.png"
        [/frame]
        [frame]
            duration=150
            image="units/human-aragwaithi/strongbow-die-6.png"
        [/frame]
    [/death]
    [attack]
        name=short sword
        description={I18N:ATTACK_SHORT_SWORD}
        icon=attacks/sword-human-short.png
        type=blade
        range=melee
        damage=7
        number=3
    [/attack]
    [attack]
        name=bow
        description={I18N:ATTACK_BOW}
        icon=attacks/bow-elven.png
        type=pierce
        range=ranged
        damage=9
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=short sword
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/strongbow-sword-1-5.png"
        [/frame]
        [if]
            hits=no
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/strongbow-sword-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                begin=-100
                end=0
                image="units/human-aragwaithi/strongbow-sword-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/strongbow-sword-3.png"
        [/frame]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/strongbow-sword-4.png"
        [/frame]
        [frame]
            begin=150
            end=225
            image="units/human-aragwaithi/strongbow-sword-1-5.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=se,sw,s
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            begin=-575
            end=-525
            image="units/human-aragwaithi/strongbow-1.png"
        [/frame]
        [frame]
            begin=-525
            end=-450
            image="units/human-aragwaithi/strongbow-2.png"
        [/frame]
        [frame]
            begin=-450
            end=-375
            image="units/human-aragwaithi/strongbow-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-375
                end=-300
                image="units/human-aragwaithi/strongbow-4.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-375
                end=-300
                image="units/human-aragwaithi/strongbow-4.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=-300
            end=-200
            image="units/human-aragwaithi/strongbow-2.png"
        [/frame]
        [frame]
            begin=-200
            end=-100
            image="units/human-aragwaithi/strongbow-1.png"
        [/frame]
        [frame]
            begin=-100
            end=100
            image="units/human-aragwaithi/strongbow-bow.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        direction=ne,nw,n
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            begin=-575
            end=-525
            image="units/human-aragwaithi/strongbow-n.png"
        [/frame]
        [frame]
            begin=-525
            end=-450
            image="units/human-aragwaithi/strongbow-n-1.png"
        [/frame]
        [frame]
            begin=-450
            end=-375
            image="units/human-aragwaithi/strongbow-n-2.png"
        [/frame]
        [frame]
            begin=-375
            end=-300
            image="units/human-aragwaithi/strongbow-n-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-300
                end=-225
                image="units/human-aragwaithi/strongbow-n-4.png"
                sound=bow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-300
                end=-225
                image="units/human-aragwaithi/strongbow-n-4.png"
                sound=bow-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=-225
            end=-150
            image="units/human-aragwaithi/strongbow-n-5.png"
        [/frame]
        [frame]
            begin=-150
            end=0
            image="units/human-aragwaithi/strongbow-n-1.png"
        [/frame]
        [frame]
            begin=0
            end=100
            image="units/human-aragwaithi/strongbow-n.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Swordsman
    name= _ "Swordsman"
    race=aragwaith
    image="units/human-aragwaithi/swordman.png"
    hitpoints=32
    movement_type=aragwaithfoot
    movement=5
    experience=39
    level=1
    alignment=neutral
    advances_to=Aragwaith Guard,Aragwaith Longswordsman
    cost=14
    usage=fighter
    description= _ "While the Aragwaithi are slight of body, they are also fast and nimble. These abilities, coupled with the intensive training given to the Aragwaith military, make for superb swordsmen. Swordsmen are clad in light chain mail — the better to resist the blades of their enemies."
    {STANDING_ANIM_DIRECTIONAL "units/human-aragwaithi/swordman.png" "units/human-aragwaithi/swordman-n.png"}
    [defend]
        start_time=-150
        [frame]
            duration=1
            image="units/human-aragwaithi/swordman.png"
        [/frame]
        [frame]
            duration=149
            image="units/human-aragwaithi/swordman-defend-1.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                duration=1
                image="units/human-aragwaithi/swordman-defend-1.png"
                sound={SOUND_LIST:HUMAN_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                duration=1
                image="units/human-aragwaithi/swordman-defend-1.png"
            [/frame]
        [/else]
    [/defend]
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=6
        number=4
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [frame]
            begin=-150
            end=-50
            image="units/human-aragwaithi/swordman-attack-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-50
                end=0
                image="units/human-aragwaithi/swordman-attack-2.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-50
                end=0
                image="units/human-aragwaithi/swordman-attack-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=125
            image="units/human-aragwaithi/swordman-attack-2.png"
        [/frame]
        [frame]
            begin=125
            end=200
            image="units/human-aragwaithi/swordman.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Swordsmaster
    name= _ "Swordsmaster"
    race=aragwaith
    image="units/human-aragwaithi/swordmaster.png"
    hitpoints=52
    movement_type=aragwaithfoot
    movement=6
    experience=150
    level=3
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=43
    usage=fighter
    # wmllint: local spelling Swordsmasters
    description= _ "Aragwaith Swordsmasters have endured years of rigorous military training, and survived countless ferocious battles. Their swordplay prowess is regarded with awe even by those few foes who have witnessed it and lived to tell the tale. Upon attaining the rank and the reputation that comes with it, they take up responsibility for teaching the young, passing the martial traditions of the Aragwaithi onto future generations."
    die_sound={SOUND_LIST:HUMAN_DIE}
    [resistance]
        blade=90
    [/resistance]
    [death]
        start_time=0
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
    [/death]
    [defend]
        start_time=-200
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster-attack-1.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster-defend-1.png"
                sound={SOUND_LIST:HUMAN_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster-defend-1.png"
            [/frame]
        [/else]
        [frame]
            duration=50
            image="units/human-aragwaithi/swordmaster-attack-1.png"
        [/frame]
    [/defend]
    [attack]
        name=long-sword
        description={I18N:ATTACK_LONGSWORD}
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=10
        number=5
        [specials]
            {WEAPON_SPECIAL_MARKSMAN}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=long-sword
        [/filter_attack]
        direction=s,sw,se
        start_time=-300
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster-attack-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster-attack-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster-attack-3.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster-attack-4.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=long-sword
        [/filter_attack]
        direction=ne,n,nw
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=200
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/human-aragwaithi/swordmaster.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/swordmaster.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

# Great sprites, only a shame the standing animation doesn't fit.
[unit_type]
    id=Aragwaith Witch
    name= _ "female^Witch"
    race=aragwaith
    gender=female
    image="units/human-aragwaithi/witch+female.png"
    hitpoints=22
    movement_type=aragwaithfoot
    movement=5
    experience=54
    level=1
    alignment=neutral
    advances_to=Aragwaith Wizard
    cost=22
    usage=healer
    [abilities]
        {ABILITY_HEALS}
    [/abilities]
    [healing_anim]
        start_time=-275
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-1.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-2.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-3.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-4.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-5.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-6.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-7.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-8.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
            halo="halo/wizard+female-heal-halo-9.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/witch+female-heal.png"
        [/frame]
    [/healing_anim]
    description= _ "The increasingly rare magically-gifted noblewomen of the Aragwaithi function as the lorekeepers of their unique civilization, possessing vast knowledge about the history of Irdya and the many trials faced by their ancestors. But the path to reach their status and earn the Grand Council’s trust and respect is arduous, and much of their lives is spent training in the marches, far away from their kin. In those parts, the ability to create and control flames is highly versatile, as well as the mastery of the arts of healing."

    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [defend]
        start_time=-150
        [frame]
            duration=1
            image="units/human-aragwaithi/witch+female.png"
        [/frame]
        [frame]
            duration=49
            image="units/human-aragwaithi/witch+female-defend-1.png"
        [/frame]
        [frame]
            duration=50
            image="units/human-aragwaithi/witch+female-defend-2.png"
        [/frame]
        [if]
            hits=hit
            [frame]
                duration=100
                image="units/human-aragwaithi/witch+female-defend-3.png"
                sound={SOUND_LIST:HUMAN_FEMALE_HIT}
            [/frame]
        [/if]
        [else]
            hits=miss,kill
            [frame]
                duration=100
                image="units/human-aragwaithi/witch+female-defend-3.png"
            [/frame]
        [/else]
        [frame]
            duration=1
            image="units/human-aragwaithi/witch+female.png"
        [/frame]
    [/defend]

    [idle_anim]
        start_time=0
        {STANDARD_IDLE_FILTER}
        [frame]
            duration=1000
            image="units/human-aragwaithi/witch+female-idle.png"
        [/frame]
    [/idle_anim]

    [attack]
        name=kick
        description= _ "kick"
        icon=attacks/fist-human.png
        type=impact
        range=melee
        damage=7
        number=1
    [/attack]
    [attack]
        name=fireball
        description={I18N:ATTACK_FIREBALL}
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=7
        number=3
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=kick
        [/filter_attack]
        [frame]
            begin=-250
            end=-200
            image="units/human-aragwaithi/witch+female-attack-1.png"
        [/frame]
        [frame]
            begin=-200
            end=-150
            image="units/human-aragwaithi/witch+female-attack-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/witch+female-attack-3.png"
                sound=fist.ogg
            [/frame]
        [/if]
        [else]
            [frame]
                begin=-150
                end=0
                image="units/human-aragwaithi/witch+female-attack-3.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=50
            image="units/human-aragwaithi/witch+female-attack-4.png"
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/human-aragwaithi/witch+female-attack-5.png"
        [/frame]
        [frame]
            begin=100
            end=150
            image="units/human-aragwaithi/witch+female-attack-6.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY 0 0}
        [frame]
            begin=-240
            end=0
            image="units/human-aragwaithi/witch+female-ranged.png"
            sound=fire.wav
        [/frame]
        [frame]
            begin=0
            end=60
            image="units/human-aragwaithi/witch+female.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Aragwaith Wizard
    name= _ "female^Wizard"
    race=aragwaith
    gender=female
    image="units/human-aragwaithi/wizard.png"
    hitpoints=31
    movement_type=aragwaithfoot
    movement=5
    experience=132
    level=2
    alignment=neutral
    advances_to=Aragwaith Sorceress
    cost=43
    usage=healer
    [abilities]
        {ABILITY_CURES}
    [/abilities]
    description="" # wmllint: ignore
    [idle_anim]
        start_time=0
        {STANDARD_IDLE_FILTER}
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-aragwaithi/wizard-idle-1.png"
        [/frame]
    [/idle_anim]
    [healing_anim]
        start_time=-275
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-1.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-2.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-3.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-4.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-5.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-6.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-7.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-8.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
            halo="halo/wizard+female-heal-halo-9.png"
        [/frame]
        [frame]
            duration=55
            image="units/human-aragwaithi/wizard-heal.png"
        [/frame]
    [/healing_anim]
    {DEFENSE_ANIM "units/human-aragwaithi/wizard-defend-1.png" "units/human-aragwaithi/wizard.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [attack]
        name=staff
        description={I18N:ATTACK_STAFF}
        icon=attacks/staff-magic.png
        type=impact
        range=melee
        damage=7
        number=2
    [/attack]
    [attack]
        name=fireball
        description={I18N:ATTACK_FIREBALL}
        icon=attacks/fireball.png
        type=fire
        range=ranged
        damage=10
        number=3
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]

        start_time=-200
        [frame]
            image="units/human-aragwaithi/wizard-attack-[1~3].png:[50,150,150]"
        [/frame]

        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=fireball
        [/filter_attack]
        {MISSILE_FRAME_FIREBALL_XY 0 0}
        start_time=-250
        [frame]
            duration=50
            image="units/human-aragwaithi/wizard-ranged.png"
        [/frame]
        [frame]
            duration=250
            image="units/human-aragwaithi/wizard-ranged.png"
            sound=fire.wav
        [/frame]
        [frame]
            duaration=50
            image="units/human-aragwaithi/wizard-ranged.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Chaos Bowman
    name= _ "Chaos Bowman"
    race=human
    image="units/human-chaos/bowman.png"
    hitpoints=33
    movement_type=smallfoot
    movement=5
    experience=39
    level=1
    alignment=chaotic
    advances_to=Chaos Crossbowman,Chaos Longbowman
    cost=14
    usage=archer
    [defense]
        sand=60
    [/defense]
    description= _ "Since time immemorial, humans have used and perfected the bow and arrow for hunting and defense. Even after the Fall, it continues to be the cheapest and most effective weapon a military can afford for its lowest-ranking soldiers. Archers seldom have adequate training or equipment to be effective in combat at close quarters, but they are nonetheless capable of defending themselves should the situation call for it."
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=short sword
        description={I18N:ATTACK_SHORT_SWORD}
        icon=attacks/sword-human-short.png
        type=blade
        range=melee
        damage=4
        number=2
    [/attack]
    [attack]
        name=bow
        description={I18N:ATTACK_BOW}
        icon=attacks/bow-short-reinforced.png
        type=pierce
        range=ranged
        damage=6
        number=3
    [/attack]

    {DEFENSE_ANIM_RANGE "units/human-chaos/bowman.png" "units/human-chaos/bowman.png" {SOUND_LIST:HUMAN_HIT} melee}
    {DEFENSE_ANIM_RANGE "units/human-chaos/bowman.png" "units/human-chaos/bowman.png" {SOUND_LIST:HUMAN_HIT} ranged}

    [attack_anim]
        [filter_attack]
            name=bow
        [/filter_attack]
        start_time=-445
        missile_start_time=-150
        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [frame]
            duration=65
            #image="units/human-loyalists/bowman-bow.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=75
            #image="units/human-loyalists/bowman-bow-attack-1.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=75
            #image="units/human-loyalists/bowman-bow-attack-2.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [if]
            hits=no
            [frame]
                duration=100
                #image="units/human-loyalists/bowman-bow-attack-3.png"
                image="units/human-chaos/bowman.png"
                sound=bow-miss.ogg
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                duration=100
                #image="units/human-loyalists/bowman-bow-attack-3.png"
                image="units/human-chaos/bowman.png"
                sound=bow.ogg
            [/frame]
        [/else]
        [frame]
            duration=130
            #image="units/human-loyalists/bowman-bow-attack-4.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=65
            #image="units/human-loyalists/bowman-bow-attack-1.png"
            image="units/human-chaos/bowman.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=short sword
        [/filter_attack]
        start_time=-275
        [frame]
            duration=50
            #image="units/human-loyalists/bowman-melee-defend-1.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/bowman-melee-attack-1.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                #image="units/human-loyalists/bowman-melee-attack-2.png"
                image="units/human-chaos/bowman.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                #image="units/human-loyalists/bowman-melee-attack-2.png"
                image="units/human-chaos/bowman.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            #image="units/human-loyalists/bowman-melee-attack-3.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/bowman-melee-attack-4.png"
            image="units/human-chaos/bowman.png"
        [/frame]
        [frame]
            duration=50
            #image="units/human-loyalists/bowman-melee-defend-1.png"
            image="units/human-chaos/bowman.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Chaos Cataphract
    name= _ "Chaos Cataphract"
    race=human
    image="units/human-chaos/cataphract.png"
    hitpoints=68
    movement_type=mounted
    movement=9
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    undead_variation=mounted
    cost=52
    usage=scout
    # wmllint: local spelling Cataphracts
    description= _ "Cataphracts are held in utmost respect by the Chaos military and serve as the legions’ fearsome standard-bearers. When not carrying the Chaos flag into battle, they are often seen swiftly traversing the blood-stained battlefields to deliver news, commands, and supplies. Their most striking aspect is the symbiotic relationship they share with their mounts, however. Gentler emotions are seldom found amongst the Chaos ranks, but these riders have been known to pause and mourn their fallen steeds, even amidst the carnage of battle."
    die_sound=horse-die.ogg
    {DEFENSE_ANIM "units/human-chaos/cataphract.png" "units/human-chaos/cataphract.png" {SOUND_LIST:HORSE_HIT} }
    [defense]
        sand=60
    [/defense]
    [resistance]
        blade=70
        impact=60
        cold=80
    [/resistance]
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon="attacks/greatsword-orcish.png"
        type=blade
        range=melee
        damage=10
        number=4
    [/attack]
    [attack]
        name=crossbow
        description={I18N:ATTACK_CROSSBOW}
        icon="attacks/crossbow-orcish.png"
        type=pierce
        range=ranged
        damage=20
        number=1
    [/attack]
    [attack_anim]
        [filter_attack]
            name=crossbow
        [/filter_attack]
        start_time=-1100
        missile_start_time=-150
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-1.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-2.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-3.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-4.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-5.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                #image="units/human-loyalists/cavalier-ranged-6.png"
                image="units/human-chaos/cataphract.png"
                sound=crossbow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                #image="units/human-loyalists/cavalier-ranged-6.png"
                image="units/human-chaos/cataphract.png"
                sound=crossbow-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=300
            #image="units/human-loyalists/cavalier-ranged-7.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-225
        [frame]
            duration=25
            #image="units/human-loyalists/cavalier.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=50
            #image="units/human-loyalists/cavalier-moving.png"
            image="units/human-chaos/cataphract.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=300
                #image="units/human-loyalists/cavalier-attack.png"
                image="units/human-chaos/cataphract.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=300
                #image="units/human-loyalists/cavalier-attack.png"
                image="units/human-chaos/cataphract.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=50
            #image="units/human-loyalists/cavalier-moving.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
        [frame]
            duration=25
            #image="units/human-loyalists/cavalier.png"
            image="units/human-chaos/cataphract.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Chaos Cavalier
    name= _ "Chaos Cavalier"
    race=human
    image="units/human-chaos/cavalier.png"
    hitpoints=53
    movement_type=mounted
    movement=9
    experience=95
    level=2
    alignment=chaotic
    advances_to=Chaos Cataphract
    undead_variation=mounted
    cost=34
    usage=scout
    description= _ "A rider and its mount achieve their maximum potential once they learn to trust each other and act in unison. Even if it may seem unusual at first glance, there are such horsemen fighting under Uria’s banner, and they treat their companions as an extension of themselves in all regards."
    die_sound=horse-die.ogg
    {DEFENSE_ANIM "units/human-chaos/cavalier.png" "units/human-chaos/cavalier.png" {SOUND_LIST:HORSE_HIT} }
    [defense]
        sand=60
    [/defense]
    [resistance]
        blade=70
        impact=60
        cold=80
    [/resistance]
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        icon="attacks/sword-orcish.png"
        type=blade
        range=melee
        damage=6
        number=4
    [/attack]
    [attack]
        name=crossbow
        description={I18N:ATTACK_CROSSBOW}
        icon="attacks/crossbow-orcish.png"
        type=pierce
        range=ranged
        damage=12
        number=1
    [/attack]
    [attack_anim]
        [filter_attack]
            name=crossbow
        [/filter_attack]
        start_time=-1100
        missile_start_time=-150
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-1.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-2.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-3.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-4.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=100
            #image="units/human-loyalists/cavalier-ranged-5.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=200
                #image="units/human-loyalists/cavalier-ranged-6.png"
                image="units/human-chaos/cavalier.png"
                sound=crossbow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=200
                #image="units/human-loyalists/cavalier-ranged-6.png"
                image="units/human-chaos/cavalier.png"
                sound=crossbow-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=300
            #image="units/human-loyalists/cavalier-ranged-7.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-225
        [frame]
            duration=25
            #image="units/human-loyalists/cavalier.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=50
            #image="units/human-loyalists/cavalier-moving.png"
            image="units/human-chaos/cavalier.png"
            sound=horse-canter.wav
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=300
                #image="units/human-loyalists/cavalier-attack.png"
                image="units/human-chaos/cavalier.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=300
                #image="units/human-loyalists/cavalier-attack.png"
                image="units/human-chaos/cavalier.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=50
            #image="units/human-loyalists/cavalier-moving.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
        [frame]
            duration=25
            #image="units/human-loyalists/cavalier.png"
            image="units/human-chaos/cavalier.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Chaos Crossbowman
    name= _ "Chaos Crossbowman"
    race=human
    image="units/human-chaos/crossbowman.png"
    hitpoints=48
    movement_type=smallfoot
    movement=5
    experience=70
    level=2
    alignment=chaotic
    advances_to=Chaos Arbalestier
    cost=36
    usage=archer
    [defense]
        sand=60
    [/defense]
    [resistance]
        blade=90
    [/resistance]
    description=_"While most bowmen at the Chaos Empire’s service choose to specialize further in their craft with larger and more powerful bows, some opt for a less conventional approach to attaining greater combat prowess. These soldiers not only replace their rustic bows with crossbows — an absolute luxury for an army which can barely afford full body armor — but they also trade their short swords for heavier axes. While this does improve their efficacy in battle to some extent, it does so at the expense of speed and accuracy."
    die_sound={SOUND_LIST:HUMAN_DIE}

    [attack]
        name=axe
        description={I18N:ATTACK_AXE}
        type=blade
        range=melee
        damage=6
        number=3
        icon=attacks/axe-undead.png
    [/attack]
    [attack]
        name=crossbow
        description={I18N:ATTACK_CROSSBOW}
        icon=attacks/crossbow-human.png
        type=pierce
        range=ranged
        damage=8
        number=3
    [/attack]

    {DEFENSE_ANIM "units/human-chaos/crossbowman.png" "units/human-chaos/crossbowman.png" {SOUND_LIST:HUMAN_HIT} }

    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        start_time=-200
        [frame]
            duration=400
            image="units/human-chaos/crossbowman.png"
        [/frame]
        {SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -100}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=crossbow
        [/filter_attack]
        start_time=-350
        missile_start_time=-150
        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [if]
            hits=yes
            [frame]
                duration=400
                #image="units/human-loyalists/crossbowman-ranged.png"
                image="units/human-chaos/crossbowman.png"
                sound=crossbow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=400
                #image="units/human-loyalists/crossbowman-ranged.png"
                image="units/human-chaos/crossbowman.png"
                sound=crossbow-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
[/unit_type]

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


#textdomain wesnoth-Naia

[unit_type]
    id=Chaos Arbalestier
    name= _ "Chaos Arbalestier"
    race=human
    image="units/human-chaos/crossbowman-arbalestier.png"
    hitpoints=65
    movement_type=smallfoot
    movement=5
    experience=150
    {AMLA_DEFAULT}
    level=3
    alignment=chaotic
    advances_to=null
    cost=56
    usage=archer
    [defense]
        sand=60
    [/defense]
    [resistance]
        blade=80
    [/resistance]
    # wmllint: local spelling arbalest arbalests
    description= _ "Going a step further than most, these elite Chaos soldiers are equipped with a more sophisticated variation on the basic crossbow, able to shoot bolts with much greater penetrating force. Because of the increased reload times and maintenance cost, these ‘arbalests’ are rarely seen on the battlefield in an active role, their owners often carrying them unloaded as a status symbol instead."
    die_sound={SOUND_LIST:HUMAN_DIE}

    [attack]
        name=axe
        description={I18N:ATTACK_AXE}
        type=blade
        range=melee
        damage=9
        number=3
        icon=attacks/axe-undead.png
    [/attack]
    [attack]
        name=arbalest
        description= _ "arbalest"
        icon=attacks/crossbow-iron.png
        type=pierce
        range=ranged
        damage=11
        number=3
    [/attack]

    {DEFENSE_ANIM "units/human-chaos/crossbowman-arbalestier.png" "units/human-chaos/crossbowman-arbalestier.png" {SOUND_LIST:HUMAN_HIT} }

    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        start_time=-200
        [frame]
            duration=400
            image="units/human-chaos/crossbowman-arbalestier.png"
        [/frame]
        {SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -100}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=arbalest
        [/filter_attack]
        start_time=-350
        missile_start_time=-150
        [missile_frame]
            duration=150
            image="projectiles/missile-n.png"
            image_diagonal="projectiles/missile-ne.png"
        [/missile_frame]
        [if]
            hits=yes
            [frame]
                duration=400
                #image="units/human-loyalists/crossbowman-ranged.png"
                image="units/human-chaos/crossbowman-arbalestier.png"
                sound=crossbow.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=400
                #image="units/human-loyalists/crossbowman-ranged.png"
                image="units/human-chaos/crossbowman-arbalestier.png"
                sound=crossbow-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
[/unit_type]

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


#textdomain wesnoth-Naia

[unit_type]
    id=Dark Knight
    name= _ "Knight of Chaos"
    image="units/human-chaos/dark-knight.png"
    profile="portraits/dark-knight.png"
    [movement_anim]
        [frame]
            begin=0
            end=150
            image="units/human-chaos/dark-knight-attack1.png"
        [/frame]
    [/movement_anim]
    race=human
    hitpoints=51
    movement_type=smallfoot
    movement=5
    experience=95
    level=2
    alignment=chaotic
    advances_to=Chaos Razerman
    cost=32
    description= _ "Mastering the art of dual wielding is no small feat in and of itself, but its applications in real combat are limited by the impracticality of coordinating swings and balancing the wielder’s weight while under pressure. This hardly deters Chaos infantries from trying, however, usually with decent results. To inexperienced opponents, the mere sight of an approaching man suited in full armor hurling guttural screams is terrifying enough without him furiously swinging a sword and axe in either hand."
    usage=fighter
    [resistance]
        fire=90
    [/resistance]
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/human-chaos/dark-knight-defend.png" "units/human-chaos/dark-knight.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        type=blade
        range=melee
        damage=8
        number=4
        icon=attacks/greatsword-orcish.png
    [/attack]
    [attack]
        name=axe
        description={I18N:ATTACK_AXE}
        type=blade
        range=melee
        damage=14
        number=2
        icon=attacks/axe-undead.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=0
                image="units/human-chaos/dark-knight-attack1.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=0
                image="units/human-chaos/dark-knight-attack1.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-chaos/dark-knight-attack2.png"
        [/frame]
        [frame]
            begin=100
            end=200
            image="units/human-chaos/dark-knight-attack3.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=0
                image="units/human-chaos/dark-knight-axe1.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=0
                image="units/human-chaos/dark-knight-axe1.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-chaos/dark-knight-axe2.png"
        [/frame]
        [frame]
            begin=100
            end=200
            image="units/human-chaos/dark-knight-axe3.png"
        [/frame]
    [/attack_anim]
[/unit_type]


#textdomain wesnoth-Naia

[unit_type]
    id=Doom Guard
    name= _ "Doom Guard"
    race=human
    image="units/human-chaos/doom-guard.png"
    hitpoints=52
    movement_type=armorerfoot
    movement=4
    experience=90
    [abilities]
        {ABILITY_STEADFAST}
    [/abilities]
    level=2
    alignment=chaotic
    advances_to=Hell Guardian
    cost=35
    usage=fighter
    description= _ "Although the Chaos Empire is a staunch believer in the principle of defense through offense, its leadership is also well aware of the importance of defending its borders against hostile incursions, as well as the occasional civil revolt. Guards tasked with the protection of the Empire’s strongholds are provided with specially-crafted armor and enjoy privileges normally reserved only for those who have proven their worth in battle. They are also occasionally granted troops and assigned to assault missions whenever a considerable amount of resistance may be expected."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/human-chaos/doom-guard.png" "units/human-chaos/doom-guard.png" {SOUND_LIST:HUMAN_HIT} }
    [attack]
        name=sword
        description={I18N:ATTACK_SWORD}
        type=blade
        range=melee
        damage=9
        number=3
        icon=attacks/sword-orcish.png
    [/attack]
    [attack]
        name=shield
        description= _ "shield"
        type=impact
        range=melee
        defense_weight=2.1
        damage=15
        number=1
        icon=attacks/rectangular-shield.png
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-200
                end=0
                image="units/human-chaos/doom-guard.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-200
                end=0
                image="units/human-chaos/doom-guard.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=-0
            end=100
            image="units/human-chaos/doom-guard.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=shield
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-200
                end=0
                image="units/human-chaos/doom-guard.png"
                sound=mace.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-200
                end=0
                image="units/human-chaos/doom-guard.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=0
            end=100
            image="units/human-chaos/doom-guard.png"
        [/frame]
    [/attack_anim]
[/unit_type]