Need help with API about whose loot is this?
View Single Post
12-22-19, 01:49 AM
Join Date: Apr 2007
It is not possible in classic for a single install to determine who needs to loot a corpse. The information on retail is only available from the tooltip, so with that line gone from classic, we're blind. It is possible to query if a corpse is yours with CanLootUnit(unit), but in order for a whole party to figure out who "owns" the corpse, an addon or weakaura querying that function has to be installed by everyone.
If you intend on making that and can get a whole group to install it, the way Blizzard uses it on retail suggests the return won't work immediately after a mob death, you have to delay it by at least 1 second. The relevant usage is in retail's tutorial code:
Lua Wall of Shame
Don't like combat text on frames?
View Public Profile
Send a private message to Kanegasi
Find More Posts by Kanegasi