forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
Waterwalk Spell
JasperLorelai edited this page May 19, 2024
·
10 revisions
spell-class: ".buff.WaterwalkSpell"
This spell can only be cast by/on players.
A buff spell that causes the player to hover above the water. It activates flying for the player but prevents them from flying above the water, and deactivates it if they move over land.
Buff spell Uses increment whenever every 20 ticks - hardcoded.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
speed |
The speed at which the player walks on water. | Float | 0.05 |
Waterwalk:
spell-class: ".buff.WaterwalkSpell"
speed: 0.05
duration: 60
cancel-on-logout: true
cost:
- mana 25
- boat 1
use-cost:
- water_lily 1
use-cost-interval: 50
str-cost: 25 mana and 1 boat, plus 1 water lily every 50 blocks moved
str-cast-self: You can now walk on water!
str-fade: You can no longer walk on water.