CREATURE_KILLED
Fires when a creature is killed.
Payload
| Field | Type | Description |
|---|---|---|
| creatureName | string | Name of the creature |
| level | number | Creature level |
Examples
Kill Specific Creature
lua
{
id = 940,
name = "World Boss Hunter",
description = "Kill Doom Lord Kazzak",
points = 10,
category = 4,
icon = 136116,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "CREATURE_KILLED",
conditions = {
creatureName = "Doom Lord Kazzak"
}
}
}Kill High Level Creatures
lua
{
id = 942,
name = "Elite Slayer",
description = "Kill 100 level 72+ creatures",
points = 15,
category = 4,
icon = 132366,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "CREATURE_KILLED",
conditions = {
level = function(l) return l >= 72 end
}
},
progress = {
type = "count",
required = 100
}
}