/
Royal_Ranger.cfg
162 lines (162 loc) · 4.37 KB
/
Royal_Ranger.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
#textdomain wesnoth-Ageless_Era
[unit_type]
id=AE_arc_ukians_Northern_Ranger
name= _ "Northern Ranger"
race=human
image="units/ukians/northern-ranger.png"
small_profile="portraits/n_ranger.png~CROP(25,40,330,330)~SCALE(205,205)"
profile="portraits/n_ranger.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=55
movement_type=elusivefoot
movement=6
vision=8
experience=80
level=2
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=25
usage=fighter
description={AE_ARC_UNIT_NOTICE}+_"The cold of the far north robs the fingers of their dexterity and makes a bow too hard to use. For this reason, the Northern Rangers favor spears, which do not require nimble fingers, over the bow. These fighters must move alone in the harsh north, away from the warmth of camp or even a horse, so they are relatively unfazed by the touch of cold."
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM "units/ukians/northern-ranger-defend-2.png" "units/ukians/northern-ranger-defend.png" {SOUND_LIST:HUMAN_HIT} }
[abilities]
{ABILITY_AMBUSH}
[/abilities]
[resistance]
cold=50
impact=80
pierce=80
blade=90
[/resistance]
[defense]
frozen=60
sand=60
[/defense]
[movement_costs]
cave=1
sand=1
frozen=1
forest=1
hills=1
mountains=2
[/movement_costs]
[attack]
name=sword
description={STR_SWORD}
type=blade
range=melee
damage=7
number=3
icon=attacks/sword-human-short.png
[/attack]
[attack]
name=spear
description={STR_SPEAR}
type=pierce
range=melee
damage=12
number=2
icon=attacks/spear.png
[specials]
{WEAPON_SPECIAL_FIRSTSTRIKE}
[/specials]
# attack_weight=0.00001
# attack_weight=0 broken for BfW 1.11.7
#attack_weight=0 # should be fixed now
[/attack]
[attack]
name=javelin
description={STR_JAVELIN}
icon=attacks/javelin-human.png
type=pierce
range=ranged
damage=7
number=3
[/attack]
[attack_anim]
[filter_attack]
name=javelin
[/filter_attack]
[missile_frame]
begin=-150
end=0
image="projectiles/spear-n.png"
image_diagonal="projectiles/spear-ne.png"
[/missile_frame]
[frame]
begin=-250
end=-150
image="units/ukians/northern-ranger.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/ukians/northern-ranger.png"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
begin=-50
end=50
image="units/ukians/northern-ranger.png"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-50
end=50
image="units/ukians/northern-ranger.png"
[/frame]
[/else]
[frame]
begin=50
end=100
image="units/ukians/northern-ranger.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
# some day, these animations will be done, but for now...
range=melee
# name=sword
[/filter_attack]
[frame]
begin=-200
end=-150
image="units/ukians/northern-ranger.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/ukians/northern-ranger.png"
[/frame]
[if]
hits=yes
[frame]
begin=-50
end=100
image="units/ukians/northern-ranger.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-50
end=100
image="units/ukians/northern-ranger.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=150
image="units/ukians/northern-ranger.png"
[/frame]
[/attack_anim]
[/unit_type]