Skip to content

Love Effect

AkitoBurrito edited this page May 27, 2023 · 1 revision

Love Effect

Source Code

Description: This effect causes hearts to bubble out of the target.

Configuration:

Option Description Type Default Value
particle The name of the particle that is displayed. (uses different particle names compared to general MagicSpells). The list of these particles can be found here. String HEART
type The type of effect used. The three types are DELAYED, INSTANT, and REPEATING. String REPEATING
period How long to wait, in ticks, between each iteration. Integer 2
iterations Number of times to repeat the effect. Integer 600

Example:

LoveExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: LoveEffect
            particle: HEART
            type: REPEATING
            period: 2
            iterations: 600
Clone this wiki locally