#textdomain wesnoth-did
[unit]
	# Malin's older sister, an Outlaw Princess with altered description.  Pictures taken from The Rise of Wesnoth official campaign.
	id=Frontier Baroness
	name= _ "female^Frontier Baroness"
	race=human
	gender=female
	image="neutral-outlaw-princess.png"
	image_defensive="neutral-outlaw-princess.png"
	hitpoints=46
	movement_type=elusivefoot
	movement=7
	experience=80
	level=2
	alignment=neutral
	advanceto=null
	cost=50
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
	usage=mixed fighter
	unit_description= _ "On the frontiers of Wesnoth, all able-bodied men and women must be able to defend the town at need.  While the men are most often trained in the use of sword or bow, the women learn the use of staff and sling.  The most proficient are more than a match for any orcs foolish enough to engage them in combat."
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [defend]
        hits=miss
        [frame]
            begin=-126
            end=-125
            image="neutral-outlaw-princess.png"
        [/frame]
        [frame]
            begin=-125
            end=-42
            image="neutral-outlaw-princess-defend-1-1.png"
        [/frame]
        [frame]
            begin=-42
            end=41
            image="neutral-outlaw-princess-defend-1-2.png"
        [/frame]
        [frame]
            begin=41
            end=125
            image="neutral-outlaw-princess-defend-1-1.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="neutral-outlaw-princess.png"
        [/frame]
    [/defend]
    [defend]
        hits=hit
        [frame]
            begin=-126
            end=-125
            image="neutral-outlaw-princess.png"
        [/frame]
        [frame]
            begin=-125
            end=125
            image="neutral-outlaw-princess-defend.png"
            sound={SOUND_LIST:HUMAN_FEMALE_HIT}
        [/frame]
        [frame]
            begin=125
            end=126
            image="neutral-outlaw-princess.png"
        [/frame]
    [/defend]
    [defend]
        hits=kill
        [frame]
            begin=-126
            end=-125
            image="neutral-outlaw-princess.png"
        [/frame]
        [frame]
            begin=-125
            end=125
            image="neutral-outlaw-princess-defend.png"
        [/frame]
        [frame]
            begin=125
            end=126
            image="neutral-outlaw-princess.png"
        [/frame]
    [/defend]
    [attack]
        name=staff
        description= _"staff"
        type=impact
        range=melee
        damage=7
        number=2
        icon=attacks/quarterstaff.png
        [animation]
            [frame]
                begin=-175
                end=-150
                image="neutral-outlaw-princess.png"
            [/frame]
            [frame]
                begin=-150
                end=-75
                image="neutral-outlaw-princess-attack-staff1.png"
            [/frame]
            [if]
                hits=no
                [frame]
                    begin=-75
                    end=100
                    image="neutral-outlaw-princess-attack-staff2.png"
                    sound={SOUND_LIST:MISS}
                [/frame]
            [/if]
            [else]
                hits=yes
                [frame]
                    begin=-75
                    end=100
                    image="neutral-outlaw-princess-attack-staff2.png"
                    sound=staff.wav
                [/frame]
            [/else]
            [frame]
                begin=100
                end=150
                image="neutral-outlaw-princess-defend-1-2.png"
            [/frame]
            [frame]
                begin=150
                end=175
                image="neutral-outlaw-princess.png"
            [/frame]
        [/animation]
    [/attack]
    [attack]
        name=sling
        description= _"sling"
        type=impact
        range=ranged
        damage=6
        number=3
        icon=attacks/sling.png
        [animation]
            [missile_frame]
                begin=-150
                end=0
                image="projectiles/stone.png"
                image_diagonal="projectiles/stone.png"
            [/missile_frame]
            [if]
                hits=yes
                [frame]
                    begin=-400
                    end=-100
                    image="neutral-outlaw-princess-attack-sling1.png"
                    sound=sling.ogg
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    begin=-400
                    end=-100
                    image="neutral-outlaw-princess-attack-sling1.png"
                    sound=sling-miss.ogg
                [/frame]
            [/else]
            [frame]
                begin=-100
                end=50
                image="neutral-outlaw-princess-attack-sling2.png"
            [/frame]
        [/animation]
    [/attack]
[/unit]
