Changes
Page history
Create Skills/Targeters/PlayersNearOrigin
authored
Jul 11, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Targeters/PlayersNearOrigin.md
0 → 100644
View page @
aa1fc16c
## Description
Targets all players in the given radius around the origin of the metaskill.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| radius | r | The radius of the targeter | 5 |
## Examples
In this example, when the created projectile ends for whatever reason, it will damage every player in a 2 block radius around itself
```
yaml
Skills
:
-
projectile{...;
onTick=[
- effect:particles @origin
];
onEnd=[
- damage{a=10} @PlayersNearOrigin{r=2}
]
} @target
```
\ No newline at end of file