wesnoth/data/units/Elvish_Champion.cfg
Philippe Plantier ba195ecd8a [[Attack some problems with data serialization in saves]]
* Made serialized data be saved as untranslated. To achieve this, added the
  t_string class, which encapsulates a translatable string.

* Completely rewrote the (text) WML parser, making it use a tokenizer / parser
  architecture. The parser is now much more strict and validates a WML grammar.

  - Change to the WML syntax: pluses are now ignored, spaces are now forbidden
    in WML keys

* Rewrote the way the variables are interpolated. There is no more default
  interpolation, however, the vconfig class was added, which provides a
  variable-interpolating proxy to config objects.

* There is still an important known bug: this is impossible to load textmode
  save games now, because the statistics module saves some WML with spaces in
  keys, which the parser refuses. I am commiting anyway to respect the string
  freeze; the fix for this bug will come tomorrow

Hoping I do not break everything...
2005-03-27 23:06:17 +00:00

90 lines
1.6 KiB
INI

[unit]
id=Elvish Champion
name= _ "Elvish Champion"
race=elf
image="elvish-champion.png"
image_defensive="elvish-champion-defend.png"
image_long="elvish-champion-bow.png"
image_defensive_long="elvish-champion-bow-defend.png"
hitpoints=70
movement_type=woodland
movement=5
{LESS_NIMBLE_ELF}
experience=500
level=3
alignment=neutral
advanceto=null
cost=100
usage=fighter
unit_description= _ "Elvish Champions are awesome masters of swordsmanship, inflicting large amounts of damage in close combat. Master fighters, they are also adept with the bow, able to inflict damage on their enemies from both near and far."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=short
damage=12
number=4
[frame]
begin=-100
end=100
image="elvish-champion-attack.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/attack]
[attack]
name=bow
type=pierce
range=long
damage=9
number=4
[sound]
time=-100
sound=firearrow.wav
[/sound]
[sound]
time=0
sound=arrow-hit.wav
sound_miss=arrow-miss.wav
[/sound]
[frame]
begin=-600
end=-450
image="elvish-champion-bow.png"
[/frame]
[frame]
begin=-450
end=-300
image="elvish-champion-bow-attack1.png"
[/frame]
[frame]
begin=-300
end=-200
image="elvish-champion-bow-attack2.png"
[/frame]
[frame]
begin=-200
end=0
image="elvish-champion-bow-attack3.png"
[/frame]
[frame]
begin=0
end=100
image="elvish-champion-bow.png"
[/frame]
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/attack]
[/unit]