-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
Brawler.cfg
181 lines (159 loc) · 4.17 KB
/
Brawler.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-dw
[unit_type]
id=Merman Brawler
name= _ "Merman Brawler"
profile="portraits/brawler.png"
race=merman
image="units/merfolk/brawler.png"
hitpoints=38
movement_type=swimmer
movement=6
level=1
experience=50
{AMLA_DEFAULT}
alignment=lawful
cost=19
usage=fighter
description= _ "Exceptionally large and strong mermen are sometimes more comfortable with their own fists and tails than with other weapons."+{SPECIAL_NOTES}+{SPECIAL_NOTES_STUN}
die_sound=mermen-die.ogg
{DEFENSE_ANIM "units/merfolk/brawler-defend.png" "units/merfolk/brawler-defend.png" mermen-hit.wav }
[attack]
name=fist-merman
#textdomain wesnoth-units
description=_"fist"
type=impact
range=melee
damage=5
number=4
[/attack]
[attack]
name=tail-merman
description=_"tail"
#textdomain wesnoth-dw
type=impact
range=melee
damage=9
number=2
[specials]
{WEAPON_SPECIAL_STUN}
[/specials]
[/attack]
[attack_anim]
[filter_attack]
name=fist-merman
[/filter_attack]
start_time=-300
[frame]
image="units/merfolk/brawler.png:50"
[/frame]
[frame]
image="units/merfolk/brawler-fist-[1~3].png:[200,100*2]"
[/frame]
{SOUND:HIT_AND_MISS fist.ogg dagger-swish.wav -50}
[frame]
image="units/merfolk/brawler.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=tail-merman
[/filter_attack]
start_time=-140
{SOUND:HIT_AND_MISS fist.ogg dagger-swish.wav -50}
[frame]
image="units/merfolk/brawler-tail-land-[1,3,5~1].png:[30*2,80,30,80*3]"
[/frame]
[frame]
image="units/merfolk/brawler.png:80"
[/frame]
[/attack_anim]
[event]
name=attacker_hits
first_time_only=no
[filter_attack]
special=tail_stun
[/filter_attack]
[filter_second]
[not]
level=0
[or]
status=stunned
[/or]
[/not]
[/filter_second]
{VARIABLE second_unit.status.stunned yes}
[unstore_unit]
variable=second_unit
find_vacant=no
male_text= _ "stunned"
female_text= _ "female^stunned"
red,green,blue=196,196,128
[/unstore_unit]
[object]
silent=yes
duration=turn end
[filter]
x,y=$x2,$y2
[/filter]
[effect]
apply_to=image_mod
replace="CS(50,50,0)"
[/effect]
[effect]
apply_to=zoc
value=no
[/effect]
[/object]
[/event]
[event]
name=defender_hits
first_time_only=no
[filter_second_attack]
special=tail_stun
[/filter_second_attack]
[filter]
[not]
level=0
[or]
status=stunned
[/or]
[/not]
[/filter]
{VARIABLE unit.status.stunned yes}
[unstore_unit]
variable=unit
find_vacant=no
male_text= _ "stunned"
female_text= _ "female^stunned"
red,green,blue=196,196,128
[/unstore_unit]
[object]
silent=yes
duration=turn end
[filter]
x,y=$x1,$y1
[/filter]
[effect]
apply_to=image_mod
replace="CS(50,50,0)"
[/effect]
[effect]
apply_to=zoc
value=no
[/effect]
[/object]
[/event]
[event]
name=side turn end
first_time_only=no
[modify_unit]
[filter]
side=$side_number
status=stunned
[/filter]
[status]
stunned=no
[/status]
[/modify_unit]
[/event]
[/unit_type]