Fly Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.FlySpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

A targeted spell that sets the player's flying state.

Configuration:

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

Option Description Type Default
target-state Boolean State "toggle"
set-flying Since 4.0 Beta 13. Sets the target in flight state. When false, it will just allow the target to fly on demand. Boolean false

Example:

fly:
    spell-class: ".targeted.FlySpell"
    target-state: toggle
    target-self: true