mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 16:09:27 +02:00
Minor Change
This commit is contained in:
parent
ac80209848
commit
968b4d410f
@ -54,7 +54,7 @@ export class PokemonMove {
|
||||
(ignorePp || this.ppUsed < this.getMovePp() || move.pp === -1) &&
|
||||
!(this.moveId && !ignoreRestrictionTags && pokemon.isMoveRestricted(this.moveId, pokemon)),
|
||||
);
|
||||
if (usability.value && pokemon.isPlayer()) {
|
||||
if (pokemon.isPlayer()) {
|
||||
applyChallenges(ChallengeType.POKEMON_MOVE, move.id, usability);
|
||||
}
|
||||
return usability.value;
|
||||
|
Loading…
Reference in New Issue
Block a user