Update volley authored by Lxlp's avatar Lxlp
## Description ## Description
Shoots a volley of arrows or item-projectiles at the targeted entity or Shoots a volley of arrows or item-projectiles at the targeted entity or
location that deals damage. Can use any attribute from the Shoot location that deals damage. Can use any attribute from the Shoot
mechanic. mechanic.
## Attributes
## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|---------|---------------------------------------------------|---------| |-----------|---------|---------------------------------------------------|---------|
| amount | a | The amount of projectiles | 10 | | amount | a | The amount of projectiles | 10 |
...@@ -13,6 +12,8 @@ mechanic. ...@@ -13,6 +12,8 @@ mechanic.
| radius | r | The radius of the volley | 1 | | radius | r | The radius of the volley | 1 |
| yoffset | y | The y offset of the target location of the projectiles | 0 | | yoffset | y | The y offset of the target location of the projectiles | 0 |
| canPickup | pickup | Whether the arrows can be picked up by players | true | | canPickup | pickup | Whether the arrows can be picked up by players | true |
> This mechanic inherits every *inheritable* attribute of the [Shoot](/Skills/Mechanics/Shoot) mechanic
## Examples ## Examples
```yaml ```yaml
...@@ -20,5 +21,6 @@ mechanic. ...@@ -20,5 +21,6 @@ mechanic.
- volley{type=EGG;velocity=5;damage=10;amount=20} - volley{type=EGG;velocity=5;damage=10;amount=20}
``` ```
## Aliases ## Aliases
- [x] shootvolley - [x] shootvolley
\ No newline at end of file