BigWigsMods / Transcriptor

Logging utility for boss encounters.
9 stars 10 forks source link

Expand UNIT_TARGET tracking to more units when not in an encounter #25

Closed Causese closed 3 years ago

Causese commented 3 years ago

Adds support for dungeon UNIT_TARGET tracking e.g when a nameplate unit casts a spell that targets a player outside of the encounter. This is very useful in my opinion to develop stuff for dungeons.

example log: "<11.05 06:37:17> [UNIT_SPELLCAST_START] Risen Cultist(Water Elemental) - Dark Lotus - 1.5s [[nameplate1:Cast-3-4247-2291-1026-328740-001641E20C:328740]]", -- [1] "<11.05 06:37:17> [UNIT_SPELLCAST_START] Risen Cultist(Water Elemental) - Dark Lotus - 1.5s [[target:Cast-3-4247-2291-1026-328740-001641E20C:328740]]", -- [2] "<11.05 06:37:17> [UNIT_TARGET] nameplate1#Risen Cultist - Causese#Risen Cultist", -- [3] "<11.05 06:37:17> [UNIT_TARGET] target#Risen Cultist - Causese#Risen Cultist", -- [4]

I would personally filter target but it could be useful in a scenario where nameplate is not available.