-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
Fighter.cfg
80 lines (76 loc) · 2.29 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
80
#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= _ "Fighters make up the bulk of the Quenoth warriors. Aside from being proficient in the use of the spear, they are remarkably skilled in working together and coordinating defense."+{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~0.3,0.3~0.5,0.5~0.60,0.60~0.3,0.3~0.0
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