FutureProg functions

subtractspellduration

Magiccomputer function, computer program, standard futureprog

subtractspellduration overload 1

Number subtractspellduration(Character character, MagicSpell spell, TimeSpan duration)
Available in
  • 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.
ParameterTypeDescription
character Character The character whose active spell effects should be altered
spell MagicSpell The spell to alter
duration TimeSpan The duration to set, add, or subtract