forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Square Effect
AkitoBurrito edited this page May 25, 2023
·
1 revision
Description: This effect creates a 2D square.
Option | Description | Type | Default Value |
---|---|---|---|
particle |
The name of the particle that is displayed. (uses different particle names compared to general magicspells). The list of these particles can be found here. | String | FLAME |
particles |
The number of particles that are displayed. | Integer | 50 |
particleIncrease |
The amount to increase the particles per tick. | Integer | 0 |
radius |
The radius of this sphere or circle, in blocks. | Double | 0.6 |
radiusIncrease |
The amount to increase the radius per tick. | Double | 0 |
yOffset |
The y-offset of the square. | Double | 0 |
type |
The type of effect used. The three types are DELAYED , INSTANT , and REPEATING . |
String | REPEATING |
period |
How long to wait, in ticks, between each iteration. | Integer | 1 |
iterations |
Number of times to repeat the effect. | Integer | 500 |
SquareExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: SquareEffect
particle: FLAME
particles: 50
radius: 0.6
type: REPEATING
period: 1
iterations: 500
!!!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