wesnoth/data/units/Noble_Fighter.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

46 lines
910 B
INI

[unit]
id=Noble Fighter
name= _ "Noble Fighter"
race=human
gender=male
image="noble-fighter.png"
image_defensive="noble-fighter-defend.png"
#ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
profile=portraits/The_Rise_of_Wesnoth/haldric.png
#endif
hitpoints=36
movement_type=smallfoot
movement=6
experience=40
level=1
alignment=lawful
advanceto=Noble Commander
cost=35
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to ranged attacks from enemies. However they have the potential to become great Commanders one day."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=short
damage=7
number=3
icon=attacks/sword.png
[frame]
begin=-200
end=-75
image="noble-fighter-attack.png"
[/frame]
[frame]
begin=-75
end=50
image="noble-fighter-attack2.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/attack]
[/unit]