SwitchSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.SwitchSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that switches you with your target.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
switch-back Defines should caster swap back with target after some time. Defines in ticks. Integer 0

Example:

switchspell:
  spell-class: ".targeted.SwitchSpell"
  switch-back: 0