forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
Switch Health Spell
JasperLorelai edited this page May 19, 2024
·
8 revisions
spell-class: ".targeted.SwitchHealthSpell"
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
A targeted spell that allows you to switch health with an enemy.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
require-greater-health-percent |
Defines whether to require that the caster have a higher health percentage than the target. | Boolean | false |
require-lesser-health-percent |
Defines whether to require that the caster have a lower health percentage than the target. | Boolean | false |
switchhealth:
spell-class: ".targeted.SwitchHealthSpell"
range: 10
can-target: players,nonplayers