/
Shadow_Tyrhai.cfg
264 lines (232 loc) · 6.85 KB
/
Shadow_Tyrhai.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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
#textdomain wesnoth-Ageless_Era
[unit_type]
id=AE_agl_deep_Shadow_Tyrhai
name= _ "Shadow Tyr'Hai"
race=monster
image="units/elves-deep/shadowtyrhai.png"
image_icon="units/elves-deep/shadowtyrhai.png"~CROP(42,24,72,72)
profile="portraits/elves-deep/tyrhai.png"
hitpoints=67
movement_type=AE_dep_deep
movement=7
experience=150
level=3
alignment=chaotic
cost=48
usage=fighter
{AMLA_DEFAULT}
description= {AE_DEP_UNIT_NOTICE} +""+{SPECIAL_NOTES}+{AE_DEP_SPECIAL_NOTES_TRAMPLE}
{DEFENSE_ANIM "units/elves-deep/shadowtyrhai.png" "units/elves-deep/shadowtyrhai.png" {SOUND_LIST:DRAKE_HIT} }
die_sound={SOUND_LIST:DRAKE_HIT}
[movement_costs]
sand=1
[/movement_costs]
[defense]
sand=60
frozen=60
[/defense]
[resistance]
arcane=110
fire=90
cold=100
blade=100
impact=100
pierce=100
[/resistance]
[defense]
village=50
[/defense]
[abilities]
[teleport]
name=_ "Descend into darkness"
description=_ "Teleports to nearby allied Priestresses, Matriarchs, Patronesses or Seers."
[tunnel]
[filter]
id=$teleport_unit.id
[/filter]
[source]
x,y=$teleport_unit.x,$teleport_unit.y
[/source]
[target]
[filter]
type=AE_agl_deep_Priestress_of_the_Vault, AE_agl_deep_Matriarch, AE_agl_deep_Patroness, AE_agl_deep_Seer
[filter_side]
[allied_with]
side=$teleport_unit.side
[/allied_with]
[/filter_side]
[/filter]
[/target]
[/tunnel]
[/teleport]
[/abilities]
[attack]
name=fangs
description={STR_FANGS}
icon=attacks/fangs.png
type=blade
range=melee
damage=10
number=4
[specials]
{WEAPON_SPECIAL_DRAIN}
[/specials]
[/attack]
[attack]
name=trample
description={STR_TRAMPLE}
icon=attacks/mud-glob.png
type=impact
range=melee
damage=14
number=2
defense_weight=0
[specials]
[attacks]
id=AE_dep_trample
name= _ "trample"
description= _ "This unit ignores the retaliation of the enemy and just overruns it."
value=0
apply_to=opponent
[/attacks]
[/specials]
[/attack]
[attack_anim]
[filter_attack]
name=trample
[/filter_attack]
start_time=-500
[frame]
image="units/elves-deep/shadowtyrhai.png:300"
offset=0.0~-0.3
[/frame]
[frame]
image="units/elves-deep/shadowtyrhai.png:1500"
offset=-0.3~2.0:1500
halo=halo/trample-[1,2,3,4,5,1,2,3,4,5].png~SCALE(120,120)~O(60%):150
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:DRAKE_HIT} {SOUND_LIST:MISS} -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=fangs
[/filter_attack]
start_time=-500
[frame]
image="units/elves-deep/shadowtyrhai.png:50"
offset=0.0~-0.1
[/frame]
[frame]
image="units/elves-deep/shadowtyrhai.png:500"
offset=0.1~0.3.0:200,0.4~0.6:150,0.6~0.4:100,0.4~0.0:100
[/frame]
[if]
hits=yes
[missile_frame]
halo=halo/bigrip-[1~5].png:[60*5]
offset=1.0
halo_x=-10~0
auto_vflip=false
[/missile_frame]
[missile_frame]
halo=halo/bigrip-[1~5].png~FL(horiz):[60*5]
offset=1.0
halo_x=10~0
auto_vflip=false
[/missile_frame]
[missile_frame]
halo=halo/bigrip-[1~5].png:[60*5]
offset=1.0
halo_x=-10~0
auto_vflip=false
[/missile_frame]
[/if]
{SOUND:HIT_AND_MISS {SOUND_LIST:DRAKE_HIT} {SOUND_LIST:MISS} -100}
[/attack_anim]
[animation]
apply_to=pre_teleport
start_time=-1800
[frame]
image="units/elves-deep/shadowtyrhai-teleport-[1~10].png:[150*10]"
[/frame]
[frame]
image="misc/blank-hex.png:300"
[/frame]
[/animation]
[animation]
apply_to=post_teleport
start_time=-1800
[frame]
image="misc/blank-hex.png:300"
[/frame]
[frame]
image="units/elves-deep/shadowtyrhai-teleport-[10~1].png:[150*10]"
[/frame]
[/animation]
[event]
name=attack end
first_time_only=no
[filter_attack]
special=AE_dep_trample
[/filter_attack]
[store_locations]
[not]
[filter]
[/filter]
[/not]
[filter_adjacent_location]
x,y=$x2,$y2
adjacent=-$unit.facing
[/filter_adjacent_location]
variable=trample_target_hex
[/store_locations]
[if]
[variable]
name=trample_target_hex.length
greater_than=0
[/variable]
[then]
[teleport]
[filter]
x,y=$x1,$y1
[/filter]
animate=no
x,y=$trample_target_hex.x,$trample_target_hex.y
check_passability=yes
clear_shroud=yes
[/teleport]
[redraw]
[/redraw]
[/then]
[/if]
{CLEAR_VARIABLE trample_direction,trample_target_hex}
[/event]
[death]
start_time=-1200
[frame]
alpha=1~0:1600
image="units/elves-deep/shadowtyrhai-teleport-[1~10].png:[160*10]"
halo="projectiles/fireball-impact-[16~1].png~BLEND(20,20,20,0.9)~SCALE(300,300):[100*16]"
sound=embrace-of-shassagoth.ogg
[/frame]
[frame]
image="misc/blank-hex.png:400"
[/frame]
[/death]
[standing_anim]
start_time=0
[frame]
image="units/elves-deep/shadowtyrhai-bob-[1~4].png:[150*4]"
[/frame]
[/standing_anim]
[animation]
apply_to=recruited
start_time=-1200
[frame]
alpha=0~1:1600
image="units/elves-deep/shadowtyrhai.png:1600"
halo="projectiles/fireball-impact-[1~16].png~BLEND(20,20,20,0.9)~SCALE(300,300):[100*16]"
sound=embrace-of-shassagoth.ogg
[/frame]
[/animation]
[/unit_type]