#textdomain wesnoth-did
[unit_type]
    id=Apprentice Necromancer
    name=_ "Apprentice Necromancer"
    race=human
    image="units/apprentice-necromancer.png"
    hitpoints=52
    movement_type=smallfoot
    movement=6
    experience=90
    level=2
    alignment=neutral
    advances_to=Dark Mage
    gender=male
    usage=mixed fighter
    description=_ "Under Darken Volk’s tutelage, Malin has become adept at wielding necromancy both as a tool to raise an army of undead, and as a means to increase his own, personal power. Malin’s focus on improving his magical prowess has left little time for him to improve his swordsmanship, but he still holds on to his short sword as his melee weapon of choice."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_ARCANE}
    {DEFENSE_ANIM "units/apprentice-necromancer-defend.png" "units/apprentice-necromancer.png" {SOUND_LIST:HUMAN_HIT} }
    die_sound={SOUND_LIST:HUMAN_DIE}
    [attack]
        name=short sword
        #textdomain wesnoth-units
        description=_ "short sword"
        icon=attacks/sword-human-short.png
        type=blade
        range=melee
        damage=6
        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"
        #textdomain wesnoth-did
        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/apprentice-necromancer-magic-[1~2].png:75"
        [/frame]
        [frame]
            image="units/apprentice-necromancer-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/apprentice-necromancer-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/apprentice-necromancer-magic-[1~2].png:75"
        [/frame]
        [frame]
            image="units/apprentice-necromancer-magic-3.png"
            halo=halo/undead/black-magic-[1~5].png:[75*4,50]
        [/frame]
        [frame]
            image="units/apprentice-necromancer-magic-3.png:200"
        [/frame]
        {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -120}
        [frame]
            image="units/apprentice-necromancer-magic-[2~1].png:50"
        [/frame]
        [frame]
            image="units/apprentice-necromancer.png:50"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=short sword
        [/filter_attack]

        start_time=-225

        [frame]
            image="units/apprentice-necromancer-magic-1.png:50"
        [/frame]
        [frame]
            image="units/apprentice-necromancer-sword-[1~2].png:[100,275]"
        [/frame]
        [frame]
            image="units/apprentice-necromancer.png:75"
        [/frame]

        {SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
    [/attack_anim]
    [recruiting_anim]
        [filter_second]
            race=undead
        [/filter_second]

        start_time=-300
        sound_start_time=-75

        [frame]
            image="units/apprentice-necromancer-magic-[1,2].png:75"
        [/frame]
        [frame]
            image="units/apprentice-necromancer-magic-3.png"
            halo=halo/undead/black-magic-[1~5].png:[75*4,50]
        [/frame]
        [frame]
            image="units/apprentice-necromancer-magic-[2,1].png:50"
        [/frame]
        [frame]
            image="units/apprentice-necromancer.png:1"
        [/frame]

        [sound_frame]
            sound=magic-dark.ogg
        [/sound_frame]
    [/recruiting_anim]
[/unit_type]
