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