mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-30 13:34:28 +01:00
[Bug] Fixes Encore bug with multi-target moves missing (#3060)
* Pushes move history even when multi target move misses * Move pushMoveHistory out of Move Pending condition
This commit is contained in:
parent
ecbf7570b3
commit
21f5595e06
@ -2942,6 +2942,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||||||
if (moveHistoryEntry.result === MoveResult.PENDING) {
|
if (moveHistoryEntry.result === MoveResult.PENDING) {
|
||||||
moveHistoryEntry.result = MoveResult.MISS;
|
moveHistoryEntry.result = MoveResult.MISS;
|
||||||
}
|
}
|
||||||
|
user.pushMoveHistory(moveHistoryEntry);
|
||||||
applyMoveAttrs(MissEffectAttr, user, null, move);
|
applyMoveAttrs(MissEffectAttr, user, null, move);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user