added onSummon attribute authored by Lxlp's avatar Lxlp
...@@ -15,6 +15,7 @@ Summons mobs of the given type around the target. ...@@ -15,6 +15,7 @@ Summons mobs of the given type around the target.
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| type | t, mob, m| The type of mob to summon. Can be a Mythic Mob type or a regular entity type | SKELETON | | type | t, mob, m| The type of mob to summon. Can be a Mythic Mob type or a regular entity type | SKELETON |
| onSummon | onsummonskill, then | The [metaskill] to execute on the summoned mobs | |
| amount | a | The number of mobs to summon. | 1 | | amount | a | The number of mobs to summon. | 1 |
| level | l | The level of the mob being summoned | 0 | | level | l | The level of the mob being summoned | 0 |
| radius | r, noise, n| The radius around the target within which the mobs will be summoned | 0 | | radius | r, noise, n| The radius around the target within which the mobs will be summoned | 0 |
...@@ -31,7 +32,6 @@ Summons mobs of the given type around the target. ...@@ -31,7 +32,6 @@ Summons mobs of the given type around the target.
| summonerIsParent | sip| Whether to set the summoner as the parent of the mob. | true | | summonerIsParent | sip| Whether to set the summoner as the parent of the mob. | true |
## Examples ## Examples
This example would summon 5 wither skeletons around the target players. This example would summon 5 wither skeletons around the target players.
```yaml ```yaml
...@@ -39,3 +39,7 @@ RaiseSkeletons: ...@@ -39,3 +39,7 @@ RaiseSkeletons:
Skills: Skills:
- summon{type=WITHER_SKELETON;amount=5;radius=4} @PIR{r=20} - summon{type=WITHER_SKELETON;amount=5;radius=4} @PIR{r=20}
``` ```
<!-- LINKS -->
[metaskill]: /Skills/Metaskills
\ No newline at end of file