Changes
Page history
added aura mechanic link
authored
Sep 02, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
skills/mechanics/onblockbreak.md
View page @
686a5f10
...
...
@@ -6,11 +6,12 @@ Applies an aura to the target that triggers a skill when they break a block
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| onB
lock
Break
|
oB
| Skill to execute if the target breaks a block
| |
| cancelEvent | c
E
| Whether or not to cancel the event that triggered the aura
| false |
| onB
reakSkill | on
Break
,
oB | Skill to execute if the target breaks a block | |
| cancelEvent | c
ancel, 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