forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
EffectLib Donut
JasperLorelai edited this page Jan 13, 2024
·
2 revisions
class: Donut
This effect creates a torus shape.
Option | Default |
---|---|
type |
"repeating" |
particles |
"flame" |
period |
10 |
iterations |
20 |
Option | Description | Type | Default |
---|---|---|---|
particlesCircle |
Amount of particles inside of a single vertical circle. | Integer | 10 |
circles |
Amount of circles to build the torus. | Integer | 36 |
radiusDonut |
The radius of the torus. | Float | 2 |
radiusTube |
The radius of the tube (the circles on the inside of the torus). | Float | 0.5 |
xRotation /yRotation /zRotation
|
The rotation of the torus around its axis. | Double | 0 |
DonutExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: DonutEffect
particle: FLAME
particles: 8
circles: 36
particlesCircles: 10
radiusDonut: 2
radiusTube: 0.5
xRotation: 0
yRotation: 0
zRotation: 0
type: REPEATING
period: 10
iterations: 20