Moved the elemental trait to core;...

...gave the trait to DW's Fire Guardian for consistency with UtBS's.
This commit is contained in:
Steven Panek 2010-10-07 21:21:39 +00:00
parent f1d5eb70e0
commit f3052d1159
3 changed files with 16 additions and 16 deletions

View file

@ -3,6 +3,7 @@
id=Fire Guardian
name= _ "Fire Guardian"
race=monster
{TRAIT_ELEMENTAL}
image=units/monsters/fireghost.png
{DEFENSE_ANIM "units/monsters/fireghost-defend.png" units/monsters/fireghost.png groan.wav }
hitpoints=23

View file

@ -1,16 +0,0 @@
#textdomain wesnoth-Quenoth-Sandbox
##textdomain wesnoth-utbs
#define TRAIT_ELEMENTAL
# Units with trait Elemental cannot be drained, poisoned or plagued.
[trait]
id=elemental
availability="musthave"
name= _ "elemental"
description= _ "Immune to drain, poison and plague"
[effect]
apply_to=status
add=not_living
[/effect]
[/trait]
#enddef

View file

@ -44,6 +44,21 @@
[/trait]
#enddef
#define TRAIT_ELEMENTAL
# Units with trait Elemental cannot be drained, poisoned or plagued.
[trait]
id=elemental
availability="musthave"
male_name= _ "elemental"
female_name= _ "female^elemental"
description= _ "Immune to drain, poison and plague"
[effect]
apply_to=status
add=not_living
[/effect]
[/trait]
#enddef
#define TRAIT_STRONG
# Units with trait Strong get a +1 increment in hitpoints and melee damage.
[trait]