mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Add Luvdisc +3 Luck Boost
This commit is contained in:
parent
9924e4b9f5
commit
4b896ba9a7
@ -2547,7 +2547,7 @@ export function getPartyLuckValue(party: Pokemon[]): number {
|
||||
return DailyLuck.value;
|
||||
}
|
||||
const eventSpecies = globalScene.eventManager.getEventLuckBoostedSpecies();
|
||||
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 1 : 0) : 0)
|
||||
const luck = Phaser.Math.Clamp(party.map(p => p.isAllowedInBattle() ? p.getLuck() + (eventSpecies.includes(p.species.speciesId) ? 3 : 0) : 0)
|
||||
.reduce((total: number, value: number) => total += value, 0), 0, 14);
|
||||
return Math.min(globalScene.eventManager.getEventLuckBoost() + (luck ?? 0), 14);
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ const timedEvents: TimedEvent[] = [
|
||||
{
|
||||
name: "Valentine",
|
||||
eventType: EventType.SHINY,
|
||||
startDate: new Date(Date.UTC(2025, 1, 10, 12)),
|
||||
startDate: new Date(Date.UTC(2025, 1, 10)),
|
||||
endDate: new Date(Date.UTC(2025, 1, 21)),
|
||||
boostFusions: true,
|
||||
shinyMultiplier: 2,
|
||||
@ -177,7 +177,8 @@ const timedEvents: TimedEvent[] = [
|
||||
{ species: Species.INDEEDEE },
|
||||
{ species: Species.TANDEMAUS },
|
||||
{ species: Species.ENAMORUS }
|
||||
]
|
||||
],
|
||||
luckBoostedSpecies: [ Species.LUVDISC ]
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user