#textdomain wesnoth-units
[unit_type]
    id=Lancer
    name= _ "Lancer"
    race=human
    image="units/human-loyalists/lancer/lancer.png"
    profile="portraits/humans/lancer.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=50
    movement_type=mounted
    movement=10
    experience=100
    level=2
    alignment=lawful
    advances_to=null
    {AMLA_DEFAULT}
    undead_variation=mounted
    cost=40
    usage=fighter
    description= _ "Lancers are among the bravest and most feared riders in all of Wesnoth. Clad in minimal armor, they free themselves to ride swiftly, faster than any of their peers. The daring tactics they employ are like a double-edged sword, for they often win either glory or a swift death. Lancers excel in hunting down infantrymen who have made the mistake of breaking formation, and in piercing defensive lines. However, they have limited use in defense."+{SPECIAL_NOTES}+{SPECIAL_NOTES_CHARGE}
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/lancer.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/lancer.png"
    [/portrait]
    die_sound=horse-die.ogg
    [attack]
        name=lance
        description=_"lance"
        type=pierce
        [specials]
            {WEAPON_SPECIAL_CHARGE}
        [/specials]
        range=melee
        damage=12
        number=3
    [/attack]
    {DEFENSE_ANIM "units/human-loyalists/lancer/lancer.png" "units/human-loyalists/lancer/lancer.png" {SOUND_LIST:HORSE_HIT} }
    [movement_anim]
        start_time=0
        [frame]
            image="units/human-loyalists/lancer/lancer.png:150"
        [/frame]
    [/movement_anim]
    [attack_anim]
        [filter_attack]
            name=lance
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/human-loyalists/lancer/lancer.png:25"
            sound=horse-canter.wav
        [/frame]
        [frame]
            image="units/human-loyalists/lancer/lancer.png:75"
        [/frame]
        {SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -150}
        [frame]
            image="units/human-loyalists/lancer/lancer.png:300"
        [/frame]
        [frame]
            image="units/human-loyalists/lancer/lancer.png:50"
        [/frame]
        [frame]
            image="units/human-loyalists/lancer/lancer.png:25"
        [/frame]
    [/attack_anim]
[/unit_type]
