forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
UndoDestroySpell
MomoPewpew edited this page Sep 8, 2024
·
4 revisions
spell-class: ".targeted.UndoDestroySpell"
A targeted spell that undoes DestroySpells near a targeted location. This only affects DestroySpells that have a duration.
Option | Description | Default Value |
---|---|---|
radius |
Radius of the spell. | 10 |
point-blank |
Should the spell search for Destroyd blocks at the caster's location? | true |
power-affects-radius |
Should the radius be affected by the spell's Power? | true |
search-mode |
Whether the radius of this spell should detect destroyed block sources source , landed blocks that were thrown by a DestroySpell target , or both . The undo will always affect both the source and the target. This only controls which coordinates will be detected. |
both |
destroy-spells |
Internal name of the destroy spells. If left blanc, it will affect all DestroySpells. | null |
undoDestroy:
spell-class: ".targeted.UndoDestroySpell"
point-blank: true
radius: 5
search-mode: both
destroy-spells:
- destroy1
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 the location of the thrown block that's getting removed
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
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2