Description
Executes the skill when the mob attacks an entity.
The associated @trigger is the entity that was attacked
Implemented Placeholders |
---|
<skill.var.damage-amount> |
<skill.var.damage-type> |
<skill.var.damage-cause> |
Examples
EXAMPLE_MOB:
Type: CHICKEN
Damage: 1
Skills:
# sends a message to all the players in the world
# when the mob attacks an entity
- message{m=ATTACK} @World ~onAttack
Aliases
- onHit