To get the Gem of Fortune in Hero Smash, enter the cave, interact with the statue’s stone, and wait for loading. You must have accepted the relevant quest first.