PVP_TOKEN_EARNED
Fired when a player loots a PVP token.
Payload
lua
{
tokenType = string, -- "Halaa Battle Token"
tokenId = number, -- Item ID
count = number, -- How many looted
totalCount = number -- Total owned
}Examples
Halaa Tokens
lua
{
id = 570,
name = "Halaa Warrior",
description = "Collect 100 Halaa Battle Tokens",
points = 30,
category = 2,
icon = 132485,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "PVP_TOKEN_EARNED",
conditions = {
tokenType = "Halaa Battle Token"
}
},
progress = {
type = "count",
required = 100
}
}Research Tokens
lua
{
id = 571,
name = "Halaa Researcher",
description = "Collect 50 Halaa Research Tokens",
points = 20,
category = 2,
icon = 132485,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "PVP_TOKEN_EARNED",
conditions = {
tokenType = "Halaa Research Token"
}
},
progress = {
type = "count",
required = 50
}
}