Onentercombat

Description

Executes the skill when the mob enters combat.

REQUIRES ThreatTables to be enabled

The associated @trigger is the entity that made the caster enter combat

Examples

EXAMPLE_MOB:
  Type: CHICKEN
  Modules:
    ThreatTable: true
  Skills:
    # sends a message to all the players in the world
    # when the mob enters combat
    - message{m=ENTERED COMBAT} @World ~onEnterCombat
Updated Aug 19, 2026