Skip to content

DUNGEON_BOSS_KILLED ​

Fired when a boss is defeated.

Payload ​

lua
{
  bossName = string,                 -- "Murmur"
  bossId = number,                   -- NPC ID
  instance = string,                 -- "Shadow Labyrinth"
  instanceId = number,               -- Map ID
  difficulty = Enums.Difficulty,     -- .Normal or .Heroic
  duration = number,                 -- Seconds since pull
  deaths = number,                   -- Deaths during fight
  raidSize = number                  -- Group size
}

Condition Functions ​

Payload values are always their base types. Use functions in conditions to evaluate them:

lua
-- duration is a number in the payload
-- Use a function to check if it meets criteria
conditions = {
  duration = function(d) return d <= 70 end
}

Examples ​

Basic Boss Kill ​

lua
{
  id = 1,
  name = "Shadow Labs",
  description = "Defeat Murmur in Shadow Labyrinth",
  points = 5,
  category = 1,
  subCategory = 1,
  icon = 136200,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "DUNGEON_BOSS_KILLED",
    conditions = {
      bossName = "Murmur",
      instance = "Shadow Labyrinth"
    }
  }
}

Heroic Boss Kill ​

lua
{
  id = 2,
  name = "Big Boom",
  description = "Kill Murmur in Heroic Shadow Labyrinth",
  points = 20,
  category = 1,
  subCategory = 2,
  icon = 136200,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "DUNGEON_BOSS_KILLED",
    conditions = {
      bossName = "Murmur",
      difficulty = Enums.Difficulty.Heroic
    }
  }
}

Timed Kill ​

lua
{
  id = 3,
  name = "Strikes at Midnight",
  description = "Defeat Attumen the Huntsman in 70 seconds",
  points = 20,
  category = 1,
  icon = 132160,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "DUNGEON_BOSS_KILLED",
    conditions = {
      bossName = "Attumen the Huntsman",
      duration = function(d) return d <= 70 end
    }
  }
}

Deathless Kill ​

lua
{
  id = 4,
  name = "Lights Out",
  description = "Defeat Netherspite with no deaths",
  points = 20,
  category = 1,
  icon = 135757,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "DUNGEON_BOSS_KILLED",
    conditions = {
      bossName = "Netherspite",
      deaths = 0
    }
  }
}

With Fail Condition ​

lua
{
  id = 5,
  name = "Perfect Murmur",
  description = "Kill Murmur without being hit by Sonic Boom",
  points = 20,
  category = 1,
  subCategory = 2,
  icon = 136200,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "DUNGEON_BOSS_KILLED",
    conditions = {
      bossName = "Murmur",
      difficulty = Enums.Difficulty.Heroic
    }
  },
  failCondition = {
    event = "DUNGEON_MECHANIC_FAILED",
    conditions = {
      mechanicName = "Sonic Boom"
    }
  }
}