FutureProg functions

subtractspellduration

Magic · computer function, computer program, standard futureprog

Number subtractspellduration(Character character, MagicSpell spell, TimeSpan duration)
Contexts: computer function, computer program, standard futureprog
Subtracts from the remaining duration of scheduled active effects from the specified spell and returns the number altered. Effects reduced below zero are removed.
character: The character whose active spell effects should be altered
spell: The spell to alter
duration: The duration to set, add, or subtract

← Back to FutureProg functions