Skip to content

Switch Health Spell

MomoPewpew edited this page Jul 28, 2023 · 7 revisions

Source Code

spell-class: ".targeted.SwitchHealthSpell"

Description:

A targeted spell that allows you to switch health with an enemy.

Configuration:

Option Description Default Value
require-greater-health-percent Whether to require that the caster have a higher health percentage than the target. false
require-lesser-health-percent Whether to require that the caster have a lower health percentage than the target. false

Example:

switchhealth:
    spell-class: ".targeted.SwitchHealthSpell"
    range: 10
    can-target: players,nonplayers
Clone this wiki locally