|
|
|
A missile that chains between entities.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
This mechanic inherits all attributes from the [missile](/skills/mechanics/missile) and [projectile](/skills/mechanics/projectile) mechanics.
|
|
|
|
|
|
|
|
**Attributes**
|
|
|
|
|
|
|
|
| Attribute | Alias | Description | Default Value |
|
|
|
|
| --------- | ----- | ----------- | ------------- |
|
|
|
|
| bounces | b | How many times the chain should bounce | 2 |
|
|
|
|
| radius | r | How far the skill will bounce to a new target | 5 |
|
|
|
|
| returnToCaster | rtc | If the missile should return to the caster | false |
|
|
|
|
| bounceConditions | | The conditions for the skill to bounce, similar to the [chain](/skills/mechanics/chain) mechanic | NONE |
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Added in MM 4.12
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Examples**
|
|
|
|
|
|
|
|
```
|
|
|
|
## Mob.yml ##
|
|
|
|
Skills:
|
|
|
|
- skill{s=ChainMissile} @target ~onTimer:200
|
|
|
|
|
|
|
|
## Skills.yml ##
|
|
|
|
ChainMissile:
|
|
|
|
Skills:
|
|
|
|
- ChainMissile{bounces=10;r=10;in=1.25;oT=CM_oT;oH=CM_oH;i=1;md=200;mr=30;v=5;hnp=true;hp=true;hR=1;vR=1;sB=False;sE=false;tyo=1;hs=true;hfs=1}
|
|
|
|
CM_oT:
|
|
|
|
Skills:
|
|
|
|
- effect:particles{particle=flame;a=1;hs=0;vs=0;s=0;y=0} @origin
|
|
|
|
CM_oH:
|
|
|
|
Skills:
|
|
|
|
- damage{a=1;pkb=true}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |