1
0
mirror of synced 2025-02-02 20:57:23 +01:00

slur names and revert ocm gold plate to top 100

This commit is contained in:
anthonyng43 2024-06-09 23:44:27 +08:00
parent 2470c84e3f
commit b69f74fd4f
2 changed files with 42 additions and 2 deletions

View File

@ -709,8 +709,48 @@ export async function checkCreatedCar(body: wm.protobuf.CreateCarRequest, car: a
let cheated: boolean = false;
let slurName: boolean = false;
// Check if name is slur name and lots of combination
let allSlurName = [
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
// '',
// need some sauce to get all possible combinations instead of manually think and type it out
];
// Check if user item id is not set and its a special car

View File

@ -589,9 +589,9 @@ export async function ocmGiveNamePlateReward(competitionId: number)
let participantLength = getCarParticipant.length;
// Participant is more than certain number (100 is default)
if(participantLength > 50)
if(participantLength > 100)
{
participantLength = 50;
participantLength = 100;
}
// 16th - C1