#textdomain wesnoth-units
[unit_type]
    id=Drake Fighter
    name= _ "Drake Fighter"
    race=drake
    image="units/drakes/fighter.png"
    ellipse="misc/ellipse"
    profile="portraits/drakes/fighter.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=39
    movement_type=drakefly
    movement=6
    experience=42
    level=1
    alignment=lawful
    advances_to=Drake Warrior
    cost=17
    usage=fighter
    description= _ "Drake Fighters wield curved war blades, and possess the fire-breathing skills of their ancestors. They can also fly, which is troubling to any foe. Their great strength, coupled with their hardened scales, is rightly frightening to swordsman of any other race."
    die_sound=drake-die.ogg
    {DEFENSE_ANIM "units/drakes/fighter-defend-2.png" "units/drakes/fighter-defend-1.png" {SOUND_LIST:DRAKE_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/drakes/transparent/fighter.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/drakes/transparent/fighter.png"
    [/portrait]
    {DRAKE_STANDING_ANIM fighter}
    {DRAKE_WEAPON_ANIM fighter}
    [attack]
        name=war blade
        description=_"war blade"
        type=blade
        range=melee
        damage=7
        number=3
        icon=attacks/warblade.png
    [/attack]
    [attack]
        name=fire breath
        description=_"fire breath"
        icon=attacks/fire-breath-drake.png
        type=fire
        range=ranged
        damage=3
        number=3
    [/attack]
    {DRAKE_FIRE_ANIM_S_DIAGONAL fighter 35,40}
    {DRAKE_FIRE_ANIM_N_DIAGONAL_CURRENT fighter 35,-20}
    {DRAKE_FIRE_ANIM_S fighter 8,50}
    {DRAKE_FIRE_ANIM_N_CURRENT fighter 8,-50}

    [attack_anim]
        [filter_attack]
            name=war blade
        [/filter_attack]
        offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
        start_time=-400
        [frame]
            image="units/drakes/fighter.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/fighter-melee-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/fighter-melee-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/fighter-melee-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/fighter-melee-4.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/fighter-melee-4.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/fighter-melee-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/fighter-melee-6.png"
        [/frame]
        [frame]
            image="units/drakes/fighter.png"
        [/frame]
    [/attack_anim]
[/unit_type]
