Skip to content
AkitoBurrito edited this page May 26, 2022 · 10 revisions

Source Code

A targeted spell that will bounce from target to target.

Configuration:

Option Description Default Value
spell The spell to cast on each target. heal
bounces Number of times this spell should bounce. 3
interval The interval between bounces, in server ticks. 10
bounce-range How far to look for a bounce target. 8

Example:

firechain:
    spell-class: ".targeted.ChainSpell"
    spell: pain
    bounces: 5
    bounce-range: 30
    interval: 10
    target-players: false
    target-non-players: true
    effects:
        eff1:
            position: line
            effect: particles
            particle-name: REDSTONE
            horiz-spread: 0.1
            vert-spread: 0.1
            color: FF0000
            count: 25
Clone this wiki locally