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 |
...@@ -29,7 +30,6 @@ Summons mobs of the given type around the target. ...@@ -29,7 +30,6 @@ Summons mobs of the given type around the target.
| inheritdespawn | inheritdespawnoption, ido | Whether the summoned mob should inherit the caster's [Despawn Option](/Mobs/Options#despawn) | false | | inheritdespawn | inheritdespawnoption, ido | Whether the summoned mob should inherit the caster's [Despawn Option](/Mobs/Options#despawn) | false |
| summonerIsOwner | sio | Whether to set the summoner as the owner of the mob. | true | | summonerIsOwner | sio | Whether to set the summoner as the owner of the mob. | true |
| 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
...@@ -38,4 +38,8 @@ This example would summon 5 wither skeletons around the target players. ...@@ -38,4 +38,8 @@ This example would summon 5 wither skeletons around the target players.
RaiseSkeletons: 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}
``` ```
\ No newline at end of file
<!-- LINKS -->
[metaskill]: /Skills/Metaskills
\ No newline at end of file