#textdomain wesnoth-utbs

[unit_type]
    id=Desert Shaman
    name= _ "female^Desert Shaman"
    race=elf
    gender=female
    image=units/elves-desert/shaman.png
    {MAGENTA_IS_THE_TEAM_COLOR}
    hitpoints=26
    movement_type=desert_elf
    movement=5
    experience=32
    level=1
    alignment=lawful
    advances_to=Desert Druid
    cost=18
    usage=healer
    [abilities]
        {UTBS_ABILITY_HEALS}
    [/abilities]
    description= _ "Desert Shamans focus on less violent ways to hinder the enemy."+{SPECIAL_NOTES}+{SPECIAL_NOTES_UTBS_HEALS}+{SPECIAL_NOTES_SLOW}
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    # melee attack increased from 3-2 to 4-2
    # ranged attack decreased from 3-2 to 2-2
    [attack]
        name=staff
        description= _"staff"
        type=impact
        range=melee
        damage=4
        number=2
        range=melee
        icon=attacks/druidstaff.png
    [/attack]
    [attack]
        name=entangle
        description= _"entangle"
        type=impact
        range=ranged
        damage=2
        number=2
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
    [/attack]
    {DEFENSE_ANIM "units/elves-desert/shaman-defend.png" "units/elves-desert/shaman.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [healing_anim]
        start_time=-200
        [frame]
            image="units/elves-desert/shaman-heal[1,2].png:55"
        [/frame]
        [frame]
            image="units/elves-desert/shaman-heal[3~9].png:55"
            halo=halo/elven/shaman-heal-halo-[1~7].png
        [/frame]
        [frame]
            image="units/elves-desert/shaman-heal9.png:30"
        [/frame]
    [/healing_anim]
    [attack_anim]
        [filter_attack]
            name=entangle
        [/filter_attack]
        missile_start_time=-200
        [missile_frame]
            offset=1.0
            duration=150
            image="projectiles/entangle.png"
            image_diagonal="projectiles/entangle.png"
        [/missile_frame]
        start_time=-450
        [frame]
            image="units/elves-desert/shaman.png:225,units/elves-desert/shaman-attack2.png:225,units/elves-desert/shaman.png:100"
            halo=halo/elven/nature-halo[1~6].png:75,halo/elven/nature-halo[7~8].png:50
            halo_x,halo_y=0,-12
        [/frame]
        attack_sound_start_time=-75
        [attack_sound_frame]
            sound=entangle.wav
        [/attack_sound_frame]
        {SOUND:SLOW}
        [frame]
            image="units/elves-desert/shaman.png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]
        start_time=-175
        [frame]
            image="units/elves-desert/shaman.png:75"
        [/frame]
        {SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
        [frame]
            image="units/elves-desert/shaman-attack.png:200"
        [/frame]
        [frame]
            image="units/elves-desert/shaman.png:75"
        [/frame]
    [/attack_anim]
[/unit_type]

#define DESERT_SHAMAN_VARIANT SUFFIX_NUMBER COST
    [unit_type]
        id=Desert Shaman{SUFFIX_NUMBER}
        [base_unit]
            id=Desert Shaman
        [/base_unit]
        hide_help=true
        do_not_list=true
        cost={COST}
    [/unit_type]
#enddef

{DESERT_SHAMAN_VARIANT  1 19}
{DESERT_SHAMAN_VARIANT  2 20}
{DESERT_SHAMAN_VARIANT  3 21}
{DESERT_SHAMAN_VARIANT  4 22}
{DESERT_SHAMAN_VARIANT  5 23}
{DESERT_SHAMAN_VARIANT  6 24}
{DESERT_SHAMAN_VARIANT  7 25}
{DESERT_SHAMAN_VARIANT  8 26}
{DESERT_SHAMAN_VARIANT  9 27}
{DESERT_SHAMAN_VARIANT 10 28}

#undef DESERT_SHAMAN_VARIANT
