#textdomain wesnoth-ei
[unit_type]
    id=Barrow Wight
    name= _ "Barrow Wight"
    race=undead
    image="units/undead-wight/barrow-wight.png"
    profile=portraits/undead/death-knight.webp
    hitpoints=78
    movement_type=mounted
    movement=6
    experience=150
    level=3
    alignment=chaotic
    advances_to=null
    {AMLA_DEFAULT}
    cost=52
    usage=fighter
    description= _ "Perpetually haunted by the fading memory of its former life, a Barrow Wight wanders aimlessly in a delirium of darkness and despair. Their chill essence is shrouded behind cloak and bone, shielding them from most magic."
    die_sound=skeleton-big-die.ogg

    [standing_anim]
        start_time=0
        [frame]
            image="units/undead-wight/barrow-wight-standing[1~4,1~4,1~4,1~4].png:200"
        [/frame]
        [frame]
            image="units/undead-wight/barrow-wight-standing[1~4,1~4]bob.png:200"
        [/frame]
    [/standing_anim]
    [abilities]
        {ABILITY_SHROUD}
    [/abilities]

    {DEFENSE_ANIM "units/undead-wight/barrow-wight-defend1.png" "units/undead-wight/barrow-wight-defend2.png" {SOUND_LIST:SKELETON_HIT} }
    [resistance]
        blade=70
        pierce=80
        impact=90
        arcane=120
        fire=120
        cold=40
    [/resistance]

    [attack]
        name=sword
        icon=attacks/greatsword-orcish.png
        #textdomain wesnoth-units
        description=_"sword"
        type=blade
        range=melee
        damage=10
        number=4
    [/attack]
    [attack]
        name=trample
        icon="attacks/hoof-skeletal.png"
        description=_"trample"
        #textdomain wesnoth-ei
        type=impact
        range=melee
        damage=14
        number=2
        [specials]
            {WEAPON_SPECIAL_CHARGE}
        [/specials]
    [/attack]

    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/undead-wight/barrow-wight-attack[1~4].png:125"
            sound=horse-canter.wav
        [/frame]
        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
        [frame]
            image="units/undead-wight/barrow-wight.png:200"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=trample
        [/filter_attack]
        start_time=-275
        horse_sound_start_time=-275
        [frame]
            image="units/undead-wight/barrow-wight-trample1.png:275"
        [/frame]
        [frame]
            image="units/undead-wight/barrow-wight-trample[2~4].png:60"
        [/frame]
        [frame]
            image="units/undead-wight/barrow-wight-trample5.png:40"
        [/frame]
        [frame]
            image="units/undead-wight/barrow-wight.png:40"
        [/frame]
        [horse_sound_frame]
            sound=horse-canter.wav
        [/horse_sound_frame]
        {SOUND:HIT_AND_MISS club.ogg {SOUND_LIST:MISS} -75}
    [/attack_anim]
[/unit_type]
