Skip to content

Switch Health Spell

XYZI0N edited this page Jan 4, 2019 · 8 revisions

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

Option Description Default Value
range How far spell can target enemies 10
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
    beneficial: false
    can-target: players,nonplayers
Clone this wiki locally