#textdomain wesnoth-utbs

[unit_type]
    id=Quenoth Mystic
    name= _ "female^Quenoth Mystic"
    race=elf
    gender=female
    image=units/quenoth/mystic/mystic.png
    profile="portraits/quenoth/mystic.png"
    hitpoints=26
    movement_type=quenoth_foot
    movement=5
    experience=28
    level=1
    alignment=neutral
    advances_to=Quenoth Shaman,Quenoth Sun Singer
    cost=18
    usage=healer
    [abilities]
        {UTBS_ABILITY_HEALS}
    [/abilities]
    description= _ "Like their ancestors, Quenoth Mystics are those who devote themselves to the natural energies that flow through body of Irdya. In the harsh, barren wastelands, however, these elves can no longer rely on the once vast forests from which their forebears drew much of their strength. Instead, sand and sun are the source of the elves’ new powers, which they employ to great effect in their homes in the deserts."+{SPECIAL_NOTES}+{SPECIAL_NOTES_UTBS_HEALS}+{SPECIAL_NOTES_DAZE}
    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
    [attack]
        name=staff
        #textdomain wesnoth-units
        description= _"staff"
        #textdomain wesnoth-utbs
        type=impact
        range=melee
        damage=4
        number=2
        range=melee
        icon=attacks/druidstaff.png
    [/attack]
    [attack]
        name=sand
        description= _"sand"
        type=impact
        range=ranged
        damage=3
        number=2
        icon=attacks/sand-storm.png
        [specials]
            {WEAPON_SPECIAL_DAZE}
        [/specials]
    [/attack]
    {DEFENSE_ANIM "units/quenoth/mystic/mystic-defend-2.png" "units/quenoth/mystic/mystic-defend-1.png" {SOUND_LIST:ELF_FEMALE_HIT} }
    [healing_anim]
        start_time=-450
        [frame]
            image="units/quenoth/mystic/mystic.png:50"
        [/frame]
        [frame]
            image="units/quenoth/mystic/mystic-heal-[1~8].png:70"
            halo=halo/elven/shaman-heal-halo-[1~7].png
        [/frame]
        [frame]
            image="units/quenoth/mystic/mystic.png:50"
        [/frame]
    [/healing_anim]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/quenoth/mystic/mystic.png:400"
        [/frame]
        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=sand
        [/filter_attack]
        missile_start_time=-200
        [missile_frame]
            duration=320
            offset=0.75~1.1,1.1~1.25
            halo="projectiles/sand-storm-[1~8].png:40"
            auto_vflip=no
        [/missile_frame]
        start_time=-320
        [frame]
            image="units/quenoth/mystic/mystic.png:450"
            sound=petrified.ogg
        [/frame]
    [/attack_anim]
[/unit_type]

#define QUENOTH_MYSTIC_VARIANT SUFFIX_NUMBER COST
    [unit_type]
        id=Quenoth Mystic{SUFFIX_NUMBER}
        [base_unit]
            id=Quenoth Mystic
        [/base_unit]
        hide_help=yes
        do_not_list=yes
        cost={COST}
    [/unit_type]
#enddef

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

#undef QUENOTH_MYSTIC_VARIANT
