Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API DeathRecap GetEvents

Last wiki revision 2022-08-01

Returns a table representing the last five damaging combat events against the player. events = DeathRecap_GetEvents([recapID])

  • recapID: - The specific death to view, from 1 to the most recent death. If this is not given, the most recent ID is used.
  • events: - A table of events for the chosen death, or nil if the player has not died this session.

The return table contains five sub tables. The keys for these tables are the same as the param names used for COMBAT_LOG_EVENT.

Example: [1]={ [1]={ timestamp=1421121447.489, event="SWING_DAMAGE", hideCaster=false, sourceGUID="Creature-0-3296-870-59-72280-0000347644", sourceName="Manifestation of Pride", sourceFlags=2632, sourceRaidFlags=0, destGUID="Player-3296-0084A447" destName="Gethe", destFlags=1297, destRaidFlags=0, amount=1472, overkill=-1, school=1, critical=false, glancing=false, crushing=false, isOffHand=false, multistrike=false, currentHP=2185, }, [2]={...}, [3]={...}, [4]={...}, [5]={...}, }

Source

https://warcraft.wiki.gg/wiki/API_DeathRecap_GetEvents · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.