FutureProg functions
spellduration
spellduration overload 1
TimeSpan spellduration(Character character, MagicSpell spell)
Available in
- computer function
- computer program
- standard futureprog
Returns the longest remaining scheduled duration of active spell-parent effects from the specified spell, or zero if none are scheduled.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose active spell effects should be inspected |
spell |
MagicSpell |
The spell to inspect |