mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 05:52:17 +02:00
Fixed command phase bug causing metronome test timeout
This commit is contained in:
parent
6cfc4da068
commit
9453dfa0aa
@ -128,7 +128,7 @@ export class CommandPhase extends FieldPhase {
|
|||||||
playerPokemon
|
playerPokemon
|
||||||
.getMoveset()
|
.getMoveset()
|
||||||
[moveIndex].isUsable(playerPokemon, queuedMove.useType >= MoveUseType.IGNORE_PP)) ||
|
[moveIndex].isUsable(playerPokemon, queuedMove.useType >= MoveUseType.IGNORE_PP)) ||
|
||||||
queuedMove.useType < MoveUseType.INDIRECT
|
queuedMove.useType >= MoveUseType.INDIRECT
|
||||||
) {
|
) {
|
||||||
this.handleCommand(Command.FIGHT, moveIndex, queuedMove.useType, queuedMove);
|
this.handleCommand(Command.FIGHT, moveIndex, queuedMove.useType, queuedMove);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user