Factor ABILITY_CURES into ABILITY_UNPOISON and ABILITY_EXTRA_HEAL.

ABILITY_CURES still exists.
This commit is contained in:
Eric S. Raymond 2007-10-10 12:21:37 +00:00
parent b56d81887b
commit 40754e7792

View file

@ -21,9 +21,7 @@ A poisoned unit cannot be cured of its poison by a healer, and must seek the car
[/heals]
#enddef
#define ABILITY_CURES
# Canned definition of the cure ability (which entails heal+8) to be included
# in an [abilities] clause..
#define ABILITY_EXTRA_HEAL
[heals]
value=8
id=healing
@ -40,6 +38,11 @@ A poisoned unit cannot be cured of its poison by a healer, and must seek the car
adjacent=n,ne,se,s,sw,nw
[/affect_adjacent]
[/heals]
#enddef
#define ABILITY_UNPOISON
# Canned definition of the cure-poison ability to be included
# in an [abilities] clause.
[heals]
affect_allies=yes
id=curing
@ -54,6 +57,13 @@ A curer can cure a unit of poison, although that unit will receive no additional
[/heals]
#enddef
#define ABILITY_CURES
# Canned definition of the cure ability (which entails heal+8) to be
# included in an [abilities] clause..
{ABILITY_UNPOISON}
{ABILITY_EXTRA_HEAL}
#enddef
#define ABILITY_REGENERATES
# Canned definition of the Regenerate ability to be included in an [abilities]
# clause.