#textdomain wesnoth-units
[unit_type]
    id=Saurian Skirmisher
    name= _ "Saurian Skirmisher"
    race=lizard
    image="units/saurians/skirmisher/skirmisher.png"
    {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
    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
    [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]
            image="units/saurians/skirmisher/skirmisher-idle-[1~7,6,5,6,8~13].png:200,units/saurians/skirmisher/skirmisher-idle-[12,13,12,13].png:[225*2,250*2]"
        [/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]

    {DEFENSE_ANIM_DIRECTIONAL "units/saurians/skirmisher/skirmisher-se-defend2.png" "units/saurians/skirmisher/skirmisher-se-defend1.png" "units/saurians/skirmisher/skirmisher-ne-defend2.png" "units/saurians/skirmisher/skirmisher-ne-defend1.png" hiss-hit.wav }
    {STANDING_ANIM_DIRECTIONAL_6_FRAME "units/saurians/skirmisher/skirmisher"}
    {MOVING_ANIM_DIRECTIONAL_12_FRAME "units/saurians/skirmisher/skirmisher"}
    {DEATH_ANIM_DIRECTIONAL_4_FRAME "units/saurians/skirmisher/skirmisher"}

    [attack_anim]
        [filter_attack]
            name=spear
            range=ranged
        [/filter_attack]
        missile_start_time=-150
        [missile_frame]
            duration=150
            offset=-0.2~1.0
            image="projectiles/spear-n.png"
            image_diagonal="projectiles/spear-ne.png"
        [/missile_frame]

        start_time=-450
        throw_sound_start_time=-150
        sound_start_time=-100

        [throw_sound_frame]
            sound={SOUND_LIST:THROW}
        [/throw_sound_frame]

        [if]
            hits=yes
            [sound_frame]
                sound=spear.ogg
            [/sound_frame]
        [/if]
        [if]
            direction=s,se,sw
            [frame]
                image="units/saurians/skirmisher/skirmisher-se-throw[1~9].png:100"
            [/frame]
        [/if]
        [else]
            direction=n,ne,nw
            [frame]
                image="units/saurians/skirmisher/skirmisher-ne-throw[1~9].png:100"
            [/frame]
        [/else]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=spear
            range=melee
        [/filter_attack]

        offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
        start_time=0
        {ATTACK_ANIM_QUAD_DIRECTIONAL_10_FRAME "units/saurians/skirmisher/skirmisher" "melee" spear.ogg spear-miss.ogg}
    [/attack_anim]
[/unit_type]
