Skip to content

Purge Spell

MomoPewpew edited this page Jul 28, 2023 · 7 revisions

Source Code

spell-class: ".instant.PurgeSpell"

Description:

An instant spell that kills all monsters and animals around you.

Configuration:

Option Description Default Value
radius Radius of the spell. 15
entities Entity list (if null, can target all entities). null

Example:

purge:
    spell-class: ".instant.PurgeSpell"
    name: purge
    description: Kill all monsters and animals around you.
    cast-item: bone
    cooldown: 60
    radius: 8
    can-target: monsters,animals
    cost:
        - mana 50
    str-cost: 50 mana
    str-cast-self: You purge all life around you.
    str-cast-others: "%a purges all nearby life."
Clone this wiki locally