#textdomain wesnoth-units
[unit_type]
    id=Dark Sorcerer SotA
    [base_unit]
        id=Dark Sorcerer
    [/base_unit]
    # The unit cannot advance to a lich until the main character learns how.
    advances_to=Necromancer SotA
    hide_help=yes
    do_not_list=yes
    [extra_anim]
        # This is a copy of the recruit animation, but it doesn't need a second unit
        # in order to work, so it can be called with animate_unit.
        flag=recruit2
        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]
    [/extra_anim]
    [female]
        [extra_anim]
            # This is a copy of the recruit animation, but it doesn't need a second unit
            # in order to work, so it can be called with animate_unit.
            flag=recruit2
            start_time=-300
            [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"
                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+female-magic-[2,1].png:50"
            [/frame]
            [frame]
                image="units/undead-necromancers/dark-sorcerer+female.png:1"
            [/frame]
        [/extra_anim]
    [/female]
[/unit_type]
