EffectLib Trace - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: Trace

Description:

This effect creates a trail of particles behind the target entity.

Configuration:

Overridden:

Option Default
type "repeating"
particle "flame"
period 1
iterations 600

Other:

Option Description Type Default
refresh The number of iterations to wait before refreshing particles. Integer 5
maxWayPoints The maximum number of way points created by the effect. Integer 30

Example:

TraceExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: TraceEffect
            particle: FLAME
            refresh: 5
            maxWayPoints: 30
            type: REPEATING
            period: 1
            iterations: 600