|
|
## Description
|
|
|
Causes the target entity to spin around for the given duration.
|
|
|
When a mob casts the spin mechanic repeatedly it will move upwards while spinning.
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| duration | d | How long (in ticks) the target entity should spin | 40 |
|
|
|
| velocity | v | The velocity the target spins at | 18 |
|
|
|
|
|
|
### Velocity Attribute
|
|
|
When you set velocity to 0, this mob's direction will be locked.
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
SpinningSpider:
|
|
|
Type: SPIDER
|
|
|
Skills:
|
|
|
- spin{duration=100;velocity=20} @self ~onTimer:100
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] effect:spin
|
|
|
- [x] e:spin |
|
|
\ No newline at end of file |