FutureProg functions
addspellduration
addspellduration overload 1
Number addspellduration(Character character, MagicSpell spell, TimeSpan duration)
Available in
- computer function
- computer program
- standard futureprog
Adds to the remaining duration of scheduled active effects from the specified spell and returns the number altered.
| Parameter | Type | Description |
|---|---|---|
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 |