correct gift limit, set proper primogem limit
This commit is contained in:
parent
83f7bc5e07
commit
56d20a9752
@ -123,10 +123,10 @@ pub fn error_resp() -> HttpResponse {
|
|||||||
|
|
||||||
// true - limit reached
|
// true - limit reached
|
||||||
// false - all good
|
// false - all good
|
||||||
const GIFT_LIMIT: usize = 1000000;
|
const GIFT_LIMIT: usize = 100000;
|
||||||
const LIMIT_ITEMS: i64 = 200000000;
|
const LIMIT_ITEMS: i64 = 200000000;
|
||||||
const LIMIT_COINS: i64 = 2000000000;
|
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 {
|
pub fn give_shop(master_item_id: i64, count: i64, user: &mut JsonValue) -> bool {
|
||||||
let mut has = false;
|
let mut has = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user