double wCount = Olympiad.getCompetitionWin(player.getObjectId());
double dCount = Olympiad.getCompetitionDone(player.getObjectId());
double rating = dCount != 0 ? wCount / dCount : 0.5;
player.sendMessage("Эффективность (побед/боев): " + Math.round(rating * 100.) + "%");