forked from project-ethea/After_the_Storm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThunderbird.cfg
181 lines (180 loc) · 4.89 KB
/
Thunderbird.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
#textdomain wesnoth-After_the_Storm
[unit_type]
id=Shaxthal Thunderbird
name= _ "Thunderbird"
race=shaxthal
image="units/shaxthal/thunderbird.png"
hitpoints=39
movement_type=biomechanical_drone
movement=8
experience=100
level=2
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=38
usage=scout
description= _ "More advanced bird-like Shaxthal creatures can produce deadly lightning with their sharp feather-blades to attack enemies at a distance, as well as dive and charge into their heads using their powerful metallic beaks."+{SPECIAL_NOTES}+{SPECIAL_NOTES_CHARGE}
die_sound={SOUND_LIST:BIOMECHANICAL_DIE}
# Weaker than their cousins to most physical damage types
[resistance]
pierce=80
impact=100
fire=120
cold=100
[/resistance]
{FLYING_DEFENSE_ANIM "units/shaxthal/thunderbird.png" "units/shaxthal/thunderbird.png" {SOUND_LIST:BIOMECHANICAL_HIT} }
[attack]
name=beak
description=_"beak"
type=pierce
range=melee
damage=10
number=1
icon=attacks/beak-shaxthal.png
[specials]
{WEAPON_SPECIAL_CHARGE}
[/specials]
[/attack]
[attack]
name=blade shower
description=_"blade shower"
type=blade
range=ranged
damage=8
number=3
icon=attacks/razor-feathers.png
[/attack]
[attack]
name=thunderbolt
description=_"thunderbolt"
type=fire
range=ranged
damage=10
number=2
icon=attacks/lightning.png
[/attack]
# Thanks Espreon for the original code and idea
# for a new beak animation.
[attack_anim]
[filter_attack]
name=beak
[/filter_attack]
start_time=-500
[frame]
duration=50 # end @ -450
image="units/shaxthal/thunderbird.png"
offset=0.0~-0.2
[/frame]
[frame]
duration=200 # end @ -250
image="units/shaxthal/thunderbird-attack.png"
offset=-0.2~-1.0
[/frame]
[frame]
duration=150 # -100
image="units/shaxthal/thunderbird-attack.png"
offset=-1.0~0.0
[/frame]
[if]
hits=yes
[frame]
duration=100
image="units/shaxthal/thunderbird-attack.png"
sound=spear.ogg
offset=0.0~1.25
[/frame]
[/if]
[else]
hits=no
[frame]
duration=100
image="units/shaxthal/thunderbird-attack.png"
sound={SOUND_LIST:MISS}
offset=0.0~1.25
[/frame]
[/else]
[frame]
duration=100
image="units/shaxthal/thunderbird-attack.png"
offset=1.25~0.75
[/frame]
[frame]
duration=100
image="units/shaxthal/thunderbird.png"
offset=0.75~0.0
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=blade shower
[/filter_attack]
[frame]
begin=-200
end=-150
image="units/shaxthal/thunderbird.png"
[/frame]
[if]
hits=yes
[frame]
begin=-150
end=50
image="units/shaxthal/thunderbird-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-150
end=50
image="units/shaxthal/thunderbird-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=50
end=150
image="units/shaxthal/thunderbird-attack.png"
[/frame]
[frame]
begin=150
end=200
image="units/shaxthal/thunderbird.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=thunderbolt
[/filter_attack]
[missile_frame]
begin=-100
end=0
image="projectiles/lightning-n.png"
image_diagonal="projectiles/lightning-ne.png"
[/missile_frame]
[if]
hits=yes
[frame]
begin=-200
end=-50
image="units/shaxthal/thunderbird.png"
sound=lightning.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-200
end=-50
image="units/shaxthal/thunderbird.png"
sound=lightning-miss.ogg
[/frame]
[/else]
[frame]
begin=-50
end=100
image="units/shaxthal/thunderbird-attack.png"
[/frame]
[/attack_anim]
[/unit_type]