Changes
Page history
Create Skills/Triggers/onEnterCombat
authored
Oct 25, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers/onEnterCombat.md
0 → 100644
View page @
a67b2704
## Description
Executes the skill when the mob enters combat.
> **REQUIRES [ThreatTables](/Mobs/ThreatTables) to be enabled**
> The associated [@trigger](/Skills/Targeters/Trigger) is the entity that made the caster enter combat
## Examples
```
yml
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
```
\ No newline at end of file