VariableCastSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".instant.VariableCastSpell"
Description:
Casts a spell (hard cast) saved in the variable.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
variable-name |
Name of the variable. | String | |
str-doesnt-contain-spell |
Message sent to the caster when the variable-name doesn't contain a valid spell. |
Rich Text | "You do not have a valid spell in memory" |
Example:
variablecast:
spell-class: ".instant.VariableCastSpell"
variable-name: spell_variable
str-doesnt-contain-spell: "You currently dont have any stored spell."