#textdomain wesnoth-units
[unit_type]
    id=Saurian Skirmisher
    name= _ "Saurian Skirmisher"
    race=lizard
    image="units/saurians/skirmisher.png"
    ellipse="misc/ellipse"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile=portraits/saurians/skirmisher.png
    hitpoints=26
    movement_type=lizard
    movement=6
    experience=32
    level=1
    alignment=chaotic
    advances_to=Saurian Ambusher
    undead_variation=saurian
    cost=15
    usage=scout
    description= _ "Saurians are very small of frame, and though they are somewhat frail because of this, they are very, very agile. In combat, their size allows them to dart past defenses that would hold any grown man at bay, making them a tricky foe to deal with.

Spears are their preferred weapon, as their powerful hind legs can drive a spear with enough force to do considerable damage, either in hand or thrown."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SKIRMISHER}
    die_sound=hiss-die.wav
    {DEFENSE_ANIM "units/saurians/skirmisher-defend.png" "units/saurians/skirmisher.png" hiss-hit.wav }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/saurians/transparent/skirmisher.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/saurians/transparent/skirmisher.png"
    [/portrait]
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
    [idle_anim]
        {STANDARD_IDLE_FILTER}
        [filter]
            [filter_location]
                [not]
                    terrain=C*,K*,*^V*
                [/not]
            [/filter_location]
        [/filter]
        start_time=0
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-1.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-2.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-3.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-4.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-5.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-6.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-7.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-6.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-5.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-6.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-8.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-9.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-10.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-11.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-12.png"
        [/frame]
        [frame]
            duration=200
            image="units/saurians/skirmisher-idle-13.png"
        [/frame]
        [frame]
            duration=225
            image="units/saurians/skirmisher-idle-12.png"
        [/frame]
        [frame]
            duration=225
            image="units/saurians/skirmisher-idle-13.png"
        [/frame]
        [frame]
            duration=250
            image="units/saurians/skirmisher-idle-12.png"
        [/frame]
        [frame]
            duration=250
            image="units/saurians/skirmisher-idle-13.png"
        [/frame]
    [/idle_anim]
    [attack]
        name=spear
        description=_"spear"
        range=melee
        type=pierce
        damage=4
        number=4
        icon=attacks/spear.png
    [/attack]
    [attack]
        name=spear
        description=_"spear"
        range=ranged
        type=pierce
        damage=4
        number=2
        icon=attacks/spear.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=spear
            range=ranged
        [/filter_attack]
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/spear-n.png"
            image_diagonal="projectiles/spear-ne.png"
        [/missile_frame]
        [frame]
            begin=-200
            end=-100
            image="units/saurians/skirmisher-attack-ranged-1.png"
            sound={SOUND_LIST:THROW}
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/saurians/skirmisher-attack-ranged-2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/saurians/skirmisher-attack-ranged-2.png"
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
            range=melee
        [/filter_attack]
        direction=ne,nw,s,se,sw
        [frame]
            begin=-150
            end=-100
            image="units/saurians/skirmisher-attack1.png"
        [/frame]
        [if]
            hits=no
            [frame]
                sound=spear-miss.ogg
                begin=-100
                end=50
                image="units/saurians/skirmisher-attack2.png"
            [/frame]
        [/if]
        [else]
            hits=yes
            [frame]
                sound=spear.ogg
                begin=-100
                end=50
                image="units/saurians/skirmisher-attack2.png"
            [/frame]
        [/else]
        [frame]
            begin=50
            end=150
            image="units/saurians/skirmisher-defend.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/saurians/skirmisher.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
            range=melee
        [/filter_attack]
        direction=n
        [frame]
            begin=-150
            end=-100
            image=units/saurians/skirmisher-attack-n1.png
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=90
                image=units/saurians/skirmisher-attack-n2.png
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=90
                image=units/saurians/skirmisher-attack-n2.png
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=90
            end=150
            image="units/saurians/skirmisher-attack1.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/saurians/skirmisher.png"
        [/frame]
    [/attack_anim]
[/unit_type]
