mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-03 15:04:56 +01:00
Data for possible Pokémon Day 2025 Event (#5433)
This commit is contained in:
parent
f902716837
commit
02edfb673e
@ -2554,7 +2554,7 @@ export function getPartyLuckValue(party: Pokemon[]): number {
|
|||||||
return DailyLuck.value;
|
return DailyLuck.value;
|
||||||
}
|
}
|
||||||
const eventSpecies = globalScene.eventManager.getEventLuckBoostedSpecies();
|
const eventSpecies = globalScene.eventManager.getEventLuckBoostedSpecies();
|
||||||
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 3 : 0) : 0)
|
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 1 : 0) : 0)
|
||||||
.reduce((total: number, value: number) => total += value, 0), 0, 14);
|
.reduce((total: number, value: number) => total += value, 0), 0, 14);
|
||||||
return Math.min(globalScene.eventManager.getEventLuckBoost() + (luck ?? 0), 14);
|
return Math.min(globalScene.eventManager.getEventLuckBoost() + (luck ?? 0), 14);
|
||||||
}
|
}
|
||||||
|
@ -169,7 +169,7 @@ const timedEvents: TimedEvent[] = [
|
|||||||
{ species: Species.WOOBAT },
|
{ species: Species.WOOBAT },
|
||||||
{ species: Species.FRILLISH },
|
{ species: Species.FRILLISH },
|
||||||
{ species: Species.ALOMOMOLA },
|
{ species: Species.ALOMOMOLA },
|
||||||
{ species: Species.FURFROU, formIndex: 1 }, // Heart trim
|
{ species: Species.FURFROU, formIndex: 1 }, // Heart Trim
|
||||||
{ species: Species.ESPURR },
|
{ species: Species.ESPURR },
|
||||||
{ species: Species.SPRITZEE },
|
{ species: Species.SPRITZEE },
|
||||||
{ species: Species.SWIRLIX },
|
{ species: Species.SWIRLIX },
|
||||||
@ -180,6 +180,33 @@ const timedEvents: TimedEvent[] = [
|
|||||||
{ species: Species.ENAMORUS }
|
{ species: Species.ENAMORUS }
|
||||||
],
|
],
|
||||||
luckBoostedSpecies: [ Species.LUVDISC ]
|
luckBoostedSpecies: [ Species.LUVDISC ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "PKMNDAY2025",
|
||||||
|
eventType: EventType.LUCK,
|
||||||
|
startDate: new Date(Date.UTC(2025, 1, 27)),
|
||||||
|
endDate: new Date(Date.UTC(2025, 2, 4)),
|
||||||
|
classicFriendshipMultiplier: 4,
|
||||||
|
bannerKey: "pkmnday2025event-",
|
||||||
|
scale: 0.21,
|
||||||
|
availableLangs: [ "en", "de", "it", "fr", "ja", "ko", "es-ES", "pt-BR", "zh-CN" ],
|
||||||
|
eventEncounters: [
|
||||||
|
{ species: Species.PIKACHU, formIndex: 1, blockEvolution: true }, // Partner Form
|
||||||
|
{ species: Species.EEVEE, formIndex: 1, blockEvolution: true }, // Partner Form
|
||||||
|
{ species: Species.CHIKORITA },
|
||||||
|
{ species: Species.TOTODILE },
|
||||||
|
{ species: Species.TEPIG }
|
||||||
|
],
|
||||||
|
luckBoostedSpecies: [
|
||||||
|
Species.PICHU, Species.PIKACHU, Species.RAICHU, Species.ALOLA_RAICHU,
|
||||||
|
Species.PSYDUCK, Species.GOLDUCK,
|
||||||
|
Species.EEVEE, Species.FLAREON, Species.JOLTEON, Species.VAPOREON, Species.ESPEON, Species.UMBREON, Species.LEAFEON, Species.GLACEON, Species.SYLVEON,
|
||||||
|
Species.CHIKORITA, Species.BAYLEEF, Species.MEGANIUM,
|
||||||
|
Species.TOTODILE, Species.CROCONAW, Species.FERALIGATR,
|
||||||
|
Species.TEPIG, Species.PIGNITE, Species.EMBOAR,
|
||||||
|
Species.ZYGARDE,
|
||||||
|
Species.ETERNAL_FLOETTE
|
||||||
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user