#textdomain wesnoth-units
[unit]
    id=Assassin
    name= _ "Assassin"
    race=human
    gender=male,female
    image="units/human-outlaws/assassin.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile=portraits/James_Woo/assassin.png
    hitpoints=51
    movement_type=elusivefoot
    movement=6
    experience=150
    level=3
    alignment=chaotic
    advanceto=null
    {AMLA_DEFAULT}
    cost=44
    usage=fighter
    unit_description= _ "The greatest of thieves are sometimes tasked to take far more than their victim's belongings. Masters of knife-fighting and uncannily light on their feet, these menacing figures will employ any means to dispatch their victims, be it poisoned knives thrown from afar, or a dagger planted in the back. Deadly at night, assassins are less able fighting under the open sun."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BACKSTAB}+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_SKIRMISHER}
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/human-outlaws/assassin-defend-2.png" "units/human-outlaws/assassin-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
    [attack]
        name=dagger
        description=_"dagger"
        icon=attacks/dagger-human.png
        type=blade
        range=melee
        damage=8
        number=3
        [specials]
            {WEAPON_SPECIAL_BACKSTAB}
        [/specials]
    [/attack]
    [attack]
        name=knife
        description=_"knife"
        icon=attacks/dagger-thrown-poison-human.png
        type=blade
        range=ranged
        [specials]
            {WEAPON_SPECIAL_POISON}
        [/specials]
        damage=5
        number=3
    [/attack]
    [attack_anim]
        [attack_filter]
            name=knife
        [/attack_filter]
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/dagger-n.png"
            image_diagonal="projectiles/dagger-ne.png"
        [/missile_frame]
        [if]
            hits=yes
            [frame]
                begin=-350
                end=-100
                image="units/human-outlaws/assassin-throwknife1.png"
                sound=throwing-knife.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-350
                end=-100
                image="units/human-outlaws/assassin-throwknife1.png"
                sound=throwing-knife-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=-100
            end=50
            image="units/human-outlaws/assassin-throwknife2.png"
        [/frame]
        {SOUND:POISON}
        [frame]
            begin=50
            end=50
            image="units/human-outlaws/assassin.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [attack_filter]
            name=dagger
        [/attack_filter]
        [frame]
            begin=-225
            end=-200
            image="units/human-outlaws/assassin.png"
        [/frame]
        [frame]
            begin=-200
            end=-100
            image="units/human-outlaws/assassin-melee-2-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=150
                image="units/human-outlaws/assassin-melee-2-2.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=150
                image="units/human-outlaws/assassin-melee-2-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=150
            end=200
            image="units/human-outlaws/assassin.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [attack_filter]
            name=dagger
        [/attack_filter]
        [frame]
            begin=-225
            end=-200
            image="units/human-outlaws/assassin.png"
        [/frame]
        [frame]
            begin=-200
            end=-100
            image="units/human-outlaws/assassin-melee-1-1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=150
                image="units/human-outlaws/assassin-melee-1-2.png"
                sound=dagger-swish.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=150
                image="units/human-outlaws/assassin-melee-1-2.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=150
            end=200
            image="units/human-outlaws/assassin.png"
        [/frame]
    [/attack_anim]
    [female]
        name= _ "female^Assassin"
        gender=female
        image="units/human-outlaws/assassin+female.png"
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/human-outlaws/assassin+female-defend-2.png" "units/human-outlaws/assassin+female-defend-1.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [attack_anim]
            [attack_filter]
                name=knife
            [/attack_filter]
            [if]
                [frame]
                    image="units/human-outlaws/assassin+female-throwknife1.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/human-outlaws/assassin+female-throwknife1.png"
                [/frame]
            [/else]
            [frame]
                image="units/human-outlaws/assassin+female-throwknife2.png"
            [/frame]
            [frame]
                image="units/human-outlaws/assassin+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [attack_filter]
                name=dagger
            [/attack_filter]
            [frame]
                image="units/human-outlaws/assassin+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/assassin+female-melee-2-1.png"
            [/frame]
            [if]
                [frame]
                    image="units/human-outlaws/assassin+female-melee-2-2.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/human-outlaws/assassin+female-melee-2-2.png"
                [/frame]
            [/else]
            [frame]
                image="units/human-outlaws/assassin+female.png"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [attack_filter]
                name=dagger
            [/attack_filter]
            [frame]
                image="units/human-outlaws/assassin+female.png"
            [/frame]
            [frame]
                image="units/human-outlaws/assassin+female-melee-1-1.png"
            [/frame]
            [if]
                [frame]
                    image="units/human-outlaws/assassin+female-melee-1-2.png"
                [/frame]
            [/if]
            [else]
                [frame]
                    image="units/human-outlaws/assassin+female-melee-1-2.png"
                [/frame]
            [/else]
            [frame]
                image="units/human-outlaws/assassin+female.png"
            [/frame]
        [/attack_anim]
    [/female]
[/unit]
