Rewards are based on how much you've done during the fights, whether through damage, healing of allies, crowd control, etc.