BEHAVIOR-ENSPELLED
Generic Room, Object, and Object Behavior
This behavior causes a spell's effects to be invoked. The spell is not cast in the traditional manner, and no mana is expended if this happens to be attached to a mobile behavior. The intent of this behavior is to allow builders to be able to use the effects of any spell in their area. For example, you could trap a poisonous frog's 'hit' event and have it use an enspelled of 'poison' to simulate it poisoning its victims when entering combat. Or you could invoke an 'inferno' spell to simulate a rush of fire entering the room. You can use this behavior to simulate actual spells as well.
Arguments: <trigger> <option> [.] Next Lines: [<behavior responses>]
where option is one of the following (use () for multiple options):
spell <spell name> The name of the spell to cast (use single
quotes if the spell name more than one word).
level <level> What level the spell should be cast at.
If attached to a mobile behavior, the level
defaults to the level of the mobile. Otherwise
it defaults to level 10.
level bearer If the object is carried, use the level of the
mobile carrying it.
args <spell args> The arguments to the spell (if any). Use
single quotes around the spell arguments if the
arguments consist of more than one word.
nosave Force failure of any applicable saving throws.
savingmod|sm <mod> Allows you to specify a modifier on the
victim's saving throw. Positive helps victim.
notouch Do not require the mobile Enspelled is
attached to touch its victims in the spells that
normally require it (chill touch, ...).
ex: ob sword enspelled hit (s hellfire l 80 a ^t sm 4)