From 5496e2b6bc909584995572f108ffd385594081fa Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 13 Oct 2023 15:31:01 +0300 Subject: [PATCH] dont look mbux-received to tiers, and instead just multiply by 500 --- files/helpers/config/const.py | 10 ---------- files/routes/users.py | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 2a1148386..bceabf19a 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -585,16 +585,6 @@ TIER_TO_MONEY = { 8: 500, } -TIER_TO_MBUX = { - 2: 2500, - 3: 5000, - 4: 10000, - 5: 25000, - 6: 50000, - 7: 100000, - 8: 250000, -} - BADGE_BLACKLIST = { # only grantable by admins higher than PERMS['IGNORE_BADGE_BLACKLIST'] 1, 2, 6, 10, 11, 12, # Alpha, Verified Email, Beta, Recruiter x3 16, 17, 143, 21, 22, 23, 24, 25, 26, 27, # Marsey Artist x3 / Patron Tiers diff --git a/files/routes/users.py b/files/routes/users.py index 44183ae88..ce6b99d0d 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -61,7 +61,7 @@ def claim_rewards_all_users(): tier = t if transaction.amount <= money: break - marseybux += TIER_TO_MBUX[tier] + marseybux += transaction.amount * 500 if tier > highest_tier: highest_tier = tier transaction.claimed = True