FutureProg functions

setspellduration

Magiccomputer function, computer program, standard futureprog

setspellduration overload 1

Number setspellduration(Character character, MagicSpell spell, TimeSpan duration)
Available in
  • computer function
  • computer program
  • standard futureprog
Sets the remaining duration of active effects from the specified spell and returns the number of spell-parent effects altered.
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