Update Mechanics authored by Lxlp's avatar Lxlp
...@@ -316,7 +316,7 @@ The following attributes are applicable to all mechanics. ...@@ -316,7 +316,7 @@ The following attributes are applicable to all mechanics.
| repeat | | How many times the mechanic should be repeated. If repeatInterval is set to `0`, this becomes the number of executions rather than repetitions | 0 | | repeat | | How many times the mechanic should be repeated. If repeatInterval is set to `0`, this becomes the number of executions rather than repetitions | 0 |
| repeatInterval | repeatI | How many ticks must elapse between repetitions | 0 | | repeatInterval | repeatI | How many ticks must elapse between repetitions | 0 |
| targetInterval | targetI | How many ticks must elapse between target selection | 0 | | targetInterval | targetI | How many ticks must elapse between target selection | 0 |
| origin **[PREMIUM]** || Change the origin to whatever targeter is supplied. Does not work if more than one target is parsed. `origin=@Forward{f=10}` | | | origin | | *[PREMIUM]** Change the origin to whatever targeter is supplied. Does not work if more than one target is parsed. `origin=@Forward{f=10}` | |
| forcesync | sync | Forces the execution type to be SYNC | false | | forcesync | sync | Forces the execution type to be SYNC | false |
| power | | [Power](/mobs/Power) multiplier | 1 | | power | | [Power](/mobs/Power) multiplier | 1 |
| fromorigin | fo, sourceisorigin, castfromorigin | Whether to cast the mechanic from origin | false | | fromorigin | fo, sourceisorigin, castfromorigin | Whether to cast the mechanic from origin | false |
...@@ -324,6 +324,8 @@ The following attributes are applicable to all mechanics. ...@@ -324,6 +324,8 @@ The following attributes are applicable to all mechanics.
| targetcreative | | Whether to target creative players | false | | targetcreative | | Whether to target creative players | false |
| splitPower| powersplit, powersplitbetweentargets | Whether to split the power between targets| false | | splitPower| powersplit, powersplitbetweentargets | Whether to split the power between targets| false |
| faulty | | Whether the mechanic should use the old vector formula | true | | faulty | | Whether the mechanic should use the old vector formula | true |
| chance | | The chance of the mechanic executing. For instance, 0.1 is a 10% chance | 1 |
# Examples # Examples
```yaml ```yaml
... ...
......