#textdomain wesnoth-units
[unit_type]
    id=Drake Clasher
    name= _ "Drake Clasher"
    race=drake
    image="units/drakes/clasher.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    ellipse="misc/ellipse"
    hitpoints=43
    movement_type=drakefoot
    movement=5
    experience=45
    level=1
    alignment=lawful
    advances_to=Drake Thrasher,Drake Arbiter
    cost=19
    usage=fighter
    profile=portraits/drakes/clasher.png
    #wmllint: general spellings clasher Clasher clashers Clashers
    description= _ "The Clashers are members of a unique caste among the drakes. Their thick armor, while compensating for the drakes’ natural weakness against spears and arrows, is so heavy and restricting that they are not able to fly or muster enough breath to use their inner fire. They have embraced this handicap, completely encasing their wings to emphasize that they do not need flight to triumph in battle.

This is also the only caste that is allowed to break taboo and fight with spears in addition to the drake’s traditional metal claws, which makes them particularly good at ""resolving"" territorial disputes with other drakes and enforcing the laws of their tribe."+{SPECIAL_NOTES}+{SPECIAL_NOTES_FIRSTSTRIKE}
    die_sound=drake-die.ogg
    [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]
    [attack]
        name=war talon
        description=_"war talon"
        type=blade
        range=melee
        damage=5
        number=4
        icon=attacks/scimitar.png
    [/attack]
    [attack]
        name=spear
        description=_"spear"
        type=pierce
        range=melee
        damage=6
        number=4
        icon=attacks/spear.png
        [specials]
            {WEAPON_SPECIAL_FIRSTSTRIKE}
        [/specials]
    [/attack]
    {DEFENSE_ANIM_FILTERED "units/drakes/clasher-spear-defend-2.png" "units/drakes/clasher-spear-defend-1.png" {SOUND_LIST:DRAKE_HIT} (
        [filter_second_attack]
            type=pierce
        [/filter_second_attack]
    )}
    {DEFENSE_ANIM_FILTERED "units/drakes/clasher-blade-defend-2.png" "units/drakes/clasher-blade-defend-1.png" {SOUND_LIST:DRAKE_HIT} (
        [filter_second_attack]
            type=blade
        [/filter_second_attack]
    )}
    {DEFENSE_ANIM_RANGE "units/drakes/clasher-spear-defend-2.png" units/drakes/clasher-spear-defend-1.png {SOUND_LIST:DRAKE_HIT} ranged}
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=s
        offset=0.0~0.1:200,0.1~0.4:150,0.4~0.0:150
        start_time=-300
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-s-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/clasher-spear-s-3.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/clasher-spear-s-3.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-s-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-s-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-s-6.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=se,sw
        offset=0.0~0.0:200,0.0~0.2:150,0.2~0.0:150
        start_time=-300
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/clasher-spear-se-3.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/clasher-spear-se-3.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-spear-se-6.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
        [/filter_attack]
        direction=ne,n,nw
        start_time=-300
        [frame]
            duration=100
            image="units/drakes/clasher.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/clasher.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/clasher.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/clasher.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=war talon
        [/filter_attack]
        offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
        start_time=-300
        [frame]
            duration=25
            image="units/drakes/clasher-blade.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-blade-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-blade-2.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/clasher-blade-3.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/clasher-blade-3.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/clasher-blade-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-blade-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-blade-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/clasher-blade.png"
        [/frame]
    [/attack_anim]
[/unit_type]
