added aura mechanic link authored by Lxlp's avatar Lxlp
......@@ -6,11 +6,12 @@ Applies an aura to the target that triggers a skill when they break a block
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| onBlockBreak| oB | Skill to execute if the target breaks a block | |
| cancelEvent | cE | Whether or not to cancel the event that triggered the aura | false |
| onBreakSkill | onBreak, oB | Skill to execute if the target breaks a block | |
| cancelEvent | cancel, cE | Whether or not to cancel the event that triggered the aura | false |
| dropitem | drop, allowDrop | If the broken item should be dropped or not | |
| blockType | blocktypes, bt, t, material, materials, mat, m, blocks, block, b| What blocks should trigger this aura | |
> This mechanic inherits every attribute of the [aura] mechanic
## Examples
......@@ -50,4 +51,12 @@ AreaMining2:
```yaml
Skills:
- onBlockBreak{d=99999;bt=#TORCH,#LIGHT;oB=[ addVar{var=caster.lightsBroken;a=1} ]}
```
\ No newline at end of file
```
## Aliases
- [x] onbreakblock
<!-- LINKS -->
[aura]: /skills/mechanics/aura
\ No newline at end of file