Skip to content

Smoke Effect

AkitoBurrito edited this page May 25, 2023 · 1 revision

Smoke Effect

Source Code

Description: This effect makes it seem as though the target is smoldering.

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 FLAME
particles The number of particles that are displayed. Integer 20
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 1
iterations Number of times to repeat the effect. Integer 300

Example:

SmokeExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: SmokeEffect
            particle: FLAME
            particles: 20
            type: REPEATING
            period: 1
            iterations: 300
Clone this wiki locally