ObjectLootable
Returns if a WowGameObject
is lootable or not.
ObjectLootable(--[[(1)]]objectReference) : true | false
- See Object Reference for more information on possible values.
Example
Check if the target can be looted.
local lootable = ObjectLootable('target')