#textdomain wesnoth-did
[unit_type]
    # Malin’s older sister, an Outlaw Princess with altered description.
    # Pictures taken from The Rise of Wesnoth.
    id=Frontier Baroness
    name= _ "female^Frontier Baroness"
    race=human
    gender=female
    image="units/neutral-outlaw-princess.png"
    hitpoints=46
    movement_type=elusivefoot
    movement=7
    experience=100
    level=2
    alignment=neutral
    advances_to=null
    {AMLA_DEFAULT}
    cost=50
    [abilities]
        {ABILITY_SKIRMISHER}
    [/abilities]
    usage=mixed fighter
    description= _ "At Wesnoth’s frontiers, all able-bodied men and women must be able to defend their homes in times of need. Men are most often trained in the use of sword or bow and are used as soldiers who withstand the brunt of orcish assaults to hold the raiders at bay. Women, instead, learn to use the staff and sling and are most effective as scouts and ambushers. The most proficient are powerful skirmishers and are highly adept at reconnaissance, allowing them to often outmaneuver and entrap orcish raiders."
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [defend]
        hits=miss

        [frame]
            image="units/neutral-outlaw-princess.png:1"
        [/frame]
        [frame]
            image="units/neutral-outlaw-princess-defend-1-[1,2,1].png:[83*2,84]"
        [/frame]
        [frame]
            image="units/neutral-outlaw-princess.png:100"
        [/frame]
    [/defend]
    [defend]
        hits=hit

        start_time=-126
        sound_start_time=-25

        [frame]
            image="units/neutral-outlaw-princess.png:1,units/neutral-outlaw-princess-defend.png:250,units/neutral-outlaw-princess.png:1"
        [/frame]

        [sound_frame]
            sound={SOUND_LIST:HUMAN_FEMALE_HIT}
        [/sound_frame]
    [/defend]
    [defend]
        hits=kill

        start_time=-126

        [frame]
            image="units/neutral-outlaw-princess.png:1,units/neutral-outlaw-princess-defend.png:250,units/neutral-outlaw-princess.png:1"
        [/frame]
    [/defend]
    [attack]
        name=staff
        #textdomain wesnoth-units
        description= _"staff"
        type=impact
        range=melee
        damage=7
        number=2
        icon=attacks/quarterstaff.png
    [/attack]
    [attack]
        name=sling
        description= _"sling"
        #textdomain wesnoth-did
        type=impact
        range=ranged
        damage=6
        number=3
        icon=attacks/sling.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=sling
        [/filter_attack]

        start_time=-400
        sound_start_time=-400
        offset=0.0

        [if]
            hits=yes
            {MISSILE_FRAME_STONE_HIT 8 -8}
            [sound_frame]
                sound=sling.ogg
            [/sound_frame]
        [/if]
        [else]
            hits=no
            {MISSILE_FRAME_STONE_MISS 8 -8}
            [sound_frame]
                sound=sling-miss.ogg
            [/sound_frame]
        [/else]
        [frame]
            image="units/neutral-outlaw-princess-attack-sling[1~2].png:[250,200]"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]

        start_time=-225

        [frame]
            image="units/neutral-outlaw-princess.png:75"
        [/frame]
        [frame]
            image="units/neutral-outlaw-princess-attack-staff[1~2].png:[75,175]"
        [/frame]
        [frame]
            image="units/neutral-outlaw-princess-defend-1-2.png:50"
        [/frame]
        [frame]
            image="units/neutral-outlaw-princess.png:25"
        [/frame]

        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
    [/attack_anim]
[/unit_type]
