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

52 lines
939 B
INI

[unit]
id=Revenant
name= _ "Revenant"
race=undead
image="undead-revenant.png"
image_defensive="undead-revenant-defend.png"
hitpoints=40
movement_type=undeadfoot
movement=5
experience=85
level=2
alignment=chaotic
advanceto=Draug
cost=25
usage=fighter
unit_description= _ "Revenants are undead creatures raised from once mighty warriors. While the warriors' will and soul are all but lost, their fighting skills certainly remain with the Revenant."
get_hit_sound=skeleton-hit.wav
[resistance]
blade=60
pierce=40
impact=120
[/resistance]
[death]
[frame]
begin=0
end=200
image="undead-revenant-dying.png"
[/frame]
[frame]
begin=200
end=400
image="undead-revenant-dying-2.png"
[/frame]
[/death]
[attack]
name=axe
type=blade
range=short
damage=8
number=4
[frame]
begin=-100
end=100
image="undead-revenant-attack.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/attack]
[/unit]