forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Destroy Spell
MomoPewpew edited this page Nov 24, 2024
·
13 revisions
spell-class: ".targeted.DestroySpell"
Targeted spell. This spell causes major destruction at the target location by throwing blocks into the air. If you are concerned about players destroying your world, do NOT use this spell. This spell does NOT obey plugin restrictions such as WorldGuard. Again, this spell is VERY, VERY DESTRUCTIVE. Use at your own risk.
Option | Description | Default Value |
---|---|---|
vert-radius |
Vertical radius | 3 |
horiz-radius |
Horizontal radius | 3 |
falling-block-damage |
The amount of damage caused when a falling block lands on a player. | 0 |
velocity |
Velocity | 0 |
throw-chance |
The chance that the block is thrown. If a block does not pass this chance, it will get removed instead. Use this to reduce the latency on bigger DestroySpells. | 100 |
duration |
Amount of ticks after which the destroy is undone. This also makes the destroy subjected to the UndoDestroySpell. | 0 |
velocity-type |
Options: up , random , randomup , down , toward , away , none
|
none |
prevent-landing-blocks |
If this is true, blocks will disappear rather than land on the ground. | false |
power-affects-radius |
Should spell power affect radius? | false |
block-types-to-throw |
A list of block materials to throw. If this is not defined, it will throw all solid blocks except bedrock. | null |
block-types-to-remove |
A list of block materials to remove completely. If this is not defined, it will remove all non-solid blocks. | null |
affects-containers |
If this is false and no material types are specified, this spell will not affect containers. | false |
destroy:
spell-class: ".targeted.DestroySpell"
horiz-radius: 3
vert-radius: 3
velocity: 1
velocity-type: randomup
!!!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