#textdomain wesnoth-ei
[unit_type]
    id=Horse Lord
    name= _ "Horse Lord"
    race=human
    image="units/owaec/L4/owaec-L4.png~CROP(14,14,72,72)"
    {DEFENSE_ANIM "units/owaec/L4/owaec-L4-defend1.png" "units/owaec/L4/owaec-L4-defend2.png" {SOUND_LIST:HORSE_HIT} }
    hitpoints=85
    movement_type=mounted
    movement=7
    experience=200
    level=4
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    [resistance] # cavalryman resistances
        blade=70
        impact=60
        cold=80
    [/resistance]

    undead_variation=mounted
    cost=70
    usage=fighter
    small_profile="portraits/owaec.webp"
    profile="portraits/owaec.webp"
    description= _ "The greatest of the men of the plains, Horse Lords are heads of their houses and are respected by all, friend or foe. These lords lead by example, dominating the battlefield from the head of a cavalry charge."

    {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=9
        number=4
    [/attack]
    [attack]
        name=greathammer
        description= _"greathammer"
        type=impact
        range=melee
        damage=36
        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/L4/owaec-L4-attack[1~7].png:125"
            sound=horse-canter.wav
        [/frame]
        {SOUND:HIT_AND_MISS warhammer.ogg {SOUND_LIST:MISS} -200}
        [frame]
            image="units/owaec/L4/owaec-L4.png:200"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/owaec/L4/owaec-L4-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/L4/owaec-L4.png:200"
        [/frame]
    [/attack_anim]

    [standing_anim]
        [frame]
            image="units/owaec/L4/owaec-L4-breeze1.png:500"
        [/frame]
        [frame]
            image="units/owaec/L4/owaec-L4-breeze[2~5].png:250"
        [/frame]
    [/standing_anim]
[/unit_type]
