#textdomain wesnoth-units
[unit_type]
    id=Cavalryman
    name= _ "Cavalryman"
    race=human
    image="units/human-loyalists/cavalryman/cavalryman.png"
    profile="portraits/humans/cavalryman.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=34
    movement_type=mounted
    movement=8
    experience=40
    level=1
    alignment=lawful
    advances_to=Dragoon
    undead_variation=mounted
    cost=17
    usage=scout
    #extra resistance for these units
    description= _ "Cavalrymen are distinguished from horsemen by their tactics and equipment. A cavalryman wears heavier armor, and carries a sword and shield, rather than a lance. Their tactics do not include charging; instead they maneuver to slash with a sword, using both horse and rider as an effective tool of melee.

Cavalrymen are very useful for taking and holding positions on open ground, for screening friendly soldiers, and also for scouting work."
    die_sound=horse-die.ogg
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/cavalryman.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/cavalryman.png"
    [/portrait]
    [movement_anim]
        start_time=0
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:150"
        [/frame]
    [/movement_anim]
    {DEFENSE_ANIM "units/human-loyalists/cavalryman/cavalryman.png" "units/human-loyalists/cavalryman/cavalryman.png" {SOUND_LIST:HORSE_HIT} }
    [resistance]
        blade=70
        impact=60
        cold=80
    [/resistance]
    [death]
        start_time=0
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:200"
        [/frame]
    [/death]
    [attack]
        name=sword
        description=_"sword"
        icon=attacks/sword-human.png
        type=blade
        range=melee
        damage=6
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sword
        [/filter_attack]
        start_time=-225
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:25"
        [/frame]
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:50"
            sound=horse-canter.wav
        [/frame]
        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:300"
        [/frame]
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:50"
        [/frame]
        [frame]
            image="units/human-loyalists/cavalryman/cavalryman.png:25"
        [/frame]
    [/attack_anim]
[/unit_type]
