v0.13.8

LOOT_ITEM_ROLL_WON

eventnot implementedC_Lootavailable in: camelot

Fires when the player wins a group loot roll. Blizzard's UI shows a loot toast with the roll. · description by wowlua

declarationwowlua
declare event LOOT_ITEM_ROLL_WON(itemLink: string, rollQuantity: number, rollType: number, roll: number, upgraded: boolean)

Payload

#nametypedescription
1itemLinkstringThe item won.
2rollQuantitynumberHow many were won.
3rollTypenumberThe roll choice that won.
4rollnumberThe number rolled.
5upgradedbooleanWhether the item was upgraded.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Loot system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.