1#textdomain wesnoth-trow
2[unit_type]
3    id=Wesfolk Leader
4    name= _ "female^Wesfolk Leader"
5    race=human
6    gender=female
7    image="units/wesfolk-leader-masked.png"
8    hitpoints=62
9    [abilities]
10        {ABILITY_LEADERSHIP}
11        {ABILITY_DISTRACT}
12    [/abilities]
13    movement_type=elusivefoot
14    movement=7
15    experience=150
16    level=3
17    alignment=chaotic
18    advances_to=null
19    {AMLA_DEFAULT}
20    cost=60
21    usage=mixed fighter
22    description= _ "Born in the Wesfolk aristocracy, she and her people were excluded from society by their lords, who betrayed their loyalty when a war against Haldric’s people was being lost. This outcast still conserves her nobleness in her veins and on the battlefield she has earned valuable experience, which continues increasing with time, as does her natural leadership."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DISTRACT}+{SPECIAL_NOTES_LEADERSHIP}
23    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
24    [defend]
25        hits=miss
26        start_time=-126
27        [frame]
28            image="units/wesfolk-leader-masked.png:1"
29        [/frame]
30        [frame]
31            duration=250
32            image="units/wesfolk-leader-masked-defend-1-[1,2,1].png"
33        [/frame]
34        [frame]
35            image="units/wesfolk-leader-masked.png:1"
36        [/frame]
37    [/defend]
38    [defend]
39        hits=hit
40        start_time=-126
41        [frame]
42            image="units/wesfolk-leader-masked.png:1,units/wesfolk-leader-masked-defend.png:250,units/wesfolk-leader-masked.png:1"
43        [/frame]
44        sound_start_time=-25
45        [sound_frame]
46            sound={SOUND_LIST:HUMAN_FEMALE_HIT}
47        [/sound_frame]
48    [/defend]
49    [defend]
50        hits=kill
51        start_time=-126
52        [frame]
53            image="units/wesfolk-leader-masked.png:1,units/wesfolk-leader-masked-defend.png:250,units/wesfolk-leader-masked.png:1"
54        [/frame]
55    [/defend]
56    [leading_anim]
57        start_time=-150
58        [frame]
59            image="units/wesfolk-leader-masked-leading.png:300"
60        [/frame]
61    [/leading_anim]
62    [attack]
63        name=staff
64        #textdomain wesnoth-units
65        description= _ "staff"
66        icon=attacks/quarterstaff.png
67        type=impact
68        range=melee
69        damage=12
70        number=2
71    [/attack]
72    [attack]
73        name=sling
74        description= _ "sling"
75        #textdomain wesnoth-trow
76        type=impact
77        range=ranged
78        damage=8
79        number=4
80        icon=attacks/sling.png
81    [/attack]
82    [attack_anim]
83        [filter_attack]
84            name=sling
85        [/filter_attack]
86        start_time=-400
87        sound_start_time=-400
88        offset=0.0
89        [if]
90            hits=yes
91            {MISSILE_FRAME_STONE_HIT 8 -8}
92            [sound_frame]
93                sound=sling.ogg
94            [/sound_frame]
95        [/if]
96        [else]
97            hits=no
98            {MISSILE_FRAME_STONE_MISS 8 -8}
99            [sound_frame]
100                sound=sling-miss.ogg
101            [/sound_frame]
102        [/else]
103        [frame]
104            image="units/wesfolk-leader-masked-sling-[1~2].png:[250,200]"
105        [/frame]
106    [/attack_anim]
107    [attack_anim]
108        [filter_attack]
109            name=staff
110        [/filter_attack]
111        start_time=-175
112        [frame]
113            image="units/wesfolk-leader-masked.png:25"
114        [/frame]
115        [frame]
116            image="units/wesfolk-leader-masked-staff-[1~2].png:[75,175]"
117        [/frame]
118        {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
119        [frame]
120            image="units/wesfolk-leader-masked-defend-1-2.png:50"
121        [/frame]
122        [frame]
123            image="units/wesfolk-leader-masked.png:25"
124        [/frame]
125    [/attack_anim]
126    [variation]
127        variation_id=unmasked
128        inherit=yes
129        hide_help=yes
130        image="units/wesfolk-leader.png"
131        [defend]
132            hits=miss
133            start_time=-126
134            [frame]
135                image="units/wesfolk-leader.png:1"
136            [/frame]
137            [frame]
138                duration=250
139                image="units/wesfolk-leader-defend-1-[1,2,1].png"
140            [/frame]
141            [frame]
142                image="units/wesfolk-leader.png:1"
143            [/frame]
144        [/defend]
145        [defend]
146            hits=hit
147            start_time=-126
148            [frame]
149                image="units/wesfolk-leader.png:1,units/wesfolk-leader-defend.png:250,units/wesfolk-leader.png:1"
150            [/frame]
151            sound_start_time=-25
152            [sound_frame]
153                sound={SOUND_LIST:HUMAN_FEMALE_HIT}
154            [/sound_frame]
155        [/defend]
156        [defend]
157            hits=kill
158            start_time=-126
159            [frame]
160                image="units/wesfolk-leader.png:1,units/wesfolk-leader-defend.png:250,units/wesfolk-leader.png:1"
161            [/frame]
162        [/defend]
163        [leading_anim]
164            start_time=-150
165            [frame]
166                image="units/wesfolk-leader-leading.png:300"
167            [/frame]
168        [/leading_anim]
169        [attack_anim]
170            [filter_attack]
171                name=sling
172            [/filter_attack]
173            start_time=-400
174            sound_start_time=-400
175            offset=0.0
176            [if]
177                hits=yes
178                {MISSILE_FRAME_STONE_HIT 8 -8}
179                [sound_frame]
180                    sound=sling.ogg
181                [/sound_frame]
182            [/if]
183            [else]
184                hits=no
185                {MISSILE_FRAME_STONE_MISS 8 -8}
186                [sound_frame]
187                    sound=sling-miss.ogg
188                [/sound_frame]
189            [/else]
190            [frame]
191                image="units/wesfolk-leader-sling-[1~2].png:[250,200]"
192            [/frame]
193        [/attack_anim]
194        [attack_anim]
195            [filter_attack]
196                name=staff
197            [/filter_attack]
198            start_time=-175
199            [frame]
200                image="units/wesfolk-leader.png:25"
201            [/frame]
202            [frame]
203                image="units/wesfolk-leader-staff-[1~2].png:[75,175]"
204            [/frame]
205            {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125}
206            [frame]
207                image="units/wesfolk-leader-defend-1-2.png:50"
208            [/frame]
209            [frame]
210                image="units/wesfolk-leader.png:25"
211            [/frame]
212        [/attack_anim]
213    [/variation]
214[/unit_type]
215