> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Mob Death

> Triggers when a player kills a specific MythicMob.

The **Mob Death** event is triggered whenever a player kills a MythicMob. This is a primary event for quest completion and reward systems.

## Configuration

| Key       | Type    | Description                                                 |
| :-------- | :------ | :---------------------------------------------------------- |
| `mobName` | `Regex` | A regular expression to match the internal name of the mob. |

## Usage Examples

### Kill Quest

Trigger a dialogue when the player kills a "GiantCaveSpider".

```yaml theme={null}
id: spider_killed
type: on_mythic_mob_die
mobName: GiantCaveSpider
triggers:
  - start_spider_dialogue
```

### Generic Match

Trigger for any mob whose name starts with "Goblin".

```yaml theme={null}
id: goblin_slayer
type: on_mythic_mob_die
mobName: Goblin.*
```
