mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-14 03:19:28 +02:00
Update trainer-config.ts
This commit is contained in:
parent
5842fda714
commit
037c962558
@ -3963,12 +3963,18 @@ export const trainerConfigs: TrainerConfigs = {
|
|||||||
.setDoubleTitle("champion_double")
|
.setDoubleTitle("champion_double")
|
||||||
.setPartyMemberFunc(
|
.setPartyMemberFunc(
|
||||||
0,
|
0,
|
||||||
getRandomPartyMemberFunc([SpeciesId.POLITOED, SpeciesId.PELIPPER], TrainerSlot.TRAINER, true, p => {
|
getRandomPartyMemberFunc([SpeciesId.PELIPPER], TrainerSlot.TRAINER, true, p => {
|
||||||
p.abilityIndex = p.species.speciesId === SpeciesId.POLITOED ? 2 : 1; // Drizzle
|
p.abilityIndex = 1; // Drizzle
|
||||||
|
p.generateAndPopulateMoveset();
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
.setPartyMemberFunc(
|
||||||
|
1,
|
||||||
|
getRandomPartyMemberFunc([SpeciesId.LUDICOLO], TrainerSlot.TRAINER, true, p => {
|
||||||
|
p.abilityIndex = 0; // Swift Swim
|
||||||
p.generateAndPopulateMoveset();
|
p.generateAndPopulateMoveset();
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.setPartyMemberFunc(1, getRandomPartyMemberFunc([SpeciesId.LUDICOLO]))
|
|
||||||
.setPartyMemberFunc(
|
.setPartyMemberFunc(
|
||||||
2,
|
2,
|
||||||
getRandomPartyMemberFunc([SpeciesId.TENTACRUEL, SpeciesId.WALREIN], TrainerSlot.TRAINER, true, p => {
|
getRandomPartyMemberFunc([SpeciesId.TENTACRUEL, SpeciesId.WALREIN], TrainerSlot.TRAINER, true, p => {
|
||||||
@ -4067,12 +4073,12 @@ export const trainerConfigs: TrainerConfigs = {
|
|||||||
3,
|
3,
|
||||||
getRandomPartyMemberFunc([SpeciesId.KELDEO], TrainerSlot.TRAINER, true, p => {
|
getRandomPartyMemberFunc([SpeciesId.KELDEO], TrainerSlot.TRAINER, true, p => {
|
||||||
p.pokeball = PokeballType.ROGUE_BALL;
|
p.pokeball = PokeballType.ROGUE_BALL;
|
||||||
p.formIndex = 1; // Resolute Form
|
|
||||||
p.generateAndPopulateMoveset();
|
p.generateAndPopulateMoveset();
|
||||||
if (!p.moveset.some(move => !isNullOrUndefined(move) && move.moveId === MoveId.SECRET_SWORD)) {
|
if (!p.moveset.some(move => !isNullOrUndefined(move) && move.moveId === MoveId.SECRET_SWORD)) {
|
||||||
// Check if Secret Sword is in the moveset, if not, replace the third move with Secret Sword.
|
// Check if Secret Sword is in the moveset, if not, replace the third move with Secret Sword.
|
||||||
p.moveset[2] = new PokemonMove(MoveId.SECRET_SWORD);
|
p.moveset[2] = new PokemonMove(MoveId.SECRET_SWORD);
|
||||||
}
|
}
|
||||||
|
p.formIndex = 1; // Resolute Form
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.setPartyMemberFunc(
|
.setPartyMemberFunc(
|
||||||
|
Loading…
Reference in New Issue
Block a user