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

156 lines
3.6 KiB
INI

[unit]
id=Mage
name= _ "Mage"
race=human
gender=male,female
image="mage.png"
image_defensive="mage-defend.png"
hitpoints=24
movement_type=smallfoot
movement=5
experience=60
level=1
alignment=lawful
advanceto=White Mage,Red Mage
cost=20
usage=mixed fighter
unit_description= _ "Mages are both weak and powerful. Moving slowly, and with poor defensive skills, Mages attack with magical missiles that always have a high chance of hitting their target. For this reason, Mages are an excellent choice for flushing out enemies hiding in difficult terrain."
get_hit_sound=groan.wav
[attack]
name=staff
type=impact
range=short
damage=5
number=1
[frame]
begin=-100
end=-20
image="mage-attack-staff1.png"
[/frame]
[frame]
begin=-20
end=100
image="mage-attack-staff2.png"
[/frame]
[sound]
time=-100
sound=dagger-swish.wav
[/sound]
[/attack]
[attack]
name=missile
type=fire
range=long
special=magical
damage=7
number=3
[sound]
time=-200
sound=magicmissile.wav
[/sound]
[frame]
begin=-400
end=-350
image="mage-attack-magic1.png"
[/frame]
[frame]
begin=-350
end=0
image="mage-attack-magic2.png"
halo=halo/mage-preparation-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png
halo_x,halo_y=6,-19
[/frame]
[frame]
begin=0
end=50
image="mage-attack-magic1.png"
[/frame]
[missile_frame]
begin=-200
end=0
image="projectiles/magicmissile-n.png"
image_diagonal="projectiles/magicmissile-ne.png"
halo=halo/mage-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.png
halo_x,halo_y=7,-17
[/missile_frame]
[/attack]
[female]
id=Mage
name= _ "female^Mage"
race=human
gender=female
image="mage+female.png"
image_defensive="mage+female-defend.png"
hitpoints=24
movement_type=smallfoot
movement=5
experience=60
level=1
alignment=lawful
advanceto=White Mage,Red Mage
cost=21
usage=mixed fighter
unit_description= _ "Mages are both weak and powerful. Moving slowly, and with poor defensive skills, Mages attack with magical missiles that always have a high chance of hitting their target. For this reason, Mages are an excellent choice for flushing out enemies hiding in difficult terrain."
get_hit_sound=female-hit.wav
[attack]
name=staff
type=impact
range=short
damage=5
number=1
[frame]
begin=-100
end=-20
image="mage+female-attack-staff-1.png"
[/frame]
[frame]
begin=-20
end=100
image="mage+female-attack-staff-2.png"
[/frame]
[sound]
time=-100
sound=dagger-swish.wav
[/sound]
[/attack]
[attack]
name=missile
type=fire
range=long
special=magical
damage=7
number=3
[sound]
time=-200
sound=magicmissile.wav
[/sound]
[frame]
begin=-400
end=-350
image="mage+female-attack-magic1.png"
[/frame]
[frame]
begin=-350
end=0
image="mage+female-attack-magic2.png"
halo=halo/mage-preparation-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png
halo_x,halo_y=6,-19
[/frame]
[frame]
begin=0
end=50
image="mage+female-attack-magic1.png"
[/frame]
[missile_frame]
begin=-200
end=0
image="projectiles/magicmissile-n.png"
image_diagonal="projectiles/magicmissile-ne.png"
halo=halo/mage-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.png
halo_x,halo_y=7,-17
[/missile_frame]
[/attack]
[/female]
[/unit]