#textdomain wesnoth-ei
[unit_type]
    [base_unit]
        id=Ancient Lich
    [/base_unit]
    id=Lich Lord
    name= _ "Lich Lord"
    [animation]
        apply_to=summon

        start_time=-300
        [frame]
            image="units/undead-necromancers/ancient-lich-magic-[1~3,1].png:100"
        [/frame]
        sound_start_time=-200
        [sound_frame]
            sound=magic-dark-big.ogg
        [/sound_frame]
        [frame]
            image="units/undead-necromancers/ancient-lich.png:1"
        [/frame]
    [/animation]
    [animation]
        apply_to=pre_teleport

        {TELEPORT_OUT_ANIMATION}
    [/animation]
    [animation]
        apply_to=post_teleport

        {TELEPORT_IN_ANIMATION}
    [/animation]
    [animation]
        apply_to=recruited

        {TELEPORT_IN_ANIMATION}
    [/animation]
    [animation]
        apply_to=failed_teleport

        {TELEPORT_FAILED_ANIMATION}
    [/animation]
    [animation]
        apply_to=death

        missile_start_time=-245
        start_time=-75

        [if]
            direction=n,ne,nw

            [missile_frame]
                halo="halo/holy/light-beam-[1~7,6~1].png:[30*6,130,70*6]"
            [/missile_frame]
        [/if]
        [else]
            direction=s,se,sw

            [missile_frame]
                halo="halo/holy/light-beam-[1~7,6~1].png~FL(vert):[30*6,130,70*6]"
            [/missile_frame]
        [/else]

        [frame]
            duration=200
            alpha=1~0
        [/frame]
        [frame]
            duration=200
            image="misc/blank-hex.png"
            sound=lich-die.ogg
        [/frame]
    [/animation]
[/unit_type]
