[unit]
#textdomain wesnoth
	id=Elyssa Silver Mage
	name= _ "female^Silver Mage"
	race=human
	gender=female
	image="units/human-magi/silver-mage+female.png"
	profile=portraits/elyssa_silver.png
	hitpoints=48
	movement_type=smallfoot
	movement=6
	experience=100
	level=3
	alignment=neutral
	advanceto=null
	{AMLA_TOUGH 3}
	cost=59
	usage=mixed fighter
	unit_description= _ "The many paths that a mage can take in study lead to strikingly different ends. Silver magi have devoted themselves to a study of the forces that bind reality together, and have managed, somewhat, to unravel the mysteries of a world far more vast than most would ever imagine. Often viewed as sages, or wandering mystics, silver magi act under an agenda which is obscure even to their own colleagues. Though helpful to the magisteriums which often employ them in the field, they remain somewhat aloof.

They have, in fact, their own order amongst the ranks of magi, an order which withholds certain secrets from their peers. One of these is an apparent ability to cross great distances, faster than one could possibly travel on foot. Members of the silver order ardently refuse to discuss the workings of this with any of their fellow magi, and on those rare occasions when others have pried into their work, they have abandoned the endeavor, never to speak of it again.

Silver magi are often more physically adept than other magi, and their skills are of undeniable use on the battlefield, if one can manage to coerce the mage into applying them.

Special Notes: the ranged attack of a silver mage is magical, and always has a high chance of hitting an opponent. Silver Magi are well-attuned to their magical natures and are highly resistant to non-physical damage. They can also teleport between any two villages instantly, though the player must control both, and the destination village must be unoccupied."
    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
    [resistance]
        fire=50
        cold=50
    [/resistance]
    [abilities]
        {ABILITY_TELEPORT}
    [/abilities]
    {DEFENSE_ANIM "units/human-magi/silver-mage+female-defend.png" "units/human-magi/silver-mage+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
    [attack]
        name=staff
        icon=attacks/staff-magic.png
        type=impact
        range=melee
        damage=7
        number=2
        [animation]
            [frame]
                begin=-250
                end=-200
                image="units/human-magi/silver-mage+female.png"
            [/frame]
            [frame]
                begin=-200
                end=-100
                image="units/human-magi/silver-mage+female-attack-staff1.png"
            [/frame]
            [if]
                hits=yes
                [frame]
                    begin=-100
                    end=100
                    image="units/human-magi/silver-mage+female-attack-staff2.png"
                    sound=staff.wav
                [/frame]
            [/if]
            [else]
                hits=no
                [frame]
                    begin=-100
                    end=100
                    image="units/human-magi/silver-mage+female-attack-staff2.png"
                    sound={SOUND_LIST:MISS}
                [/frame]
            [/else]
            [frame]
                begin=100
                end=175
                image="units/human-magi/silver-mage+female-attack-magic1.png"
            [/frame]
            [frame]
                begin=175
                end=250
                image="units/human-magi/silver-mage+female.png"
            [/frame]
        [/animation]
    [/attack]
    [attack]
        name=missile
        icon=attacks/magic-missile.png
        type=fire
        range=ranged
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=9
        number=4
        [animation]
            [missile_frame]
                begin=-200
                end=80
                halo=halo/mage-halo1.png,halo/mage-halo2-big.png,halo/mage-halo3-big.png,halo/mage-halo4-big.png,halo/mage-halo5-big.png,halo/mage-halo6-big.png
                halo_x,halo_y=13,-22
            [/missile_frame]

            [frame]
                begin=-400
                end=-350
                image=image="units/human-magi/silver-mage+female-attack-magic1.png"
            [/frame]
            [frame]
                begin=-350
                end=-200
                image=image="units/human-magi/silver-mage+female-attack-magic2.png"
                halo=halo/mage-preparation-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png
                halo_x,halo_y=13,-24
            [/frame]
            [if]
                hits=no
                [frame]
                    begin=-200
                    end=0
                    image="units/human-magi/silver-mage+female-attack-magic2.png"
                    halo=halo/mage-preparation-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png
                    halo_x,halo_y=13,-24
                    sound=magic-missile-1-miss.ogg,magic-missile-2-miss.ogg,magic-missile-3-miss.ogg
                [/frame]
            [/if]
            [else]
                hits=yes
                [frame]
                    begin=-300
                    end=0
                    image="units/human-magi/silver-mage+female-attack-magic2.png"
                    halo=halo/mage-preparation-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png
                    halo_x,halo_y=13,-24
                    sound=magic-missile-1.ogg,magic-missile-2.ogg,magic-missile-3.ogg
                [/frame]
            [/else]
            [frame]
                begin=0
                end=50
                image="units/human-magi/silver-mage+female-attack-magic1.png"
            [/frame]
        [/animation]
    [/attack]

[/unit]
