#textdomain wesnoth-thot
[unit_type]
    [base_unit]
        id=Dwarvish Dragonguard
    [/base_unit]
    id=Dwarvish Masked Dragonguard
    name= _ "Dwarvish Masked Dragonguard"
    image="units/masked_dragonguard.png"
    {DEFENSE_ANIM_RANGE "units/masked_dragonguard-defend.png" "units/masked_dragonguard-melee1.png" {SOUND_LIST:DWARF_HIT} melee}
    {DEFENSE_ANIM_RANGE "units/masked_dragonguard-defend.png" "units/masked_dragonguard.png" {SOUND_LIST:DWARF_HIT} ranged}
    [attack_anim]
        [filter_attack]
            name=dragonstaff
        [/filter_attack]
        direction=se,sw
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/bullet.png"
            image_diagonal="projectiles/bullet.png"
        [/missile_frame]
        [frame]
            begin=-600
            end=-400
            image="units/masked_dragonguard-defend.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-se.png"
                sound=dragonstick.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-se.png"
                sound=dragonstick-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dragonstaff
        [/filter_attack]
        direction=ne,nw
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/bullet.png"
            image_diagonal="projectiles/bullet.png"
        [/missile_frame]
        [frame]
            begin=-600
            end=-400
            image="units/masked_dragonguard-defend.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-ne.png"
                sound=dragonstick.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-ne.png"
                sound=dragonstick-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dragonstaff
        [/filter_attack]
        direction=n
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/bullet.png"
            image_diagonal="projectiles/bullet.png"
        [/missile_frame]
        [frame]
            begin=-600
            end=-400
            image="units/masked_dragonguard-attack-n.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-n.png"
                sound=dragonstick.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-n.png"
                sound=dragonstick-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dragonstaff
        [/filter_attack]
        direction=s
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/bullet.png"
            image_diagonal="projectiles/bullet.png"
        [/missile_frame]
        [frame]
            begin=-600
            end=-400
            image="units/masked_dragonguard-attack-s.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-s.png"
                sound=dragonstick.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-400
                end=0
                image="units/masked_dragonguard-attack-s.png"
                sound=dragonstick-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=dagger
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            image="units/masked_dragonguard-melee1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/masked_dragonguard-melee2.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/masked_dragonguard-melee2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=50
            end=150
            image="units/masked_dragonguard-melee1.png"
        [/frame]
    [/attack_anim]
[/unit_type]
