forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
VariableCastSpell
JasperLorelai edited this page Nov 1, 2020
·
6 revisions
Qualified Name: com.nisovin.magicspells.spells.instant.VariableCastSpell
Parent: InstantSpell
Functionality: Casts a spell saved to the variable's name.
Configuration:
| Option | Description | Default Value |
|---|---|---|
| variable-name | Name of the variable. | null |
| str-doesnt-contain-spell | Message sent to the caster when the variable-name doesn't contain a valid spell. | "You do not have a valid spell in memory" |
variablecast:
spell-class: ".instant.VariableCastSpell"
variable-name: spell_variable
str-doesnt-contain-spell: "You currently dont have any stored spell."