#textdomain wesnoth-units
[unit_type]
    id=Drake Arbiter
    name= _ "Drake Arbiter"
    race=drake
    image="units/drakes/arbiter.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=62
    movement_type=drakefoot
    movement=5
    experience=105
    level=2
    alignment=lawful
    advances_to=Drake Warden
    undead_variation=drake
    cost=31
    usage=fighter
    profile=portraits/drakes/clasher.png
    description= _ "Arbiters take their caste duty of enforcing order very seriously. In order to better execute their duties, they have abandoned the drakes' traditional hand-mounted claws and traded their spears for the spike and blade of the halberd. In their minds, the loss of maneuverability is a fair price for the raw heft the massive metal head provides. The thick plate these drakes wear protects them well against weapons that could slip between their scales."+{SPECIAL_NOTES}+{SPECIAL_NOTES_FIRSTSTRIKE}
    die_sound=drake-die.ogg
    {DEFENSE_ANIM "units/drakes/arbiter-defend-2.png" "units/drakes/arbiter-defend-1.png" {SOUND_LIST:DRAKE_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/drakes/transparent/clasher.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/drakes/transparent/clasher.png"
    [/portrait]
    #   [death]
    #   [/death]
    [resistance]
        pierce=90
    [/resistance]
    [attack]
        name=halberd
        description=_"halberd"
        type=blade
        range=melee
        damage=11
        number=3
        icon=attacks/halberd.png
    [/attack]
    [attack]
        name=halberd
        description=_"halberd"
        type=pierce
        range=melee
        [specials]
            {WEAPON_SPECIAL_FIRSTSTRIKE}
        [/specials]
        damage=17
        number=2
        icon=attacks/halberd.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=halberd
            type=pierce
        [/filter_attack]
        direction=s
        offset=0.0~0.1,0.1~0.0
        start_time=-300
        [frame]
            duration=50
            image="units/drakes/arbiter.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter-pierce-se-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter-pierce-se-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-s-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-s-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-s-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-s-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-s-7.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=halberd
            type=pierce
        [/filter_attack]
        direction=se,sw
        offset=0.0~0.1,0.1~0.0
        start_time=-300
        [frame]
            duration=50
            image="units/drakes/arbiter.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter-pierce-se-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter-pierce-se-2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-pierce-se-7.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=halberd
            type=pierce
        [/filter_attack]
        direction=ne,n,nw
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
    [/attack_anim]

    [attack_anim]
        [filter_attack]
            name=halberd
            type=blade
        [/filter_attack]
        direction=s
        offset=0.0~0.1,0.1~0.0
        start_time=-300
        [frame]
            duration=50
            image="units/drakes/arbiter.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter-blade-se-2.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter-blade-se-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-s-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-s-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-s-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=halberd
            type=blade
        [/filter_attack]
        direction=se,sw
        offset=0.0~0.1,0.1~0.0
        start_time=-300
        [frame]
            duration=50
            image="units/drakes/arbiter.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter-blade-se-2.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter-blade-se-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter-blade-se-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/arbiter.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=halberd
            type=blade
        [/filter_attack]
        direction=ne,n,nw
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/arbiter.png"
                sound=axe.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/arbiter.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
[/unit_type]
