Mechanic: onDeath
Applies an aura to the target that triggers a skill when they die
Attributes
Attribute | Aliases | Description | Default Value |
---|---|---|---|
onDeathSkill | od | Skill to execute if the target jumps | NONE |
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.
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