#textdomain wesnoth-units
[unit_type]
    id=Shock Trooper
    name= _ "Shock Trooper"
    race=human
    {TRAIT_FEARLESS}
    image="units/human-loyalists/shocktrooper.png"
    profile="portraits/humans/iron-mauler.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=52
    movement_type=armoredfoot
    movement=4
    experience=110
    level=2
    alignment=lawful
    advances_to=Iron Mauler
    cost=35
    description= _ "Shock troopers are the elite of the heavy infantry, and a significant part of their use is mere intimidation. The only men who can enter their ranks are prodigiously well-built, and when clad in black plate brimming with spikes, they are a fearsome sight to behold. The sight of Shock Troopers breaking an enemy often does the same to the morale of any opposition, who sometimes wonder if such armor covers monsters, rather than men. The drawback of such heavy armor is, of course, the time it takes to move into and out of combat."
    die_sound={SOUND_LIST:HUMAN_DIE}
    usage=fighter
    {DEFENSE_ANIM "units/human-loyalists/shocktrooper-defend-2.png" "units/human-loyalists/shocktrooper-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/iron-mauler.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/iron-mauler.png"
    [/portrait]
    [attack]
        name=morning star
        description=_"morning star"
        icon=attacks/morning-star.png
        type=impact
        range=melee
        damage=18
        number=2
    [/attack]
    [attack_anim]
        [filter_attack]
            name=morning star
        [/filter_attack]
        [if]
            hits=yes
            [frame]
                begin=-260
                end=-175
                image="units/human-loyalists/shocktrooper-attack-1.png"
                sound=flail.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-260
                end=-175
                image="units/human-loyalists/shocktrooper-attack-1.png"
                sound=flail-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=-175
            end=-75
            image="units/human-loyalists/shocktrooper-attack-2.png"
        [/frame]
        [frame]
            begin=-75
            end=50
            image="units/human-loyalists/shocktrooper-attack-3.png"
        [/frame]
        [frame]
            begin=50
            end=100
            image="units/human-loyalists/shocktrooper-attack-4.png"
        [/frame]
        [frame]
            begin=100
            end=150
            image="units/human-loyalists/shocktrooper-attack-5.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/human-loyalists/shocktrooper-attack-6.png"
        [/frame]
    [/attack_anim]
[/unit_type]
