#textdomain wesnoth-thot
[unit_type]
    [base_unit]
        id=Dwarvish Fighter
    [/base_unit]
    id=Dwarvish Masked Fighter
    name=_"Dwarvish Masked Fighter"
    image="units/masked_fighter.png"
    advances_to=Dwarvish Masked Steelclad
    {DEFENSE_ANIM_FILTERED "units/masked_fighter-axedefend.png" "units/masked_fighter.png" {SOUND_LIST:DWARF_HIT} (
        [filter_second_attack]
            name=axe
        [/filter_second_attack]
    )}
    {DEFENSE_ANIM_FILTERED "units/masked_fighter-hammerdefend.png" "units/masked_fighter.png" {SOUND_LIST:DWARF_HIT} (
        [filter_second_attack]
            name=hammer
        [/filter_second_attack]
    )}
    {DEFENSE_ANIM_RANGE "units/masked_fighter-hammer.png" "units/masked_fighter.png" {SOUND_LIST:DWARF_HIT} ranged}
    [attack_anim]
        [filter_attack]
            name=hammer
        [/filter_attack]
        [frame]
            begin=-200
            end=-150
            image="units/masked_fighter-hammer.png"
        [/frame]
        [frame]
            begin=-150
            end=-100
            image="units/masked_fighter-hammer1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/masked_fighter-hammer2.png"
                sound=mace.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/masked_fighter-hammer2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=175
            image="units/masked_fighter-hammer3.png"
        [/frame]
        [frame]
            begin=175
            end=200
            image="units/masked_fighter-hammer.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=axe
        [/filter_attack]
        [frame]
            begin=-200
            end=-175
            image="units/masked_fighter-axe5.png"
        [/frame]
        [frame]
            begin=-175
            end=-100
            image="units/masked_fighter-axe1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/masked_fighter-axe2.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/masked_fighter-axe2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=50
            end=100
            image="units/masked_fighter-axe3.png"
        [/frame]
        [frame]
            begin=100
            end=150
            image="units/masked_fighter-axe4.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/masked_fighter-axe5.png"
        [/frame]
    [/attack_anim]
[/unit_type]
