1#textdomain wesnoth-utbs 2# This is the Alien Central Body with his immune to attacks 3[unit_type] 4 id=Central Body Base 5 name= _ "Central Body" 6 race=monster 7 image=units/alien/core-compact.png 8 image_icon="units/alien/core-compact.png~SCALE(72,72)" 9 [standing_anim] 10 [frame] 11 duration=100 12 image="units/alien/core-compact.png" 13 auto_hflip=no 14 [/frame] 15 [/standing_anim] 16 hitpoints=100 17 movement_type=smallfoot 18 [movement_costs] 19 cave={UNREACHABLE} 20 flat={UNREACHABLE} 21 [/movement_costs] 22 [resistance] 23 blade=0 24 pierce=0 25 impact=0 26 fire=0 27 cold=0 28 arcane=0 29 [/resistance] 30 movement=7 31 experience=150 32 {AMLA_DEFAULT} 33 level=3 34 alignment=chaotic 35 advances_to=null 36 cost=20 37 usage=fighter 38 do_not_list=yes 39 description= _ "This thing is impossible to describe, no one has seen anything like it before."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL} 40 {DEFENSE_ANIM_FILTERED ("units/alien/core-compact.png") ("units/alien/core-compact.png") ("wail.wav") (direction=n,ne,se,s)} 41 {DEFENSE_ANIM_FILTERED ("units/alien/core-compact.png~FL(horiz)") ("units/alien/core-compact.png~FL(horiz)") ("wail.wav") (direction=nw,sw)} 42 43 [attack] 44 name=energy ray 45 description= _"energy ray" 46 icon=attacks/energyray.png 47 type=cold 48 range=melee 49 [specials] 50 {WEAPON_SPECIAL_MAGICAL} 51 [/specials] 52 damage=7 53 number=3 54 [/attack] 55 [attack] 56 name=energy ray 57 description= _"energy ray" 58 icon=attacks/energyray.png 59 type=cold 60 range=ranged 61 [specials] 62 {WEAPON_SPECIAL_MAGICAL} 63 [/specials] 64 damage=7 65 number=3 66 [/attack] 67 [attack_anim] 68 # NOTE: The following attack filter deliberately matches both ranged and melee. 69 [filter_attack] 70 name=energy ray 71 [/filter_attack] 72 start_time=-100 73 missile_start_time=-50 74 [missile_frame] 75 duration=200 76 image="projectiles/darkmissile-n.png" 77 image_diagonal="projectiles/darkmissile-ne.png" 78 [/missile_frame] 79 [frame] 80 image="units/alien/core-compact.png:200" 81 auto_hflip=no 82 [/frame] 83 {SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -100} 84 [/attack_anim] 85[/unit_type] 86 87# This is the Alien Central Body which is vulnerable to attacks 88[unit_type] 89 [base_unit] 90 id=Central Body Base 91 [/base_unit] 92 id=Central Body1 93 hide_help=yes 94 do_not_list=yes 95 [abilities] 96 [regenerate] 97 value=100 98 id=regenerates_yec 99 name= _ "alien regenerates" 100 female_name= _ "female^alien regenerates" 101 description= _ "The unit will heal itself 100 HP per turn. If it is poisoned, it will remove the poison instead of healing." 102 affect_self=yes 103 poison=cured 104 [/regenerate] 105 [/abilities] 106[/unit_type] 107 108# This is the Alien Central Body which is vulnerable to attacks 109[unit_type] 110 [base_unit] 111 id=Central Body Base 112 [/base_unit] 113 id=Central Body2 114 name= _ "Weakened Central Body" 115 hitpoints={ON_DIFFICULTY 50 75 100} 116 [resistance] 117 blade=110 118 pierce=110 119 impact=80 120 fire=150 121 cold=150 122 arcane=200 123 [/resistance] 124 125 hide_help=yes 126 do_not_list=yes 127 die_sound=wail-long.wav 128 129 [attack] 130 damage=3 131 [/attack] 132 [attack] 133 damage=3 134 [/attack] 135 136 [death] 137 [die_sound_frame] 138 duration=600 139 sound=explosion.ogg 140 [/die_sound_frame] 141 [die_sound_frame] 142 duration=800 143 sound=lich-hit-1.ogg 144 [/die_sound_frame] 145 [die_sound_frame] 146 duration=400 147 sound=explosion.ogg 148 [/die_sound_frame] 149 [die_sound_frame] 150 duration=800 151 sound=lich-hit-2.ogg 152 [/die_sound_frame] 153 [die_sound_frame] 154 duration=900 155 sound=explosion.ogg 156 [/die_sound_frame] 157 [die_sound_frame] 158 duration=600 159 sound=lich-die.ogg 160 [/die_sound_frame] 161 [die_sound_frame] 162 duration=800 163 sound=explosion.ogg 164 [/die_sound_frame] 165 166 # Creating timed explosions at POS 167#define BURST_FRAME NUMBER TIME DELAY POS 168 burst_{NUMBER}_start_time={TIME} 169 [burst_{NUMBER}_frame] 170 duration={DELAY} 171 halo=halo/flame-burst-[1~8].png:50,misc/blank-hex.png:1 172 halo_x,halo_y={POS} 173 auto_hflip=no 174 auto_vflip=no 175 [/burst_{NUMBER}_frame] 176 [burst_{NUMBER}_frame] 177 halo=projectiles/fireball-impact-[1,1~16].png,misc/blank-hex.png:1 178 halo_x,halo_y={POS} 179 auto_hflip=no 180 auto_vflip=no 181 [/burst_{NUMBER}_frame] 182#enddef 183 184 {BURST_FRAME 1 0 1800 -9,17} 185 {BURST_FRAME 2 600 1700 18,0} 186 {BURST_FRAME 3 1200 1600 -9,-18} 187 {BURST_FRAME 4 1800 1500 9,17} 188 {BURST_FRAME 5 2400 1400 8,-18} 189 {BURST_FRAME 6 3000 1300 -18,0} 190 191#undef BURST_FRAME 192 193 [frame] 194 duration=2500 195 image="units/alien/core-compact.png" 196 blend_color=255,255,255 197 blend_ratio=0.0~1.0 198 auto_hflip=no 199 [/frame] 200 [frame] 201 duration=2600 202 image="units/alien/core-compact.png" 203 blend_color=255,255,255 204 blend_ratio=1.0 205 alpha=1.0~0.0 206 auto_hflip=no 207 [/frame] 208 [frame] 209 duration=1 210 image="misc/blank-hex.png" 211 [/frame] 212 [/death] 213[/unit_type] 214