From 56d20a9752e5141d779e3c531e8abb4d0fe5c99b Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Fri, 3 May 2024 14:25:40 -0500 Subject: [PATCH] correct gift limit, set proper primogem limit --- src/router/global.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/global.rs b/src/router/global.rs index f9c17b1..c24219a 100644 --- a/src/router/global.rs +++ b/src/router/global.rs @@ -123,10 +123,10 @@ pub fn error_resp() -> HttpResponse { // true - limit reached // false - all good -const GIFT_LIMIT: usize = 1000000; +const GIFT_LIMIT: usize = 100000; const LIMIT_ITEMS: i64 = 200000000; const LIMIT_COINS: i64 = 2000000000; -const LIMIT_PRIMOGEMS: i64 = 2000000000; +const LIMIT_PRIMOGEMS: i64 = 1000000; pub fn give_shop(master_item_id: i64, count: i64, user: &mut JsonValue) -> bool { let mut has = false;