Skip to content

PhaseSpell

MomoPewpew edited this page Jul 28, 2023 · 9 revisions

Source Code

spell-class: ".instant.PhaseSpell"

Description:

Targeted Spell. Phase through blocks.

Configuration Options:

Option Description Default Value
phasable-blocks A list of block types that can be phased through. If this option is empty or left out, all blocks can be phased through. (empty)
non-phasable-blocks A list of block types that cannot be phased through. (empty)
max-distance The maximum distance the caster can travel through solid matter to reach open air. This includes the distance leading up to the wall (the range). 15
range The maximum distance the caster can be from the wall they are trying to phase through. 5
str-cant-phase The message that appears if the spell fails. Unable to find a place to phase to.

Spell Default:

phase:
    spell-class: ".instant.PhaseSpell"
    name: phase
    spell-icon: diamond
    description: Phase through solid matter.
    cast-item: stick
    cooldown: 10
    range: 5
    max-distance: 15
    phasable-blocks: []
    cost:
        - mana 15
    str-cost: 15 mana
    str-cant-phase: Unable to find place to phase to.
Clone this wiki locally