BEHAVIOR-DAMAGER
Generic Room, Mobile, and Object Behavior
This behavior is used to cause damage to everyone in the current room. It can be used to simulate hostile environments or various traps among numerous other possibilities. It can also be used to simulate many other effects, for example a fire-breathing dragon.
Arguments: <trigger> <option> [.] Next Lines: [<behavior responses>]
Where option is one of the following (use () for multiple options):
amount <amount> The amount of damage to do. (Ex: 2d4+3)
delay <delay till next damage> Delay time before the damager can
"fire" again. The default delay is 0,
indicating no delay. (Delay is in
pulses.)
focus <FOCUS> Who should be damaged.
saving <SAVING-THROWS> The type of saving throw to make to
take half damage.
type <RESISTANCES>|mana|vitalityThe type of damage to do.
vampiric <VAMPIRIC> Vampiric effect -- whenever Damager
damages, whatever damager is attached to can
absorb the damage as healing.
(You can enter multiple vampirics.)
manacost <cost in mana> How much mana it costs to activate
this damager. The default is 0.
vitcost <cost in vitality> How much vitality it costs to active
this damager. The default is 0.
ex: rb room damager focus room type fire amount 2d5+7