fix: change cavia bounties every 2.5 hours
This commit is contained in:
parent
172db2337f
commit
c23a3fcaf0
@ -22,7 +22,7 @@ export const worldStateController: RequestHandler = (req, res) => {
|
|||||||
Seed: week // unfaithful
|
Seed: week // unfaithful
|
||||||
});
|
});
|
||||||
|
|
||||||
// Holdfast & Hex bounties cycling every 2.5 hours; unfaithful implementation
|
// Holdfast, Cavia, & Hex bounties cycling every 2.5 hours; unfaithful implementation
|
||||||
const bountyCycle = Math.trunc(new Date().getTime() / 9000000);
|
const bountyCycle = Math.trunc(new Date().getTime() / 9000000);
|
||||||
const bountyCycleStart = bountyCycle * 9000000;
|
const bountyCycleStart = bountyCycle * 9000000;
|
||||||
const bountyCycleEnd = bountyCycleStart + 9000000;
|
const bountyCycleEnd = bountyCycleStart + 9000000;
|
||||||
@ -34,6 +34,14 @@ export const worldStateController: RequestHandler = (req, res) => {
|
|||||||
Seed: bountyCycle,
|
Seed: bountyCycle,
|
||||||
Nodes: []
|
Nodes: []
|
||||||
});
|
});
|
||||||
|
worldState.SyndicateMissions.push({
|
||||||
|
_id: { $oid: bountyCycleStart.toString(16) + "0000000000000004" },
|
||||||
|
Activation: { $date: { $numberLong: bountyCycleStart.toString() } },
|
||||||
|
Expiry: { $date: { $numberLong: bountyCycleEnd.toString() } },
|
||||||
|
Tag: "EntratiLabSyndicate",
|
||||||
|
Seed: bountyCycle,
|
||||||
|
Nodes: []
|
||||||
|
});
|
||||||
worldState.SyndicateMissions.push({
|
worldState.SyndicateMissions.push({
|
||||||
_id: { $oid: bountyCycleStart.toString(16) + "0000000000000006" },
|
_id: { $oid: bountyCycleStart.toString(16) + "0000000000000006" },
|
||||||
Activation: { $date: { $numberLong: bountyCycleStart.toString(10) } },
|
Activation: { $date: { $numberLong: bountyCycleStart.toString(10) } },
|
||||||
|
@ -340,14 +340,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"_id": { "$oid": "663a71c80000000000000004" },
|
|
||||||
"Activation": { "$date": { "$numberLong": "1715106248403" } },
|
|
||||||
"Expiry": { "$date": { "$numberLong": "2000000000000" } },
|
|
||||||
"Tag": "EntratiLabSyndicate",
|
|
||||||
"Seed": 99562,
|
|
||||||
"Nodes": []
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"_id": { "$oid": "663a71c80000000000000008" },
|
"_id": { "$oid": "663a71c80000000000000008" },
|
||||||
"Activation": { "$date": { "$numberLong": "1715106248403" } },
|
"Activation": { "$date": { "$numberLong": "1715106248403" } },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user