DUNGEON_ENCOUNTER_START
Fired when a boss encounter begins.
Payload
lua
{
bossName = string, -- "Shade of Aran"
bossId = number, -- NPC ID
instance = string, -- "Karazhan"
instanceId = number, -- Map ID
difficulty = Enums.Difficulty, -- .Normal or .Heroic
raidSize = number, -- Group size
timestamp = number -- When fight started
}Usage
This event is primarily used internally to track encounter duration. It can also be used to:
- Start tracking mechanics for fail conditions
- Count boss attempts
- Initialize encounter-specific state
Example
Track Boss Attempts
lua
{
id = 100,
name = "Persistent",
description = "Attempt raid bosses 100 times",
points = 10,
category = 5,
icon = 136168,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "DUNGEON_ENCOUNTER_START"
},
progress = {
type = "count",
required = 100
}
}