Waterwalk Spell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".buff.WaterwalkSpell"
Targeting:
This spell can only be cast by/on players.
Description:
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 Uses:
Buff spell Uses increment whenever every 20 ticks - hardcoded.
Configuration:
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 |
Example:
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.