wesnoth/data/units/Drake_Fighter.cfg
Jérémy Rosen 0b9b041025 change in sound handling WML within animations,
...sound are now part of the frame, and not a separate element
2006-03-02 23:33:46 +00:00

165 lines
3.5 KiB
INI

[unit]
id=Drake Fighter
name= _ "Drake Fighter"
race=drake
image="units/drakes/fighter.png"
[defend]
[frame]
begin=-150
end=150
image="units/drakes/fighter-defend.png"
[/frame]
[/defend]
[movement_anim]
[frame]
begin=0
end=150
image="units/drakes/fighter-flying.png"
[/frame]
[/movement_anim]
profile="portraits/core/Alex_Jarocha-Ernst/drake-fighter.png"
hitpoints=39
movement_type=drakefly
movement=6
experience=38
level=1
alignment=lawful
advanceto=Drake Warrior
undead_variation=drake
cost=17
usage=fighter
unit_description= _ "Drake Fighters wield curved scimitars with deadly skill, and possess the fire breathing skills of their ancestors. The most skilled Fighters go on to join the ranks of the elite Drake Warriors."
get_hit_sound=drake-hit.wav
die_sound=drake-die.wav
[death]
[frame]
begin=0
end=130
image="units/drakes/fighter-die-1.png"
[/frame]
[frame]
begin=130
end=320
image="units/drakes/fighter-die-2.png"
[/frame]
[frame]
begin=320
end=450
image="units/drakes/fighter-die-3.png"
[/frame]
[frame]
begin=450
end=600
image="units/drakes/fighter-die-4.png"
[/frame]
[frame]
begin=600
end=750
image="units/drakes/fighter-die-5.png"
[/frame]
[frame]
begin=750
end=900
image="units/drakes/fighter-die-6.png"
[/frame]
[frame]
begin=900
end=1050
image="units/drakes/fighter-die-7.png"
[/frame]
[frame]
begin=1050
end=1200
image="units/drakes/fighter-die-8.png"
[/frame]
[/death]
[attack]
name=scimitar
type=blade
range=melee
damage=7
number=3
icon=attacks/sword.png
[animation]
hits=no
[frame]
begin=-200
end=-150
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
sound=miss.wav
begin=-150
end=-149
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
begin=-149
end=-50
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
begin=-50
end=100
image="units/drakes/fighter-attack-close2.png"
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-200
end=-150
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
sound=sword-swish.wav
begin=-150
end=-149
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
begin=-149
end=-50
image="units/drakes/fighter-attack-close1.png"
[/frame]
[frame]
begin=-50
end=100
image="units/drakes/fighter-attack-close2.png"
[/frame]
[/animation]
[/attack]
[attack]
name=fire breath
icon=attacks/fireball.png
type=fire
range=ranged
damage=3
number=3
[animation]
[missile_frame]
begin=-150
end=0
halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
image="projectiles/fireball-n.png"
image_diagonal="projectiles/fireball-nw.png"
[/missile_frame]
[frame]
begin=-250
end=-150
image="units/drakes/fighter-attack-fire1.png"
halo=halo/fireball-preparation-1.png,halo/fireball-preparation-2.png
halo_x,halo_y=10,0
[/frame]
[frame]
begin=-150
end=-50
image="units/drakes/fighter-attack-fire2.png"
halo=halo/fireball-preparation-3.png,halo/fireball-preparation-4.png
halo_x,halo_y=10,0
sound=fire.wav
[/frame]
[/animation]
[/attack]
[/unit]