forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
EffectLib Line
JasperLorelai edited this page Jan 14, 2024
·
2 revisions
class: Line
This effect extends a line from the source to the target.
Option | Default |
---|---|
type |
"repeating" |
particle |
"flame" |
period |
1 |
iterations |
1 |
Option | Description | Type | Default |
---|---|---|---|
isZigZag |
Defines if the line should be zig-zag. | Boolean | false |
zigZags |
Number of zig-zags in the line. | Integer | 10 |
zigZagOffset |
Direction of zig-zags. Format: x,y,z . |
String | "0,0.1,0" |
zigZagRelativeOffset |
Relative direction of zig-zags. Format: x,y,z . |
String | "0,0,0" |
particles |
Particles per arc. | Integer | 100 |
length |
Length of arc. A non-zero value here will use a length instead of the target endpoint. | Double | 0 |
maxLength |
Max length of arc. A non-zero value here will use this as the upper bound for the computed length. | Double | 0 |
subEffectAtEnd |
Sub-effect played at the end position of the current effect. Note that this effect uses subEffectAtEndClass instead of class . |
Configuration Section containing an Effectlib Effect | |
subEffectAtEndClass |
Same as class . Used when defining a subEffectAtEnd . |
String |