Made the feeder type a macro parameter for ABILITY_FEEDING.
This commit is contained in:
parent
8b079e97a7
commit
abaa21302d
2 changed files with 3 additions and 3 deletions
|
@ -463,7 +463,7 @@ Enemy units cannot see this unit while it is in deep water, except if they have
|
|||
[/hides]
|
||||
#enddef
|
||||
|
||||
#define ABILITY_FEEDING
|
||||
#define ABILITY_FEEDING FEEDER_TYPE
|
||||
# Canned definition of the Feeding ability to be included in an
|
||||
# [abilities] clause.
|
||||
[resistance]
|
||||
|
@ -488,7 +488,7 @@ This unit gains 1 hitpoint added to its maximum whenever it kills a living unit.
|
|||
[/filter]
|
||||
|
||||
[filter_second]
|
||||
type=Necrophage
|
||||
type={FEEDER_TYPE}
|
||||
[/filter_second]
|
||||
|
||||
[unstore_unit]
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
unit_description= _ "The necrophage, or 'devourer of the dead', is a monstrous, corpulent thing, which bears only a crude resemblance to a man. They appear to be quite rotten in spite of their ability to move; they are rife with disease and poisons of the blood, and have a stench to match. Likely the most unhinging fact about them, for fact it appears to be, is that they were somehow made from living men - a process about which almost nothing is known, but which can be nothing but nightmarish."+{SPECIAL_NOTES}+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_FEEDING}
|
||||
die_sound=ghoul-hit.wav
|
||||
[abilities]
|
||||
{ABILITY_FEEDING}
|
||||
{ABILITY_FEEDING Necrophage}
|
||||
[/abilities]
|
||||
{DEFENSE_ANIM "units/undead/necrophage-defend-2.png" "units/undead/necrophage-defend-1.png" ghoul-hit.wav }
|
||||
[attack]
|
||||
|
|
Loading…
Add table
Reference in a new issue