#textdomain wesnoth-units
[unit_type]
    id=Dark Sorcerer
    name= _ "Dark Sorcerer"
    gender=male,female
    race=human
    image="units/undead-necromancers/dark-sorcerer.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile="portraits/humans/necromancer.png"
    hitpoints=48
    movement_type=smallfoot
    movement=5
    experience=90
    level=2
    alignment=chaotic
    advances_to=Lich,Necromancer
    cost=32
    usage=mixed fighter
    description= _ "The dread inspired by black magic is enhanced by the secrecy and fell rumors which surround it. Dark sorcerers have begun to unlock the secrets of life and death, the latter of which is all too easy to inflict. This labor gives the first glimmerings of the connection between the soul and inert matter, and the first successful experiments in manipulating this bond. The terrible unknown that lurks beyond death is glimpsed, and will inevitably be fathomed.

Despite any design they may have of using this to wrest their own immortality from nature’s grasp, the first results of their work have immediate, and unpleasant applications. The life they breathe into dead matter can create servants for them, servants which will work, but which will also kill, and will never question their masters. These creations have a loyalty any tyrant would dream of, and it is tempting to those with even the slightest desire for power."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_ARCANE}
    die_sound={SOUND_LIST:HUMAN_DIE}
    {DEFENSE_ANIM "units/undead-necromancers/dark-sorcerer-defend.png" "units/undead-necromancers/dark-sorcerer.png" {SOUND_LIST:HUMAN_OLD_HIT} }
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/humans/transparent/necromancer.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/humans/transparent/necromancer.png"
    [/portrait]
    [recruiting_anim]
        [filter_second]
            race=undead
        [/filter_second]
        start_time=-300
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-3.png"
            halo=halo/undead/black-magic-[1~5].png:[75*4,50]
        [/frame]
        sound_start_time=-75
        [sound_frame]
            sound=magic-dark.ogg
        [/sound_frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[2,1].png:50"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer.png:1"
        [/frame]
    [/recruiting_anim]
    [attack]
        name=staff
        description=_"staff"
        icon=attacks/staff-necromantic.png
        type=impact
        range=melee
        damage=4
        number=3
    [/attack]
    [attack]
        name=chill wave
        description=_"chill wave"
        type=cold
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=13
        number=2
        icon=attacks/iceball.png
    [/attack]
    [attack]
        name=shadow wave
        description=_"shadow wave"
        type=arcane
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        range=ranged
        damage=9
        number=2
        icon=attacks/dark-missile.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=chill wave
        [/filter_attack]

        {MISSILE_FRAME_CHILL_WAVE 0 -5}

        start_time=-355
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-3.png"
            halo=halo/undead/black-magic-[1~5].png:[75*4,50]
        [/frame]
        {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -120}
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[2,1].png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=shadow wave
        [/filter_attack]

        {MISSILE_FRAME_SHADOW_WAVE}

        start_time=-675
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-3.png"
            halo=halo/undead/black-magic-[1~5].png:[75*4,50]
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-3.png:200"
        [/frame]
        {SOUND:HIT_AND_MISS magic-dark-big.ogg magic-dark-big-miss.ogg -50}
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-[2,1].png:50"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer.png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=staff
        [/filter_attack]
        start_time=-250
        [frame]
            image="units/undead-necromancers/dark-sorcerer.png:50"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer-attack-staff-[1~2].png:[100,200]"
        [/frame]
        {SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
        [frame]
            image="units/undead-necromancers/dark-sorcerer-magic-1.png:75"
        [/frame]
        [frame]
            image="units/undead-necromancers/dark-sorcerer.png:75"
        [/frame]
    [/attack_anim]
    [female]
        name= _ "Dark Sorceress"
        gender=female
        image="units/undead-necromancers/dark-sorcerer+female.png"
        profile="portraits/humans/necromancer+female.png"
        description= _ "The dread inspired by black magic comes chiefly from how little is known about it by the common man. Dark sorceresses have begun to unlock the secrets of life and death, the latter of which is all too easy to inflict. This labor gives the first glimmerings of the connection between the soul and inert matter, and the first successful experiments in manipulating this bond. The terrible unknown that lurks beyond death is glimpsed, and will inevitably be fathomed.

Despite any design they may have of using this to wrest their own immortality from nature’s grasp, the first results of their work have immediate, and unpleasant applications. The life they breathe into dead matter can create servants for them, servants which will work, but which will also kill, and will never question their mistress. These creations have a loyalty any tyrant would dream of, and it is tempting to those with even the merest desire for power."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}
        die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
        {DEFENSE_ANIM "units/undead-necromancers/dark-sorcerer+female-defend.png" "units/undead-necromancers/dark-sorcerer+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
        [portrait]
            size=400
            side="left"
            mirror="false"
            image="portraits/humans/transparent/necromancer+female.png"
        [/portrait]
        [portrait]
            size=400
            side="right"
            mirror="true"
            image="portraits/humans/transparent/necromancer+female.png"
        [/portrait]
        [recruiting_anim]
            [filter_second]
                race=undead
            [/filter_second]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[1,2].png:75"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-3.png"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[2,1].png:50"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female.png:1"
            [/frame]
        [/recruiting_anim]
        [attack_anim]
            [filter_attack]
                name=chill wave
            [/filter_attack]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[1,2].png:75"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-3.png"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[2,1].png:50"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=shadow wave
            [/filter_attack]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[1,2].png:75"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-3.png"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-3.png:200"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-[2,1].png:50"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female.png:50"
            [/frame]
        [/attack_anim]
        [attack_anim]
            [filter_attack]
                name=staff
            [/filter_attack]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female.png:50"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-attack-staff-[1~2].png:[100,200]"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female-magic-1.png:75"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female.png:75"
            [/frame]
        [/attack_anim]
    [/female]
[/unit_type]
