diff --git a/bot.js b/bot.js index 2e025e2..7f0ea79 100644 --- a/bot.js +++ b/bot.js @@ -914,7 +914,7 @@ const recoverResourcePrices = async () => { // Гарантируем, что цена остаётся в диапазоне [50% basePrice, 150% basePrice] resource.price = Math.max(resource.price, Math.round(resource.basePrice * 0.5)); // Минимум - resource.price = Math.min(resource.price, Math.round(resource.basePrice * 1.5)); // Максимум + resource.price = Math.min(resource.price, Math.round(resource.basePrice * 3)); // Максимум await resource.save(); // Сохраняем после всех корректировок }