/
Desert_Captain.cfg
88 lines (88 loc) · 2.72 KB
/
Desert_Captain.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
#textdomain wesnoth-utbs
[unit_type]
id=Desert Captain
name= _ "Desert Captain"
race=elf
image=units/elves-desert/captain.png
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
start_time=-150
[frame]
image="units/elves-desert/captain-leading.png:300"
[/frame]
[/leading_anim]
hitpoints=47
[abilities]
{ABILITY_LEADERSHIP}
[/abilities]
movement_type=desert_elf
movement=5
experience=90
level=2
alignment=lawful
advances_to=Desert Marshal
cost=40
usage=fighter
description= _ "Skilled in commanding other elves, Desert Captains provide a bonus to all level 1 units on adjacent hexes. Desert Captains prefer engaging the enemy in melee combat, but are trained in archery as well."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
die_sound={SOUND_LIST:ELF_HIT}
{DEFENSE_ANIM_RANGE "units/elves-desert/captain-defend.png" "units/elves-desert/captain.png" {SOUND_LIST:ELF_HIT} melee}
{DEFENSE_ANIM_RANGE "units/elves-desert/captain-bow-defend.png" "units/elves-desert/captain-bow.png" {SOUND_LIST:ELF_HIT} ranged }
# melee attack increased from 7-4 to 8-4
# ranged attack decreased from 5-3 to 4-3
[attack]
name=sword
description= _"sword"
type=blade
range=melee
damage=8
number=4
icon=attacks/sword-elven.png
[/attack]
[attack]
name=bow
description= _"bow"
type=pierce
range=ranged
damage=4
number=3
icon=attacks/bow-elven.png
[/attack]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
image="units/elves-desert/captain-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-desert/captain-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-desert/captain-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/elves-desert/captain.png:25"
[/frame]
[frame]
image="units/elves-desert/captain-melee-[2,1,2].png:[75,200,75]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-desert/captain.png:50"
[/frame]
[/attack_anim]
[/unit_type]