SelectLoot function

Learn technical details about the SelectLoot function.