On Attack

Description

Executes the skill when the player attacks an entity holding or rquipping the item.

The associated @trigger is the entity that was attacked

Implemented Placeholders
<skill.var.damage-amount>
<skill.var.damage-type>
<skill.var.damage-cause>

Implementations

Examples

ExampleItem:
  Material: STONE_SWORD
  Skills:
  - ignite @trigger ~onAttack

Aliases

  • onHit
Updated Aug 19, 2026