public Set<Skill> getRandomSkills(Random random) {
Set<Skill> skills = new HashSet<Skill>();
int count = random.nextInt(8);
for (int i = 0; i < count; i++) {
int number = random.nextInt(8) + 15;
Skill skill = Skill.findSkill((long) number);
if (skill != null && !skills.contains(skill)) {
skills.add(skill);
}
}
return skills;