Skip to content
JasperLorelai edited this page Nov 9, 2023 · 10 revisions

Source Code

spell-class: ".buff.LilywalkSpell"

Targeting:

This spell can be cast by/on all living entities.

Description:

This spell allows the entity to walk across the water by spawning lily pads beneath its feet. Spell Power does not affect this spell.

Buff Uses:

Buff spell Uses increment whenever the entity moves.

Configuration:

This buff spell has no individual options.

Example:

lilywalk:
    spell-class: ".buff.LilywalkSpell"
    description: Lets you walk on water on lily pads.
    cast-item: book
    cooldown: 30
    cost:
        - mana 40
        - lily_pad 1
    use-cost:
        - lily_pad 1
    use-cost-interval: 25
    str-cost: 40 mana and 1 lilypad, plus 1 lilypad every 50 blocks
    str-cast-self: You can now walk on water!
    str-cast-others: "%a can now walk on water!"
    str-fade: You can no longer walk on water.
Clone this wiki locally