#textdomain wesnoth-units
[unit_type]
    id=Armageddon Drake
    name= _ "Armageddon Drake"
    race=drake
    image="units/drakes/armageddon.png"
    ellipse="misc/ellipse"
    profile="portraits/drakes/inferno.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=98
    movement_type=drakefly
    movement=5
    experience=200
    level=4
    alignment=lawful
    advances_to=null
#ifdef ENABLE_ARMAGEDDON_DRAKE
    [advancefrom]
        unit=Inferno Drake
        experience=220
    [/advancefrom]
#endif
    {AMLA_DEFAULT}
    cost=100
    usage=archer
    # wmllint: local spelling Armageddon
    description= _ "Were it not for the armor they wear, certain drakes might be indistinguishable from true dragons, at least to the lesser races for whom dragons are but legend. The creatures known as ‘Armageddon Drakes’ are towering things, both immune to and possessed of a tremendous fire."
    die_sound=drake-die.ogg

    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/drakes/transparent/inferno.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/drakes/transparent/inferno.png"
    [/portrait]

    {DEFENSE_ANIM "units/drakes/armageddon-defend-2.png" "units/drakes/armageddon-defend-1.png" {SOUND_LIST:DRAKE_HIT} }
    {DRAKE_STANDING_ANIM armageddon}
    {DRAKE_MOVEMENT_ANIM armageddon}
    {DRAKE_WEAPON_ANIM armageddon}
    {DRAKE_FIRE_ANIM_S_DIAGONAL armageddon 35,40}
    {DRAKE_FIRE_ANIM_N_DIAGONAL_CURRENT armageddon 35,-20}
    {DRAKE_FIRE_ANIM_S armageddon 8,50}
    {DRAKE_FIRE_ANIM_N_CURRENT armageddon 8,-50}
    [resistance]
        fire=0
    [/resistance]
    [attack]
        name=battle claws
        description=_"battle claws"
        icon=attacks/claws-drake.png
        type=blade
        range=melee
        damage=15
        number=2
    [/attack]
    [attack]
        name=fire breath
        description=_"fire breath"
        icon=attacks/fire-breath-drake.png
        type=fire
        range=ranged
        damage=12
        number=6
    [/attack]
    [attack_anim]
        [filter_attack]
            name=battle claws
        [/filter_attack]
        offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
        start_time=-300
        [frame]
            duration=100
            image="units/drakes/armageddon-melee-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/armageddon-melee-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/armageddon-melee-3.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                duration=100
                image="units/drakes/armageddon-melee-4.png"
                sound=claws.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                duration=100
                image="units/drakes/armageddon-melee-4.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/drakes/armageddon-melee-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/drakes/armageddon-melee-6.png"
        [/frame]
    [/attack_anim]
[/unit_type]
