mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 10:52:17 +02:00
hide enemy ability
This commit is contained in:
parent
80328acf7a
commit
edbdd47a05
@ -1952,7 +1952,7 @@ export default class BattleScene extends SceneBase {
|
|||||||
};
|
};
|
||||||
}) : [],
|
}) : [],
|
||||||
nature: getNatureName(pokemon.nature, false, false, true),
|
nature: getNatureName(pokemon.nature, false, false, true),
|
||||||
ability: pokemon.getAbility().name,
|
ability: pokemon.isPlayer() ? pokemon.getAbility().name : "",
|
||||||
hiddenAbility: pokemon.getPassiveAbility().name,
|
hiddenAbility: pokemon.getPassiveAbility().name,
|
||||||
pokedexEntry: pokemon.species.speciesId.toString(),
|
pokedexEntry: pokemon.species.speciesId.toString(),
|
||||||
stats: pokemon.isPlayer() ? pokemon.stats.map(p => p) : [],
|
stats: pokemon.isPlayer() ? pokemon.stats.map(p => p) : [],
|
||||||
|
Loading…
Reference in New Issue
Block a user