mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
wild Zoroark creates an illusion according to the current biome
This commit is contained in:
parent
2596f0d671
commit
8351866d0d
@ -441,7 +441,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
this.loadAssets(false, true).then(() => this.playAnim());
|
||||
} else {
|
||||
let availables: Species[] = [];
|
||||
let randomIllusion: PokemonSpecies = this.scene.arena.randomSpecies(this.scene.currentBattle.waveIndex, this.level)
|
||||
let randomIllusion: PokemonSpecies = this.scene.arena.randomSpecies(this.scene.currentBattle.waveIndex, this.level);
|
||||
if (this.isBoss()) {
|
||||
availables = [ Species.ENTEI, Species.RAIKOU, Species.SUICUNE ];
|
||||
randomIllusion = getPokemonSpecies(availables[this.randSeedInt(availables.length)]);
|
||||
|
Loading…
Reference in New Issue
Block a user