#textdomain wesnoth-ei
[unit_type]
    id=Frontier Sergeant
    name= _ "Frontier Sergeant"
    race=human
    image="units/human-loyalists/sergeant.png"
    profile="portraits/gweddry.webp"
    {LEADING_ANIM "units/human-loyalists/sergeant-lead-2.png" "units/human-loyalists/sergeant-lead-1.png" -5,-25}
    hitpoints=32
    movement_type=smallfoot
    movement=6
    experience=32
    level=1
    alignment=lawful
    advances_to=Frontier Lieutenant
    cost=19
    usage=fighter
    #po: same as regular Sergeant's description
    description= _ "Sergeants are low-ranking officers of human armies. Though academically trained, they need some experience in the field before their leadership is sound and acknowledged. Still, their diligent bearing and basic insight of combat means they can more effectively rouse civilians and peasants in trying situations."
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM_RANGE "units/human-loyalists/sergeant-defend-2.png" "units/human-loyalists/sergeant-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee}
    {DEFENSE_ANIM_RANGE "units/human-loyalists/sergeant-crossbow-defend.png" "units/human-loyalists/sergeant-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged}
    [abilities]
        {ABILITY_LEADERSHIP}
    [/abilities]
    [attack]
        name=sword
        #textdomain wesnoth-units
        description=_"sword"
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=5
        number=3
    [/attack]
    [attack]
        name=crossbow
        description=_"crossbow"
        #textdomain wesnoth-ei
        icon=attacks/crossbow-human.png
        type=fire
        range=ranged
        damage=6
        number=2
    [/attack]
    [attack_anim]
        [filter_attack]
            name=crossbow
        [/filter_attack]
        missile_start_time=-150
        [missile_frame]
            duration=150
            image="projectiles/missile-fire-n.png"
            image_diagonal="projectiles/missile-fire-ne.png"
        [/missile_frame]
        start_time=-400
        [frame]
            image="units/human-loyalists/sergeant-crossbow.png:100"
        [/frame]
        {SOUND:HIT_AND_MISS crossbow-fire.ogg crossbow-fire-miss.ogg -300}
        [frame]
            image="units/human-loyalists/sergeant-crossbow-attack[1~2].png:150"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/human-loyalists/sergeant-attack-sword-[1~4].png:[75,150,100,75]"
        [/frame]
        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
        [frame]
            image="units/human-loyalists/sergeant.png:25"
        [/frame]
    [/attack_anim]
    [recruiting_anim]
        start_time=-126
        [frame]
            image=units/human-loyalists/sergeant-lead-1.png:100,units/human-loyalists/sergeant-lead-2.png:500,units/human-loyalists/sergeant-lead-1.png:100
        [/frame]
        halo_start_time=-100
        [halo_frame]
            halo="halo/misc/leadership-flare-[1~13].png:40"
            halo_x,halo_y=-6,-25
        [/halo_frame]
    [/recruiting_anim]
[/unit_type]
