[Misc] Spring Stuff (#5742)
* Update timed-event-manager.ts * spr25 images * Update the-pokemon-salesman-encounter.ts rolls
BIN
public/images/events/spr25event-de.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
public/images/events/spr25event-en.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
public/images/events/spr25event-es-ES.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
public/images/events/spr25event-es-MX.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
public/images/events/spr25event-fr.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
public/images/events/spr25event-it.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/images/events/spr25event-ja.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
public/images/events/spr25event-ko.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
public/images/events/spr25event-pt-BR.png
Normal file
After Width: | Height: | Size: 30 KiB |
@ -106,7 +106,7 @@ export const ThePokemonSalesmanEncounter: MysteryEncounter = MysteryEncounterBui
|
|||||||
* If an event with more than 1 valid event encounter species is active, you have 20% chance to get one of those
|
* If an event with more than 1 valid event encounter species is active, you have 20% chance to get one of those
|
||||||
* If the rolled species has no HA, and there are valid event encounters, you will get one of those
|
* If the rolled species has no HA, and there are valid event encounters, you will get one of those
|
||||||
* If the rolled species has no HA and there are no valid event encounters, you will get Shiny Magikarp
|
* If the rolled species has no HA and there are no valid event encounters, you will get Shiny Magikarp
|
||||||
* Mons rolled from the event encounter pool get 2 extra shiny rolls
|
* Mons rolled from the event encounter pool get 3 extra shiny rolls
|
||||||
*/
|
*/
|
||||||
if (
|
if (
|
||||||
r === 0 ||
|
r === 0 ||
|
||||||
@ -120,12 +120,13 @@ export const ThePokemonSalesmanEncounter: MysteryEncounter = MysteryEncounterBui
|
|||||||
(validEventEncounters.length > 0 && (r <= EVENT_THRESHOLD ||
|
(validEventEncounters.length > 0 && (r <= EVENT_THRESHOLD ||
|
||||||
(isNullOrUndefined(species.abilityHidden) || species.abilityHidden === Abilities.NONE)))
|
(isNullOrUndefined(species.abilityHidden) || species.abilityHidden === Abilities.NONE)))
|
||||||
) {
|
) {
|
||||||
// If you roll 20%, give event encounter with 2 extra shiny rolls and its HA, if it has one
|
// If you roll 20%, give event encounter with 3 extra shiny rolls and its HA, if it has one
|
||||||
const enc = randSeedItem(validEventEncounters);
|
const enc = randSeedItem(validEventEncounters);
|
||||||
species = getPokemonSpecies(enc.species);
|
species = getPokemonSpecies(enc.species);
|
||||||
pokemon = new PlayerPokemon(species, 5, species.abilityHidden === Abilities.NONE ? undefined : 2, enc.formIndex);
|
pokemon = new PlayerPokemon(species, 5, species.abilityHidden === Abilities.NONE ? undefined : 2, enc.formIndex);
|
||||||
pokemon.trySetShinySeed();
|
pokemon.trySetShinySeed();
|
||||||
pokemon.trySetShinySeed();
|
pokemon.trySetShinySeed();
|
||||||
|
pokemon.trySetShinySeed();
|
||||||
} else {
|
} else {
|
||||||
pokemon = new PlayerPokemon(species, 5, 2, species.formIndex);
|
pokemon = new PlayerPokemon(species, 5, 2, species.formIndex);
|
||||||
}
|
}
|
||||||
|
@ -310,6 +310,48 @@ const timedEvents: TimedEvent[] = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Shining Spring",
|
||||||
|
eventType: EventType.SHINY,
|
||||||
|
startDate: new Date(Date.UTC(2025, 4, 2)),
|
||||||
|
endDate: new Date(Date.UTC(2025, 4, 12)),
|
||||||
|
bannerKey: "spr25event",
|
||||||
|
scale: 0.21,
|
||||||
|
availableLangs: ["en", "de", "it", "fr", "ja", "ko", "es-ES", "es-MX", "pt-BR", "zh-CN"],
|
||||||
|
shinyMultiplier: 2,
|
||||||
|
upgradeUnlockedVouchers: true,
|
||||||
|
eventEncounters: [
|
||||||
|
{ species: Species.HOPPIP },
|
||||||
|
{ species: Species.CELEBI },
|
||||||
|
{ species: Species.VOLBEAT },
|
||||||
|
{ species: Species.ILLUMISE },
|
||||||
|
{ species: Species.SPOINK },
|
||||||
|
{ species: Species.LILEEP },
|
||||||
|
{ species: Species.SHINX },
|
||||||
|
{ species: Species.PACHIRISU },
|
||||||
|
{ species: Species.CHERUBI },
|
||||||
|
{ species: Species.MUNCHLAX },
|
||||||
|
{ species: Species.TEPIG },
|
||||||
|
{ species: Species.PANSAGE },
|
||||||
|
{ species: Species.PANSEAR },
|
||||||
|
{ species: Species.PANPOUR },
|
||||||
|
{ species: Species.DARUMAKA },
|
||||||
|
{ species: Species.ARCHEN },
|
||||||
|
{ species: Species.DEERLING, formIndex: 0 }, // Spring Deerling
|
||||||
|
{ species: Species.CLAUNCHER },
|
||||||
|
{ species: Species.WISHIWASHI },
|
||||||
|
{ species: Species.MUDBRAY },
|
||||||
|
{ species: Species.DRAMPA },
|
||||||
|
{ species: Species.JANGMO_O },
|
||||||
|
{ species: Species.APPLIN },
|
||||||
|
],
|
||||||
|
classicWaveRewards: [
|
||||||
|
{ wave: 8, type: "SHINY_CHARM" },
|
||||||
|
{ wave: 8, type: "ABILITY_CHARM" },
|
||||||
|
{ wave: 8, type: "CATCHING_CHARM" },
|
||||||
|
{ wave: 25, type: "SHINY_CHARM" },
|
||||||
|
],
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
export class TimedEventManager {
|
export class TimedEventManager {
|
||||||
|