wesnoth/data/traits.cfg
Guillaume Melquiond e47e996967 Neither names.cfg nor traits.cfg contain relevant WML,
...don't put them in [+units] tags. The scenarios directories don't
contain WML files, don't preprocess them. Don't change the text domain
to itself at each traits macro substitution, do it only once and
benefit from file scoping.
2005-05-30 07:47:54 +00:00

90 lines
1.2 KiB
INI
Executable File

#textdomain wesnoth
#define TRAIT_LOYAL
[trait]
id=loyal
name= _ "loyal"
description= _ "Zero upkeep"
[effect]
apply_to=loyal
[/effect]
[/trait]
#enddef
#define TRAIT_UNDEAD
[trait]
id=undead
name= _ "undead"
description= _ "Immune to poison"
[/trait]
#enddef
#define TRAIT_STRONG
[trait]
id=strong
name= _ "strong"
[effect]
apply_to=attack
range=short
increase_damage=1
[/effect]
[effect]
apply_to=hitpoints
increase_total=2
heal_full=yes
[/effect]
[/trait]
#enddef
#define TRAIT_DEXTROUS
[trait]
id=dextrous
name= _ "dextrous"
[effect]
apply_to=attack
range=long
increase_damage=1
[/effect]
[/trait]
#enddef
#define TRAIT_QUICK
[trait]
id=quick
name= _ "quick"
[effect]
apply_to=movement
increase=1
[/effect]
[effect]
apply_to=hitpoints
increase_total=-10%
heal_full=yes
[/effect]
[/trait]
#enddef
#define TRAIT_INTELLIGENT
[trait]
id=intelligent
name= _ "intelligent"
[effect]
apply_to=max_experience
increase=-20%
[/effect]
[/trait]
#enddef
#define TRAIT_RESILIENT
[trait]
id=resilient
name= _ "resilient"
[effect]
apply_to=hitpoints
increase_total=7
#make sure the unit starts at full health
heal_full=yes
[/effect]
[/trait]
#enddef