Skip to content

VariableCastSpell

MomoPewpew edited this page Jul 28, 2023 · 6 revisions

Source Code

spell-class: ".instant.VariableCastSpell"

Description:

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"

Example:

variablecast:
    spell-class: ".instant.VariableCastSpell"
    variable-name: spell_variable
    str-doesnt-contain-spell: "You currently dont have any stored spell."
Clone this wiki locally