#textdomain wesnoth-ei
[unit_type]
    id=Mounted Warrior  # use the old id so we don't break old saves
    name= _ "Clan Captain"
    race=human
    image="units/owaec/L3/owaec-L3.png~CROP(14,14,72,72)"
    {DEFENSE_ANIM "units/owaec/L3/owaec-L3-defend1.png" "units/owaec/L3/owaec-L3-defend2.png" {SOUND_LIST:HORSE_HIT} }
    hitpoints=70
    movement_type=mounted
    movement=7
    experience=200
    level=3
    alignment=lawful
    advances_to=Horse Lord
    [resistance] # cavalryman resistances
        blade=70
        impact=60
        cold=80
    [/resistance]

    undead_variation=mounted
    cost=50
    usage=fighter
    small_profile="portraits/owaec.webp"
    profile="portraits/owaec.webp"
    description= _ "The leaders-to-be of the Horse Clans, each of these proud nobles is skilled in combat and adheres to a strict code of honor. Even the most tenacious of opponents will quake at the sight of a horse charge spearheaded by one of these fearless riders."

    {NOTE_VANGUARD}
    die_sound=horse-die.ogg
    [abilities]
        {ABILITY_VANGUARD}
    [/abilities]

    [attack]
        name=sword
        #textdomain wesnoth-units
        description= _"sword"
        #textdomain wesnoth-ei
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=7
        number=4
    [/attack]
    [attack]
        name=greathammer
        description= _"greathammer"
        type=impact
        range=melee
        damage=28
        number=1
        icon=attacks/hammer.png
        [specials]
            {WEAPON_SPECIAL_SHOCK}
        [/specials]
    [/attack]

    [attack_anim]
        offset="0:250,0~0.6:375,0.6~0:500"
        [filter_attack]
            name=greathammer
        [/filter_attack]
        start_time=-500
        [frame]
            image="units/owaec/L3/owaec-L3-attack[1~7].png:125"
            sound=horse-canter.wav
        [/frame]
        {SOUND:HIT_AND_MISS warhammer.ogg {SOUND_LIST:MISS} -200}
        [frame]
            image="units/owaec/L3/owaec-L3.png:200"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/owaec/L3/owaec-L3-slash[1~4].png:125"
            sound=horse-canter.wav
        [/frame]
        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
        [frame]
            image="units/owaec/L3/owaec-L3.png:200"
        [/frame]
    [/attack_anim]

    [standing_anim]
        [frame]
            image="units/owaec/L3/owaec-L3-breeze[1~4,2,5].png:[200,300*3,200*2]"
        [/frame]
    [/standing_anim]
[/unit_type]
