Help

JS-SPELL-DAMAGE

For immortals

The Spell.damage() is used to perform damage against a character or object. The syntax is similar to JS-ELEMENT-DAMAGE except that this method is more convenient to use for spells. The syntax is:

Syntaxdamage( amount, option0, ..., optionN );

The resistance type is calculated automatically based on the runes in the spell and the damager is the caster of the spell. So they do not need to be specified here like they do with Element.damage(). The options are one of the following:

<saving type>      A saving type that they can save versus
                   to receive half damage.  See SAVING-THROWS
                   for a list of types.
sm <amount>        An amount to modify the saving throw by to
                   make it easier or harder to save versus this spell.
subject <sub>      Who the damage should be done to.  Normally
                   the mud can figure this out automatically but
                   this option is provided if you wish to specify it.

This method also differs from Element.damage() in that it also takes into account masteries like Weather and Fire Mastery. For example:

damage( dice( 2, 4 ), 'reflex' );