mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-24 13:08:39 +00:00
Zoroark change illusion after lastPokemon update
This commit is contained in:
parent
d7ed17b066
commit
6396943cb2
@ -3710,10 +3710,10 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resetBattleData(): void {
|
resetBattleData(): void {
|
||||||
const illusionActive: boolean = this.battleData?.illusion.active ?? false
|
const illusionActive: boolean = this.battleData?.illusion.active ?? false;
|
||||||
this.breakIllusion();
|
this.breakIllusion();
|
||||||
this.battleData = new PokemonBattleData();
|
this.battleData = new PokemonBattleData();
|
||||||
illusionActive ? this.generateIllusion() : null
|
illusionActive ? this.generateIllusion() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
resetBattleSummonData(): void {
|
resetBattleSummonData(): void {
|
||||||
@ -5304,7 +5304,7 @@ export class PokemonBattleData {
|
|||||||
public berriesEaten: BerryType[] = [];
|
public berriesEaten: BerryType[] = [];
|
||||||
public abilitiesApplied: Abilities[] = [];
|
public abilitiesApplied: Abilities[] = [];
|
||||||
public abilityRevealed: boolean = false;
|
public abilityRevealed: boolean = false;
|
||||||
public illusion: Illusion = {active: false, available: true}
|
public illusion: Illusion = { active: false, available: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
export class PokemonBattleSummonData {
|
export class PokemonBattleSummonData {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user