Completed backend functionality for hero reroll