Description
Executes the skill when the mob takes damage.
The associated @trigger is the entity that dealt the damage
Implemented Placeholders |
---|
<skill.var.damage-amount> |
<skill.var.damage-type> |
<skill.var.damage-cause> |
Examples
EXAMPLE_MOB:
Type: CHICKEN
Skills:
# sends a message to all the players in the world
# when the mob takes damage
- message{m=DAMAGED} @World ~onDamaged
Aliases
- onHurt