mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 15:13:36 +00:00
131 lines
2.5 KiB
INI
131 lines
2.5 KiB
INI
# Traits for the [modifications] clause of SingleWML descriptions
|
|
|
|
#textdomain wesnoth
|
|
|
|
#define TRAIT_LOYAL
|
|
# Units with trait Loyal have no upkeep.
|
|
[trait]
|
|
id=loyal
|
|
male_name= _ "loyal"
|
|
female_name= _ "female^loyal"
|
|
description= _ "Zero upkeep"
|
|
[effect]
|
|
apply_to=loyal
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_UNDEAD
|
|
# Units with trait Undead cannot be poisoned.
|
|
[trait]
|
|
id=undead
|
|
male_name= _ "undead"
|
|
female_name= _ "female^undead"
|
|
description= _ "Immune to poison"
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_STRONG
|
|
# Units with trait Strong get a +1 increment in hitpoints and melee damage.
|
|
[trait]
|
|
id=strong
|
|
male_name= _ "strong"
|
|
female_name= _ "female^strong"
|
|
[effect]
|
|
apply_to=attack
|
|
range=melee
|
|
increase_damage=1
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=1
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_DEXTROUS
|
|
# Units with trait Dextrous get a +1 to ranged damage.
|
|
[trait]
|
|
id=dextrous
|
|
male_name= _ "dextrous"
|
|
female_name= _ "female^dextrous"
|
|
[effect]
|
|
apply_to=attack
|
|
range=ranged
|
|
increase_damage=1
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_QUICK
|
|
# Units with trait Quick have +1 movement.
|
|
[trait]
|
|
id=quick
|
|
male_name= _ "quick"
|
|
female_name= _ "female^quick"
|
|
[effect]
|
|
apply_to=movement
|
|
increase=1
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=-10%
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_INTELLIGENT
|
|
# Units with trait Intelligent get a 20% decrease in XP required to advance.
|
|
[trait]
|
|
id=intelligent
|
|
male_name= _ "intelligent"
|
|
female_name= _ "female^intelligent"
|
|
[effect]
|
|
apply_to=max_experience
|
|
increase=-20%
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_RESILIENT
|
|
# Units with trait Resilient get 10% more HP plus 3.
|
|
[trait]
|
|
id=resilient
|
|
male_name= _ "resilient"
|
|
female_name= _ "female^resilient"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=10%
|
|
[/effect]
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=3
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_HEALTHY
|
|
# Units with trait Healthy heal at 3HP per turn.
|
|
[trait]
|
|
id=healthy
|
|
male_name= _ "healthy"
|
|
female_name= _ "female^healthy"
|
|
description= _ "Heals faster if resting"
|
|
[effect]
|
|
apply_to=hitpoints
|
|
increase_total=3
|
|
[/effect]
|
|
[/trait]
|
|
#enddef
|
|
|
|
#define TRAIT_FEARLESS
|
|
# Units with trait Fearless fight normally during unfavorable day/night times.
|
|
[trait]
|
|
id=fearless
|
|
male_name= _ "fearless"
|
|
female_name= _ "female^fearless"
|
|
description= _ "Fights normally during unfavorable times of day/night"
|
|
[/trait]
|
|
#enddef
|
|
|