Skip to content
JasperLorelai edited this page May 19, 2024 · 6 revisions

Source Code

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."
Clone this wiki locally