#textdomain wesnoth-units
[unit_type]
    id=Drake Burner
    name= _ "Drake Burner"
    race=drake
    image="units/drakes/burner.png"
    ellipse="misc/ellipse"
    profile="portraits/drakes/burner.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=42
    movement_type=drakefly
    movement=5
    experience=43
    level=1
    alignment=lawful
    advances_to=Fire Drake,Drake Flare
    cost=21
    usage=archer
    description= _ "Drake Burners are the proud few in whom the blood and strength of their remote ancestors runs truest, giving them the ability to breathe fire. This, coupled with their sheer size and fearsome claws, makes them deadly foes in combat."
    die_sound=drake-die.ogg
    {DEFENSE_ANIM "units/drakes/burner-defend-2.png" "units/drakes/burner-defend-1.png" {SOUND_LIST:DRAKE_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/drakes/transparent/burner.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/drakes/transparent/burner.png"
    [/portrait]
    {DRAKE_STANDING_ANIM burner}
    {DRAKE_MOVEMENT_ANIM burner}
    {DRAKE_WEAPON_ANIM burner}
    [attack]
        name=claws
        description=_"claws"
        icon=attacks/claws-drake.png
        type=blade
        range=melee
        damage=7
        number=2
    [/attack]
    [attack]
        name=fire breath
        description=_"fire breath"
        icon=attacks/fire-breath-drake.png
        type=fire
        range=ranged
        damage=6
        number=4
    [/attack]
    {DRAKE_FIRE_ANIM_S_DIAGONAL burner 35,40}
    {DRAKE_FIRE_ANIM_N_DIAGONAL_CURRENT burner 35,-20}
    {DRAKE_FIRE_ANIM_S burner 8,50}
    {DRAKE_FIRE_ANIM_N_CURRENT burner 8,-50}
    [attack_anim]
        [filter_attack]
            name=claws
        [/filter_attack]
        offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
        start_time=-300
        [frame]
            image="units/drakes/burner.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/burner-melee-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/burner-melee-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/burner-melee-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/burner-melee-4.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/burner-melee-4.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/burner-melee-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/burner-melee-6.png"
        [/frame]
        [frame]
            image="units/drakes/burner.png"
        [/frame]
    [/attack_anim]
[/unit_type]
