-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
Loyalist_Cavalier.cfg
93 lines (92 loc) · 2.84 KB
/
Loyalist_Cavalier.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
#textdomain wesnoth-units
[unit_type]
id=Cavalier
name= _ "Cavalier"
race=human
image="units/human-loyalists/cavalier/cavalier.png"
profile="portraits/humans/cavalier.png"
hitpoints=64
movement_type=mounted
movement=9
experience=150
level=3
alignment=lawful
advances_to=null
{AMLA_DEFAULT}
undead_variation=mounted
cost=52
#extra resistance for these units
usage=scout
# wmllint: notecheck off
description= _ "Cavaliers are masters at the use of both sword and crossbow from horseback. Their combination of striking power and mobility is fearsome, and they have a reputation for dash and aggressiveness to match it. The daring deeds of Cavaliers are the subject of many a tale and song."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DEFENSE_CAP}
die_sound=horse-die.ogg
[movement_anim]
start_time=0
[frame]
image="units/human-loyalists/cavalier/cavalier.png:150"
[/frame]
[/movement_anim]
{DEFENSE_ANIM "units/human-loyalists/cavalier/cavalier-defend2.png" "units/human-loyalists/cavalier/cavalier-defend1.png" {SOUND_LIST:HORSE_HIT} }
[resistance]
blade=70
impact=60
cold=80
[/resistance]
[attack]
name=sword
description=_"longsword"
icon=attacks/greatsword-human.png
type=blade
range=melee
damage=10
number=4
[/attack]
[attack]
name=crossbow
description=_"crossbow"
icon=attacks/crossbow-human.png
type=pierce
range=ranged
damage=20
number=1
[/attack]
[attack_anim]
[filter_attack]
name=crossbow
[/filter_attack]
start_time=-1100
[frame]
image="units/human-loyalists/cavalier/cavalier.png:[100*5,200,300]"
[/frame]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -300}
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-225
[frame]
image="units/human-loyalists/cavalier/cavalier.png:25"
[/frame]
[frame]
image="units/human-loyalists/cavalier/cavalier.png:50"
sound=horse-canter.wav
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/cavalier/cavalier.png:300"
[/frame]
[frame]
image="units/human-loyalists/cavalier/cavalier.png:50"
[/frame]
[frame]
image="units/human-loyalists/cavalier/cavalier.png:25"
[/frame]
[/attack_anim]
[/unit_type]