View Single Post
12-22-19, 01:49 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
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:

https://github.com/Gethe/wow-ui-sour...ogic.lua#L1501
  Reply With Quote