npc_types have an entry 'loottable_id' which points to a loottable
loottable_entries with the matching loottable_id point to lootdrop_id
lootdrop_entries are what you're at right now and contain references to items
So you sort of need to go backwards given the lootdrop_id you have you need to find all the loottables that point to it. Then you need to go backwards from there and find each npc_type that points to that loottable.
|