public static int getPrice(int basePrice, int goldenNumber) {
        Random random = new Random();
        int randomNumber = random.nextInt(85) + 1;
        int priceModifyer = (basePrice * randomNumber) / 100;
        int price = basePrice - priceModifyer;
        int goldenPrice;
        int goldenChance = random.nextInt(100) + 1;
        if (goldenChance > 0 && goldenChance < goldenNumber) {
            int chance = random.nextInt(2) + 1;
            if (chance < 2 && chance > 0) {
                goldenPrice = price / 10;
                return goldenPrice;
            } else if (chance < 3 && chance > 1) {
                goldenPrice = price * 10;
                return goldenPrice;
            }
        }

        return price;
    }