View Single Post
03/25/19, 07:56 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Yeah and all you have is
targetName, targetType

Where the name is a String and the type is one of those:
https://wiki.esoui.com/Globals#CombatUnitType

CombatUnitType
COMBAT_UNIT_TYPE_GROUP
COMBAT_UNIT_TYPE_NONE
COMBAT_UNIT_TYPE_OTHER
COMBAT_UNIT_TYPE_PLAYER
COMBAT_UNIT_TYPE_PLAYER_PET
COMBAT_UNIT_TYPE_TARGET_DUMMY


This is all you get as info so you'd end up in a list og stored "names". If they are not the same it will create e.g. 2 entries for "Crab" and "Mudcrab" as there is no type = Crab we could check.
You'd need to consolidate this in the end on your site.

But if the addon is already collecting this info you could simply use it and check the SavedVariables file then. The contents should list the kills for you.
It's not ingame but at least you'd have a text file (.lua) which you are able to read and check the collected data from.
  Reply With Quote