refatored method that builds hero win/loss record