forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Sphere Effect
AkitoBurrito edited this page Jan 8, 2023
·
1 revision
Description: This effect creates a 3D Sphere.
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 |
radius |
The radius of the sphere. | Double | 0.6 |
yOffset |
The offset of the sphere on the y-axis. | Double | 0 |
particles |
The number of particles to display. | Integer | 50 |
radiusIncrease |
The amount to increase the radius of the sphere per tick. | Double | 0 |
particleIncrease |
The amount to increase the number of particles per tick. | Integer | 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 |
SphereExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: SphereEffect
particle: FLAME
radius: 0.6
yOffset: 0
particles: 50
radiusIncrease: 0
particleIncrease: 0
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