Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
skills:effects:firework [2016/03/06 19:10]
skills:effects:firework [2020/06/30 21:13] (current)
Line 1: Line 1:
 +====== Effect: Firework ======
  
 +===== Attributes =====
 +^Attribute ^Aliases ^Description ^Default Value |
 +| type | t | The type of the main effect. Can be any number between 0 and 4 | 0 |
 +| duration | d | The flight duration of the fireworks rocket in seconds | 0 |
 +| flicker | f | Whether to add the flicker effect to the explosion | false |
 +| trail | tr | Whether to add the trail effect to the fireworks rocket | false |
 +| colors | c | FIXME | |
 +| fadecolors | fc | FIXME | |
 +
 +**The "​type"​ attribute can be:**
 +  * 0 = Small Ball explosion
 +  * 1 = Large Ball explosion
 +  * 2 = Star shaped explosion
 +  * 3 = Creeper-head shaped explosion
 +  * 4 = Burst style explosion
 +===== Examples =====
 +<​code>​
 +Skills:
 +- effect:​firework{t=3;​d=1;​f=true;​tr=true} @self ~onInteract
 +</​code>​