forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
WindWalkSpell
JasperLorelai edited this page Jul 27, 2023
·
15 revisions
spell-class: ".buff.WindwalkSpell"This spell can be cast by/on all living entities.
This spell lets the caster fly through the air, which works the same as creative mode flying.
Buff spell Uses increment every 20 ticks - hardcoded.
| Option | Description | Default Value |
|---|---|---|
fly-speed |
The speed the player flies. | 0.1 |
launch-speed |
If this is greater than zero, the caster will be thrown into the air upon casting the spell (and won't fall because they'll be flying). The bigger the number, the higher they'll go. | 1 |
max-y |
The maximum height y-value a player can fly. | 260 |
max-altitude |
The maximum altitude (blocks above ground) the player can fly. | 100 |
cancel-on-land |
Whether the wind walk effect is cancelled upon landing on the ground. | true |
Windwalk:
spell-class: ".buff.WindwalkSpell"
name: Windwalk
enabled: true
cast-item: stick
fly-speed: 0.1
launch-speed: 1
cancel-on-land: false
cancel-on-logout: true
cancel-on-teleport: true
duration: 10