FutureProg functions
cancastspellnow
Overload 1
cancastspellnow overload 1
Boolean cancastspellnow(Character character, MagicSpell spell)
Available in
- computer function
- computer program
- standard futureprog
Returns true if the character can currently cast the spell against themself at any permitted power.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character to check |
spell |
MagicSpell |
The spell to check |
Overload 2
cancastspellnow overload 2
Boolean cancastspellnow(Character character, MagicSpell spell, Perceivable target)
Available in
- computer function
- computer program
- standard futureprog
Returns true if the character can currently cast the spell against the target at any permitted power.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character to check |
spell |
MagicSpell |
The spell to check |
target |
Perceivable |
The target to use for target-aware cost and readiness checks |
Overload 3
cancastspellnow overload 3
Boolean cancastspellnow(Character character, MagicSpell spell, Perceivable target, Text power)
Available in
- computer function
- computer program
- standard futureprog
Returns true if the character can currently cast the spell against the target at the specified power.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character to check |
spell |
MagicSpell |
The spell to check |
target |
Perceivable |
The target to use for target-aware cost and readiness checks |
power |
Text |
The spell power name to test |
Overload 4
cancastspellnow overload 4
Boolean cancastspellnow(Character character, MagicSpell spell, Text power)
Available in
- computer function
- computer program
- standard futureprog
Returns true if the character can currently cast the spell against themself at the specified power.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character to check |
spell |
MagicSpell |
The spell to check |
power |
Text |
The spell power name to test |