fix: change cavia bounties every 2.5 hours (#748)
This commit is contained in:
		
							parent
							
								
									eeaa339090
								
							
						
					
					
						commit
						cd5aaaa6cf
					
				| @ -22,7 +22,7 @@ export const worldStateController: RequestHandler = (req, res) => { | ||||
|         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 bountyCycleStart = bountyCycle * 9000000; | ||||
|     const bountyCycleEnd = bountyCycleStart + 9000000; | ||||
| @ -34,6 +34,14 @@ export const worldStateController: RequestHandler = (req, res) => { | ||||
|         Seed: bountyCycle, | ||||
|         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({ | ||||
|         _id: { $oid: bountyCycleStart.toString(16) + "0000000000000006" }, | ||||
|         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" }, | ||||
|       "Activation": { "$date": { "$numberLong": "1715106248403" } }, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub