Skip to content
JasperLorelai edited this page Mar 31, 2022 · 10 revisions

Source Code

Targeting:

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

Description:

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

Uses:

Buff spell Uses increment whenever the entity moves.

Configuration:

This buff spell has no individual options.

Example:

lilywalk:
    spell-class: ".buff.LilywalkSpell"
    name: lilywalk
    spell-icon: lily_pad
    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