-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
Slasher.cfg
83 lines (81 loc) · 2.59 KB
/
Slasher.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
#textdomain wesnoth-units
[unit_type]
id=Naga Slasher
name= _ "Naga Slasher"
race=naga
gender=male
image="units/nagas/slasher.png"
profile="portraits/nagas/naga-hunter.png"
hitpoints=31
movement_type=naga
movement=7
experience=38
level=1
alignment=liminal
advances_to=Naga Bladewhirler,Naga Ringcaster
cost=15
usage=fighter
description= _ "In contrast to the heavily melee-focused style of their northern brethren, young Naga of the southern tribes prefer to carry small bows, with which they used to pepper their prey with arrows. While finishing off any water-based enemies usually must be done at close range, softening foes with ranged attacks is usually much less dangerous than rushing headlong directly into the fray. Sometimes viewed as cowardly by more proper Naga warriors, these fighters are nonetheless effective when it comes time to engage in warfare."
die_sound=naga-die.ogg
{DEFENSE_ANIM "units/nagas/slasher.png" "units/nagas/slasher.png" {SOUND_LIST:NAGA_HIT} }
[attack]
name=dagger
description=_"dagger"
type=blade
range=melee
damage=4
number=3
icon=attacks/dagger-curved.png
[/attack]
[attack]
name=bow
description= _"bow"
type=pierce
range=ranged
damage=6
number=2
icon=attacks/bow-orcish.png
[/attack]
[attack_anim]
[filter_attack]
name=dagger
[/filter_attack]
start_time=-200
[frame]
image="units/nagas/slasher.png:300"
[/frame]
{SOUND:HIT_AND_MISS dagger-swish.wav dagger-swish.wav -150}
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
start_time=-225
missile_start_time=-150
[if]
hits=yes
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
offset=0~0.8
[/missile_frame]
[frame]
image="units/nagas/slasher.png:300"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
image="units/nagas/slasher.png:300"
sound=bow-miss.ogg
[/frame]
[/else]
[/attack_anim]
[/unit_type]