#textdomain wesnoth-units
[unit_type]
    id=Heavy Infantryman
    name= _ "Heavy Infantryman"
    race=human
    {TRAIT_FEARLESS}
    image="units/human-loyalists/heavyinfantry.png"
    profile="portraits/humans/heavy-infantry.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    ellipse="misc/ellipse"
    hitpoints=38
    movement_type=armoredfoot
    movement=4
    experience=40
    level=1
    alignment=lawful
    advances_to=Shock Trooper
    cost=19
    description= _ "Heavy infantry are an unusual choice for outfitting troops. They are very difficult to send afield in war, and are typically useful only in the defense of the city or castle in which they are stationed. Clad head to toe in full plate, and armed with large maces, heavy infantry excel at their sole purpose of melee combat. A few of them in the center of a line will shore up its strength considerably. The downsides to this are obvious, both in the weight of the metal, and the great care that must be taken of it, but in certain situations, these troops are well worth the trade-offs."
    die_sound={SOUND_LIST:HUMAN_DIE}
    usage=fighter
    {DEFENSE_ANIM "units/human-loyalists/heavyinfantry-defend-2.png" "units/human-loyalists/heavyinfantry-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/heavy-infantry.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/heavy-infantry.png"
    [/portrait]
    [attack]
        name=mace
        description=_"mace"
        type=impact
        range=melee
        damage=11
        number=2
    [/attack]
    [idle_anim]
        {STANDARD_IDLE_FILTER}
        start_time=0
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-1.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-3.png"
        [/frame]
        [frame]
            duration=300
            image="units/human-loyalists/heavy-infantry-idle-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-7.png"
        [/frame]
        [frame]
            duration=1000
            image="units/human-loyalists/heavy-infantry-idle-8.png"
        [/frame]
        [frame]
            duration=1000
            image="units/human-loyalists/heavy-infantry-idle-9.png"
        [/frame]
        [frame]
            duration=1000
            image="units/human-loyalists/heavy-infantry-idle-8.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-7.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-6.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-5.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-4.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-3.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-2.png"
        [/frame]
        [frame]
            duration=100
            image="units/human-loyalists/heavy-infantry-idle-1.png"
        [/frame]
    [/idle_anim]
    [attack_anim]
        [filter_attack]
            name=mace
        [/filter_attack]
        [frame]
            begin=-230
            end=-100
            image="units/human-loyalists/heavyinfantry-attack-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=100
                image="units/human-loyalists/heavyinfantry-attack-2.png"
                sound=mace.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=100
                image="units/human-loyalists/heavyinfantry-attack-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=100
            end=200
            image="units/human-loyalists/heavyinfantry.png"
        [/frame]
    [/attack_anim]
[/unit_type]
