-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
Fighter.cfg
79 lines (75 loc) · 2.56 KB
/
Fighter.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
#textdomain wesnoth-utbs
[unit_type]
id=Quenoth Fighter
name= _ "Quenoth Fighter"
race=elf
ignore_race_traits=yes
{TRAIT_STRONG}
{TRAIT_QUICK}
{TRAIT_INTELLIGENT}
{TRAIT_RESILIENT}
image=units/quenoth/fighter.png
profile="portraits/quenoth/fighter.png"
hitpoints=34
movement_type=quenoth_foot
movement=5
experience=40
level=1
alignment=lawful
advances_to=Quenoth Warrior,Quenoth Flanker
cost=15
usage=fighter
description= _ "Long ago, during more prosperous times, Elven warriors favored the use of swords as more elegant, versatile weapons compared to other melee armaments. However, in recent times, the dearth of supplies for smithing has reduced the availability of blade-crafting, necessitating the fashioning of cheaper, more easily repaired weaponry. Quenoth Fighters are the most numerous of Elven warriors and are remarkably skilled in coordinated groups, where they can counteract the lack of more sophisticated weaponry."+{SPECIAL_NOTES}+{SPECIAL_NOTES_FORMATION}+{SPECIAL_NOTES_FIRSTSTRIKE}
die_sound={SOUND_LIST:ELF_HIT}
[abilities]
{ABILITY_FORMATION}
[/abilities]
[attack]
name=spear
#textdomain wesnoth-units
description= _"spear"
#textdomain wesnoth-utbs
type=pierce
range=melee
damage=10
number=2
icon=attacks/spear.png
[specials]
{WEAPON_SPECIAL_FIRSTSTRIKE}
[/specials]
[/attack]
{DEFENSE_ANIM "units/quenoth/fighter-defend-2.png" "units/quenoth/fighter-defend-1.png" {SOUND_LIST:ELF_HIT}}
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
offset=0.0:130,0.0~0.6:170,0.6~0.0:230
start_time=-300
[frame]
image="units/quenoth/fighter-attack[1,2,3,4,5].png:[80,70,100,50,230]"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[/unit_type]
#define QUENOTH_FIGHTER_VARIANT SUFFIX_NUMBER COST
[unit_type]
id=Quenoth Fighter{SUFFIX_NUMBER}
[base_unit]
id=Quenoth Fighter
[/base_unit]
hide_help=yes
do_not_list=yes
cost={COST}
[/unit_type]
#enddef
{QUENOTH_FIGHTER_VARIANT 1 16}
{QUENOTH_FIGHTER_VARIANT 2 17}
{QUENOTH_FIGHTER_VARIANT 3 18}
{QUENOTH_FIGHTER_VARIANT 4 19}
{QUENOTH_FIGHTER_VARIANT 5 20}
{QUENOTH_FIGHTER_VARIANT 6 21}
{QUENOTH_FIGHTER_VARIANT 7 22}
{QUENOTH_FIGHTER_VARIANT 8 23}
{QUENOTH_FIGHTER_VARIANT 9 24}
{QUENOTH_FIGHTER_VARIANT 10 25}
#undef QUENOTH_FIGHTER_VARIANT