mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-11-28 09:20:54 +01:00
add more ocm reward
This commit is contained in:
parent
e7d498f6dd
commit
a11b6ea3e2
@ -241,6 +241,7 @@ export default class GhostModule extends Module {
|
||||
if(checkOneParticipant)
|
||||
{
|
||||
let itemId = 0;
|
||||
|
||||
// 16th - C1
|
||||
if(ocmEventDate.competitionId === 1)
|
||||
{
|
||||
@ -286,6 +287,66 @@ export default class GhostModule extends Module {
|
||||
{
|
||||
itemId = 47;
|
||||
}
|
||||
// 1st - C1
|
||||
else if(ocmEventDate.competitionId === 10)
|
||||
{
|
||||
itemId = 5;
|
||||
}
|
||||
// 2nd - Osaka
|
||||
else if(ocmEventDate.competitionId === 11)
|
||||
{
|
||||
itemId = 11;
|
||||
}
|
||||
// 3rd - Fukuoka
|
||||
else if(ocmEventDate.competitionId === 12)
|
||||
{
|
||||
itemId = 17;
|
||||
}
|
||||
// 4th - Nagoya
|
||||
else if(ocmEventDate.competitionId === 13)
|
||||
{
|
||||
itemId = 23;
|
||||
}
|
||||
// 5th - Yaesu
|
||||
else if(ocmEventDate.competitionId === 14)
|
||||
{
|
||||
itemId = 29;
|
||||
}
|
||||
// 9th - Hakone (Mt. Taikan)
|
||||
else if(ocmEventDate.competitionId === 15)
|
||||
{
|
||||
itemId = 53;
|
||||
}
|
||||
// 10th - Sub-center(Shibuya/Shinjuku)
|
||||
else if(ocmEventDate.competitionId === 16)
|
||||
{
|
||||
itemId = 93;
|
||||
}
|
||||
// 11th - Sub-center(Ikebukuro)
|
||||
else if(ocmEventDate.competitionId === 17)
|
||||
{
|
||||
itemId = 99;
|
||||
}
|
||||
// 12th - Kobe
|
||||
else if(ocmEventDate.competitionId === 18)
|
||||
{
|
||||
itemId = 105;
|
||||
}
|
||||
// 13th - New Belt Line
|
||||
else if(ocmEventDate.competitionId === 19)
|
||||
{
|
||||
itemId = 141;
|
||||
}
|
||||
// 14th - Yokohama
|
||||
else if(ocmEventDate.competitionId === 20)
|
||||
{
|
||||
itemId = 147;
|
||||
}
|
||||
// 15th - Hiroshima
|
||||
else if(ocmEventDate.competitionId === 21)
|
||||
{
|
||||
itemId = 153;
|
||||
}
|
||||
|
||||
let checkNameplate = await prisma.carItem.count({
|
||||
where:{
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -59,7 +59,7 @@ export async function saveStoryResult(body: wm.protobuf.SaveGameResultRequest, c
|
||||
data.stClearBits = storyResult.stClearBits;
|
||||
}
|
||||
|
||||
// Calling give meter reward function (BASE_PATH/src/util/meter_reward.ts)
|
||||
// Calling check step function (BASE_PATH/src/util/games/games_util/check_step.ts)
|
||||
let check_steps = await check_step.checkCurrentStep(body);
|
||||
|
||||
// Set the ghost level to the correct level
|
||||
|
Loading…
Reference in New Issue
Block a user