The perk of Woodlegs' Lucky Hat will still work when equipped on Mobs that can wear it (i.e. WIldbores and Prime Apes). This can be exploited by giving a multiple hats to a lot of them and spawn dozens of treasures really quickly.
1. Give 5 Lucky Hats to 5 Wildbores. 2. Enjoy 30 X Marks the Spot treasures in the next couple of days.