... | ... | @@ -15,21 +15,21 @@ Attributes |
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
|
|
|
GroundSlam:
|
|
|
```yaml
|
|
|
GroundSlam:
|
|
|
Skills:
|
|
|
- effect:explosion @Self
|
|
|
- damage{amount=10} @PlayersInRadius{r=5}
|
|
|
- throw{velocity=15;velocityY=5} @PlayersInRadius{r=5}
|
|
|
|
|
|
```
|
|
|
In this example the mob will create an explosion effect around them that
|
|
|
inflicts 10 damage (5 hearts) to players within a radius of 5 blocks and
|
|
|
will knock them back. Giving the illusion of a powerful explosion.
|
|
|
|
|
|
Complex Examples
|
|
|
----------------
|
|
|
|
|
|
SuperShockslam:
|
|
|
```yaml
|
|
|
SuperShockslam:
|
|
|
Skills:
|
|
|
- throw{velocity=5;velocityY=5} @PIR{r=10}
|
|
|
- damage{a=50;i=false} @PIR{r=10}
|
... | ... | @@ -47,7 +47,7 @@ Complex Examples |
|
|
- effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=9} @Self
|
|
|
- delay 2
|
|
|
- effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=11} @Self
|
|
|
|
|
|
```
|
|
|
This complex example shows how the throw mechanic can be used in
|
|
|
conjunction with other mechanics to make quite amazing effects. The
|
|
|
caster unleashes a powerful shockwave that deals 50 damage (25 hearts)
|
... | ... | |