On Dungeon Mob Death
When a dungeon mob dies
Fires for each player picked by the mob's Death recipients each time a mob made by a 'Dungeon Mob Spawn' entry dies in a run. The 'On death' triggers of the mob entry run for the same players; this event is for what must react to any mob (or to one entry's mobs) without being listed in the mob entry.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
dungeonInstance | Ref<DungeonInstanceEntry> | — | Only runs of this dungeon instance trigger the event. Empty = every dungeon. |
mob | Ref<DungeonMobSpawnEntry> | — | Only the mobs made by this Dungeon Mob Spawn entry trigger the event. Empty = every dungeon mob. |
Common TypeWriter fields (triggers)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Fires each time a mob made by a Dungeon Mob Spawn dies, for the players chosen by that entry's deathRecipients (default: the killer, or the members of the run when there is no player killer). Filter by dungeonInstance and mob. Only the mobs the entry made count: pieces of a split slime, vexes of an evoker, babies and reinforcements raise no event, so a split slime is one event. This is the reliable way to know a room is cleared; do not rely on Dungeon Mobs Alive.