mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 23:02:19 +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());
|
this.loadAssets(false, true).then(() => this.playAnim());
|
||||||
} else {
|
} else {
|
||||||
let availables: Species[] = [];
|
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()) {
|
if (this.isBoss()) {
|
||||||
availables = [ Species.ENTEI, Species.RAIKOU, Species.SUICUNE ];
|
availables = [ Species.ENTEI, Species.RAIKOU, Species.SUICUNE ];
|
||||||
randomIllusion = getPokemonSpecies(availables[this.randSeedInt(availables.length)]);
|
randomIllusion = getPokemonSpecies(availables[this.randSeedInt(availables.length)]);
|
||||||
|
Loading…
Reference in New Issue
Block a user