Skip to content

Switch Health Spell

AkitoBurrito edited this page Jan 28, 2022 · 8 revisions

Source Code

Targeted spell that allows you to switch health with an enemy.

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