-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
Scout.cfg
108 lines (104 loc) · 2.83 KB
/
Scout.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
#textdomain wesnoth-utbs
[unit_type]
id=Quenoth Scout
name= _ "Quenoth Scout"
image=units/quenoth/scout.png
profile="portraits/quenoth/scout.png"
race=elf
hitpoints=29
movement_type=quenoth_horse
movement=8
experience=37
level=1
alignment=lawful
advances_to=Quenoth Pathfinder,Quenoth Archer
cost=17
usage=scout
description= _ "The Quenoth Scouts move swiftly across the sands. Their riding skill are unmatched, and these they use to harry and incapacitate enemies."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DISENGAGE}
die_sound=horse-die.ogg
[abilities]
{ABILITY_DISENGAGE}
[/abilities]
[attack]
name=sword
#textdomain wesnoth-units
description= _"sword"
#textdomain wesnoth-utbs
type=blade
range=melee
damage=6
number=3
icon=attacks/sword-elven.png
movement_used=0
[/attack]
[attack]
name=sling
#textdomain wesnoth-units
description= _"sling"
#textdomain wesnoth-utbs
type=impact
range=ranged
damage=8
number=2
icon=attacks/sling.png
movement_used=0
[/attack]
{DEFENSE_ANIM "units/quenoth/scout-defend-2.png" "units/quenoth/scout-defend-1.png" {SOUND_LIST:HORSE_HIT}}
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
offset=0.0~0.3,0.3~0.5,0.5~0.60,0.60~0.3,0.3~0.0
start_time=-300
[frame]
duration=450
image="units/quenoth/scout.png"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sling
[/filter_attack]
offset=0.0
start_time=-400
[if]
hits=yes
{MISSILE_FRAME_STONE_HIT 5 -6}
[frame]
image="units/quenoth/scout.png:450"
sound=sling.ogg
[/frame]
[/if]
[else]
hits=no
{MISSILE_FRAME_STONE_MISS 5 -6}
[frame]
image="units/quenoth/scout.png:450"
sound=sling-miss.ogg
[/frame]
[/else]
[/attack_anim]
[/unit_type]
#define QUENOTH_SCOUT_VARIANT SUFFIX_NUMBER COST
[unit_type]
id=Quenoth Scout{SUFFIX_NUMBER}
[base_unit]
id=Quenoth Scout
[/base_unit]
hide_help=yes
do_not_list=yes
cost={COST}
[/unit_type]
#enddef
{QUENOTH_SCOUT_VARIANT 1 18}
{QUENOTH_SCOUT_VARIANT 2 19}
{QUENOTH_SCOUT_VARIANT 3 20}
{QUENOTH_SCOUT_VARIANT 4 21}
{QUENOTH_SCOUT_VARIANT 5 22}
{QUENOTH_SCOUT_VARIANT 6 23}
{QUENOTH_SCOUT_VARIANT 7 24}
{QUENOTH_SCOUT_VARIANT 8 25}
{QUENOTH_SCOUT_VARIANT 9 26}
{QUENOTH_SCOUT_VARIANT 10 27}
#undef QUENOTH_SCOUT_VARIANT