From 558669b968f7ca4f33b77571e6d85a9f1a14633b Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Sat, 24 Jul 2021 19:21:02 -0600 Subject: [PATCH] passive fix --- util/lxp/gainxp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lxp/gainxp.js b/util/lxp/gainxp.js index 8e36f88..b357b15 100644 --- a/util/lxp/gainxp.js +++ b/util/lxp/gainxp.js @@ -4,7 +4,7 @@ const LR = require('../../models/levelroles'); module.exports = async (client, member, channel) => { client.misc.cache.lxp.xp[channel.guild.id][member].lastXP = new Date().getTime(); client.misc.cache.lxp.xp[channel.guild.id][member].xp += 10; - client.misc.cache.monners[member] += (Math.floor(client.misc.cache.lxp.xp[channel.guild.id][member].level / 25) + 1); + client.misc.cache.monners[member] += (Math.floor(client.misc.cache.lxp.xp[channel.guild.id][member].level / 35) + 1); let x = client.misc.cache.lxp.xp[channel.guild.id][member].level; let max = Math.ceil(100 + (((x / 2.85) ** 2.2) * 2.5));