#textdomain wesnoth-utbs
# This is the Alien Central Body which is vulnerable to attacks
[unit_type]
    id=Central Body2
    name= _ "Weakened Central Body"
    race=monster
    image=units/alien/core-compact.png
    hitpoints=40
    movement_type=smallfoot
    [movement_costs]
        cave={UNREACHABLE}
        flat={UNREACHABLE}
    [/movement_costs]
    [resistance]
        blade=110
        pierce=110
        impact=80
        fire=150
        cold=150
        arcane=200
    [/resistance]
    movement=7
    experience=150
    {AMLA_DEFAULT}
    level=3
    alignment=chaotic
    advances_to=null
    cost=20
    usage=fighter
    hide_help=true
    do_not_list=yes
    description= _ "This thing is impossible to describe, no one has seen anything like it before."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}
    die_sound=wail-long.wav
    {DEFENSE_ANIM units/alien/core-compact.png units/alien/core-compact.png wail.wav}
    [attack]
        name=energy ray
        description= _"energy ray"
        icon=attacks/dark-missile.png
        type=cold
        range=melee
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=3
        number=3
    [/attack]
    [attack]
        name=energy ray
        description= _"energy ray"
        icon=attacks/dark-missile.png
        type=cold
        range=ranged
        [specials]
            {WEAPON_SPECIAL_MAGICAL}
        [/specials]
        damage=3
        number=3
    [/attack]
    [attack_anim]
        [filter_attack]
            name=energy ray
            range=ranged
        [/filter_attack]
        [missile_frame]
            begin=-200
            end=0
            image="projectiles/darkmissile-n.png"
            image_diagonal="projectiles/darkmissile-ne.png"
        [/missile_frame]
        [frame]
            begin=-100
            end=0
            image=units/alien/core-compact.png
        [/frame]
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=energy ray
            range=melee
        [/filter_attack]
        [frame]
            begin=-200
            end=175
            image=units/alien/core-compact.png
        [/frame]
    [/attack_anim]
    [death]
        direction=n,nw,ne
        start_time=0

        die_sound_start_time=0

        [die_sound_frame]
            duration=600
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=lich-hit-1.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=400
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=lich-hit-2.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=900
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=600
            sound=lich-die.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=explosion.ogg
        [/die_sound_frame]

        flame_burst_1_start_time=0
        flame_burst_2_start_time=600
        flame_burst_3_start_time=1200
        flame_burst_4_start_time=1800
        flame_burst_5_start_time=2400
        flame_burst_6_start_time=3000

        [flame_burst_1_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=-9,17
        [/flame_burst_1_frame]
        [flame_burst_2_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=18,0
        [/flame_burst_2_frame]
        [flame_burst_3_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=-9,-18
        [/flame_burst_3_frame]
        [flame_burst_4_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=9,17
        [/flame_burst_4_frame]
        [flame_burst_5_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=8,-18
        [/flame_burst_5_frame]
        [flame_burst_6_frame]
            duration=800
            halo=misc/blank-hex.png:1,halo/flame-burst-1.png:50,halo/flame-burst-2.png:50,halo/flame-burst-3.png:50,halo/flame-burst-4.png:50,halo/flame-burst-5.png:50,halo/flame-burst-6.png:50,halo/flame-burst-7.png:50,halo/flame-burst-8.png:50,misc/blank-hex.png:1
            halo_x,halo_y=-18,0
        [/flame_burst_6_frame]

        explosion_1_start_time=1800
        explosion_2_start_time=2300
        explosion_3_start_time=2800
        explosion_4_start_time=3300
        explosion_5_start_time=3800
        explosion_6_start_time=4300

        [explosion_1_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=-9,17
        [/explosion_1_frame]
        [explosion_2_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=18,0
        [/explosion_2_frame]
        [explosion_3_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=-9,-18
        [/explosion_3_frame]
        [explosion_4_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=9,17
        [/explosion_4_frame]
        [explosion_5_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=8,-18
        [/explosion_5_frame]
        [explosion_6_frame]
            duration=800
            halo="misc/blank-hex.png:1,projectiles/fireball-impact-1.png,projectiles/fireball-impact-1.png,projectiles/fireball-impact-2.png,projectiles/fireball-impact-3.png,projectiles/fireball-impact-4.png,projectiles/fireball-impact-5.png,projectiles/fireball-impact-6.png,projectiles/fireball-impact-7.png,projectiles/fireball-impact-8.png,projectiles/fireball-impact-9.png,projectiles/fireball-impact-10.png,projectiles/fireball-impact-11.png,projectiles/fireball-impact-12.png,projectiles/fireball-impact-13.png,projectiles/fireball-impact-14.png,projectiles/fireball-impact-15.png,projectiles/fireball-impact-16.png,misc/blank-hex.png:1"
            halo_x,halo_y=-18,0
        [/explosion_6_frame]

        [frame]
            duration=2500
            image=units/alien/core-compact.png
            blend_color=255,255,255
            blend_ratio=0.0~1.0
        [/frame]
        [frame]
            duration=2600
            image=units/alien/core-compact.png
            blend_color=255,255,255
            blend_ratio=1.0
            alpha=1.0~0.0
        [/frame]
        [frame]
            duration=1
            image=misc/blank-hex.png
        [/frame]
    [/death]
    [death]
        direction=s,sw,se
        start_time=0

        die_sound_start_time=0

        [die_sound_frame]
            duration=600
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=lich-hit-1.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=400
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=lich-hit-2.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=900
            sound=explosion.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=600
            sound=lich-die.ogg
        [/die_sound_frame]
        [die_sound_frame]
            duration=800
            sound=explosion.ogg
        [/die_sound_frame]

        flame_burst_1_start_time=0
        flame_burst_2_start_time=600
        flame_burst_3_start_time=1200
        flame_burst_4_start_time=1800
        flame_burst_5_start_time=2400
        flame_burst_6_start_time=3000

        [flame_burst_1_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=-9,17
        [/flame_burst_1_frame]
        [flame_burst_2_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=18,0
        [/flame_burst_2_frame]
        [flame_burst_3_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=-9,-18
        [/flame_burst_3_frame]
        [flame_burst_4_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=9,17
        [/flame_burst_4_frame]
        [flame_burst_5_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=8,-18
        [/flame_burst_5_frame]
        [flame_burst_6_frame]
            duration=800
            halo=misc/blank-hex.png~FL(vert):1,halo/flame-burst-1.png~FL(vert):50,halo/flame-burst-2.png~FL(vert):50,halo/flame-burst-3.png~FL(vert):50,halo/flame-burst-4.png~FL(vert):50,halo/flame-burst-5.png~FL(vert):50,halo/flame-burst-6.png~FL(vert):50,halo/flame-burst-7.png~FL(vert):50,halo/flame-burst-8.png~FL(vert):50,misc/blank-hex.png~FL(vert):1
            halo_x,halo_y=-18,0
        [/flame_burst_6_frame]

        explosion_1_start_time=1800
        explosion_2_start_time=2300
        explosion_3_start_time=2800
        explosion_4_start_time=3300
        explosion_5_start_time=3800
        explosion_6_start_time=4300

        [explosion_1_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=-9,17
        [/explosion_1_frame]
        [explosion_2_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=18,0
        [/explosion_2_frame]
        [explosion_3_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=-9,-18
        [/explosion_3_frame]
        [explosion_4_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=9,17
        [/explosion_4_frame]
        [explosion_5_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=8,-18
        [/explosion_5_frame]
        [explosion_6_frame]
            duration=800
            halo="misc/blank-hex.png~FL(vert):1,projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-1.png~FL(vert),projectiles/fireball-impact-2.png~FL(vert),projectiles/fireball-impact-3.png~FL(vert),projectiles/fireball-impact-4.png~FL(vert),projectiles/fireball-impact-5.png~FL(vert),projectiles/fireball-impact-6.png~FL(vert),projectiles/fireball-impact-7.png~FL(vert),projectiles/fireball-impact-8.png~FL(vert),projectiles/fireball-impact-9.png~FL(vert),projectiles/fireball-impact-10.png~FL(vert),projectiles/fireball-impact-11.png~FL(vert),projectiles/fireball-impact-12.png~FL(vert),projectiles/fireball-impact-13.png~FL(vert),projectiles/fireball-impact-14.png~FL(vert),projectiles/fireball-impact-15.png~FL(vert),projectiles/fireball-impact-16.png~FL(vert),misc/blank-hex.png~FL(vert):1"
            halo_x,halo_y=-18,0
        [/explosion_6_frame]

        [frame]
            duration=2500
            image=units/alien/core-compact.png
            blend_color=255,255,255
            blend_ratio=0.0~1.0
        [/frame]
        [frame]
            duration=2600
            image=units/alien/core-compact.png
            blend_color=255,255,255
            blend_ratio=1.0
            alpha=1.0~0.0
        [/frame]
        [frame]
            duration=1
            image=misc/blank-hex.png
        [/frame]
    [/death]
[/unit_type]
