|
Mechanic: Chain
|
|
## Description
|
|
===============
|
|
|
|
|
|
|
|
Chain allows you to make skills that bounce between targets, like a
|
|
Chain allows you to make skills that bounce between targets, like a
|
|
"chain lightning" type skill.
|
|
"chain lightning" type skill.
|
|
|
|
|
... | @@ -15,9 +13,8 @@ in the skill and the inherited target of onBounce will be the next |
... | @@ -15,9 +13,8 @@ in the skill and the inherited target of onBounce will be the next |
|
entity it is bouncing to, so fromOrigin is your friend for making
|
|
entity it is bouncing to, so fromOrigin is your friend for making
|
|
effects!
|
|
effects!
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|------------------|------------|-----------------------------------------------------------------------------|---------|
|
|
|------------------|------------|-----------------------------------------------------------------------------|---------|
|
|
| onBounce | ob | The skill that bounces between targets | |
|
|
| onBounce | ob | The skill that bounces between targets | |
|
... | @@ -28,15 +25,13 @@ Attributes |
... | @@ -28,15 +25,13 @@ Attributes |
|
| hitTarget | ht | Whether the chain should do the initial from the caster to the first target | true |
|
|
| hitTarget | ht | Whether the chain should do the initial from the caster to the first target | true |
|
|
| hitPlayers | hp | Whether the chain should bounce to players | true |
|
|
| hitPlayers | hp | Whether the chain should bounce to players | true |
|
|
| hitNonPlayers | hnp | Whether the chain should bounce to non-players | false |
|
|
| hitNonPlayers | hnp | Whether the chain should bounce to non-players | false |
|
|
| bounceConditions | conditions | Conditions applied to the bounce target | NONE |
|
|
| bounceConditions | conditions, cond, c | Conditions applied to the bounce target | NONE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
Skills:
|
|
## Examples
|
|
- chain{
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- chain{
|
|
bounces=5;
|
|
bounces=5;
|
|
bounceRadius=10;
|
|
bounceRadius=10;
|
|
bounceDelay=1;
|
|
bounceDelay=1;
|
... | @@ -52,3 +47,4 @@ Examples |
... | @@ -52,3 +47,4 @@ Examples |
|
- hasaura{aura=damageResist} false
|
|
- hasaura{aura=damageResist} false
|
|
];
|
|
];
|
|
} @target ~onTimer:20
|
|
} @target ~onTimer:20
|
|
|
|
``` |
|
|
|
\ No newline at end of file |