FutureProg functions
cancastspell
cancastspell overload 1
Boolean cancastspell(Character character, MagicSpell spell)
Available in
- computer function
- computer program
- standard futureprog
Returns true if the character knows the spell, the spell is ready, and it uses a cast trigger.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character to check |
spell |
MagicSpell |
The spell to check |