Skip to content
JasperLorelai edited this page May 19, 2024 · 10 revisions

Source Code

spell-class: ".targeted.ChainSpell"
Value Supported
entity true
location false
entity_from_location true

Description:

A targeted spell that will bounce from target to target.

Configuration:

Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.

Option Description Type Default Supports expressions
spell Sub-spell to cast on each target. String "heal" false
bounces Number of times this spell should bounce. Integer 3 true
interval The interval between bounces, in server ticks. Integer 10 true
bounce-range How far to look for a bounce target. Double 8 true

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