From ff4fd60c3563ea15dc3647a3a10c1387bf14e800 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Fri, 28 Jan 2022 11:09:43 -0700 Subject: [PATCH] lower chest spawn rates --- util/lxp/spawnchest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lxp/spawnchest.js b/util/lxp/spawnchest.js index a6636c1..946d87e 100644 --- a/util/lxp/spawnchest.js +++ b/util/lxp/spawnchest.js @@ -6,7 +6,7 @@ const Discord = require('discord.js'); module.exports = async (client, member, channel, prefix) => { if (client.misc.cache.chests.timeout.has(member.guild.id) && new Date().getTime() - client.misc.cache.chests.timeout.get(member.guild.id) < (1000 * 60 * 2)) {return;} let rand = Math.floor(Math.random() * 100); - if (rand !== 69 && rand !== 42) {return;} //decide if it even continues + if (rand !== 69) {return;} //decide if it even continues let tm = await Monners.findOne({uid: member.id}); let streak = tm && tm.daily ? tm.daily.streak : 0; //get streak for bonus later