Skip to content

RemovePulsersSpell

MomoPewpew edited this page Jun 12, 2024 · 2 revisions

Source Code

spell-class: ".targeted.RemovePulsersSpell"

Description:

A targeted spell that removes pulsers near a targeted location.

Configuration:

Option Description Default Value
radius Radius of the spell. 10
point-blank Should the spell search for Pulsers at the caster's location? true
power-affects-radius Should the radius be affected by the spell's Power? true
owned-pulsers-only Should the spell only affect the casters own pulsers? false
pulser-spells Internal name of the pulser spells. If left blanc, it will affect all Pulser Spells. null

Example:

removePulsers:
    spell-class: ".targeted.RemovePulsersSpell"
    point-blank: true
    radius: 5
    owned-pulsers-only: true
    pulser-spells:
        - pulser1
    effects:
        fireworks1:
            position: caster
            effect: fireworks
            flicker: yes
            trail: no
            colors: F247BA,F247BA,F247BA
            fade-colors: 43A8BD,43A8BD,43A8BD
            y-offset: 1
            flight: 1
        fireworks2:
            position: target # Target position effects will play at the removed pulsers
            effect: fireworks
            flicker: yes
            trail: no
            colors: 000000,000000,000000
            fade-colors: 000000,000000,000000
            y-offset: 1
            flight: 1
        fireworks3:
            position: special # Special position effects will play at the targeted location (or the casters location if cast with point-blank)
            effect: fireworks
            flicker: yes
            trail: no
            colors: FFFFFF,FFFFFF,FFFFFF
            fade-colors: FFFFFF,FFFFFF,FFFFFF
            y-offset: 1
            flight: 1
Clone this wiki locally