Changes
Page history
Update volley
authored
Oct 12, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
skills/mechanics/volley.md
View page @
c6b79459
## 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