Revert "added ClearTarget mechanic" authored by Lxlp's avatar Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
## Description
Applies an aura to the target that triggers a skill when they die
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| onDeathSkill | od | Skill to execute if the target dies |<!--type:Metaskill-->|
> This mechanic inherits every attribute of the [aura] mechanic
## Examples
Force an onDeath aura through sudoskill on all entities around you. When you kill them they will all drop diamonds. This could be useful for quests where killing enemies makes them drop a quest item, but you dont want to have to add the drop mobs.
```yaml
ForceApplyAura:
Skills:
- sudoskill{s=ApplyAura} @EIR{r=50}
ApplyAura:
Skills:
- onDeath{od=DropDiamonds;auraname=Gonners;d=1200;i=1} @self
DropDiamonds:
Skills:
- dropitem{i=DIAMOND 3-5} @self
```
<!-- LINKS -->
[aura]: /skills/mechanics/aura
<!--TAGS-->
<!--tag:Meta-Mechanic:Aura-->