FutureProg functions

cancastspellnow

Magic · computer function, computer program, standard futureprog

Boolean cancastspellnow(Character character, MagicSpell spell)
Contexts: computer function, computer program, standard futureprog
Returns true if the character can currently cast the spell against themself at any permitted power.
character: The character to check
spell: The spell to check

Boolean cancastspellnow(Character character, MagicSpell spell, Perceivable target)
Contexts: computer function, computer program, standard futureprog
Returns true if the character can currently cast the spell against the target at any permitted power.
character: The character to check
spell: The spell to check
target: The target to use for target-aware cost and readiness checks

Boolean cancastspellnow(Character character, MagicSpell spell, Perceivable target, Text power)
Contexts: computer function, computer program, standard futureprog
Returns true if the character can currently cast the spell against the target at the specified power.
character: The character to check
spell: The spell to check
target: The target to use for target-aware cost and readiness checks
power: The spell power name to test

Boolean cancastspellnow(Character character, MagicSpell spell, Text power)
Contexts: computer function, computer program, standard futureprog
Returns true if the character can currently cast the spell against themself at the specified power.
character: The character to check
spell: The spell to check
power: The spell power name to test

← Back to FutureProg functions