mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Remove leftover enforce func loop
This commit is contained in:
parent
b0a8172f3f
commit
caf7b19344
@ -6064,15 +6064,6 @@ export class EnemyPokemon extends Pokemon {
|
|||||||
|
|
||||||
this.luck = (this.shiny ? this.variant + 1 : 0) + (this.fusionShiny ? this.fusionVariant + 1 : 0);
|
this.luck = (this.shiny ? this.variant + 1 : 0) + (this.fusionShiny ? this.fusionVariant + 1 : 0);
|
||||||
|
|
||||||
let prevolution: SpeciesId;
|
|
||||||
let speciesId = species.speciesId;
|
|
||||||
while ((prevolution = pokemonPrevolutions[speciesId])) {
|
|
||||||
const _evolution = pokemonEvolutions[prevolution].find(
|
|
||||||
pe => pe.speciesId === speciesId && (!pe.evoFormKey || pe.evoFormKey === this.getFormKey()),
|
|
||||||
);
|
|
||||||
speciesId = prevolution;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.hasTrainer() && globalScene.currentBattle) {
|
if (this.hasTrainer() && globalScene.currentBattle) {
|
||||||
const { waveIndex } = globalScene.currentBattle;
|
const { waveIndex } = globalScene.currentBattle;
|
||||||
const ivs: number[] = [];
|
const ivs: number[] = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user