Add spaces

This commit is contained in:
Xavion3 2024-05-15 01:24:42 +10:00
parent 09a7655dd8
commit a7bf755d6b

View File

@ -99,8 +99,8 @@ export function getLegendaryGachaSpeciesForTimestamp(scene: BattleScene, timesta
const timeDate = new Date(timestamp);
const dayDate = new Date(Date.UTC(timeDate.getUTCFullYear(), timeDate.getUTCMonth(), timeDate.getUTCDate()));
const dayTimestamp = timeDate.getTime(); // Timestamp of current week
const offset = Math.floor(Math.floor(dayTimestamp / 86400000)/legendarySpecies.length); // Cycle number
const index = Math.floor(dayTimestamp / 86400000)%legendarySpecies.length // Index within cycle
const offset = Math.floor(Math.floor(dayTimestamp / 86400000) / legendarySpecies.length); // Cycle number
const index = Math.floor(dayTimestamp / 86400000) % legendarySpecies.length // Index within cycle
scene.executeWithSeedOffset(() => {
ret = Phaser.Math.RND.shuffle(legendarySpecies)[index];