#textdomain wesnoth-tsg
[unit_type]
    id=Infantry Commander
    name= _ "Infantry Commander"
    race=human
    image="units/infantry-commander.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    [leading_anim]
        [frame]
            begin=-150
            end=150
            image="units/infantry-commander.png"
        [/frame]
    [/leading_anim]
    hitpoints=64
    alignment=lawful
    cost=70
    movement_type=armoredfoot
    movement=5
    level=3
    advances_to=null
    {AMLA_DEFAULT}
    experience=150
    [abilities]
        {ABILITY_LEADERSHIP_LEVEL_3}
    [/abilities]
    usage=fighter
    description= _ "Veteran commanders have faced battle many times and led their men with steady hands and calm determination."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}+{SPECIAL_NOTES_SLOW}
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=glaive
        description= _"glaive"
        icon=attacks/glaive.png
        type=blade
        range=melee
        damage=10
        number=4
    [/attack]
    [attack]
        name=shield
        description= _"shield"
        type=impact
        range=melee
        damage=10
        number=2
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        icon=attacks/rectangular-shield.png
    [/attack]
    {DEFENSE_ANIM "units/infantry-commander.png" "units/infantry-commander.png" {SOUND_LIST:HUMAN_HIT} }
    [attack_anim]
        start_time=-500
        [filter_attack]
            name=glaive
        [/filter_attack]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [if]
            hits=no
            [frame]
                duration=100
                image="units/infantry-commander.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                duration=100
                image="units/infantry-commander.png"
                sound={SOUND_LIST:SWORD_SWISH}
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        start_time=-500
        [filter_attack]
            name=shield
        [/filter_attack]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [if]
            hits=no
            [frame]
                duration=100
                image="units/infantry-commander.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                duration=100
                image="units/infantry-commander.png"
                sound="mace.wav"
            [/frame]
        [/else]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
        [frame]
            duration=100
            image="units/infantry-commander.png"
        [/frame]
    [/attack_anim]
[/unit_type]
