Fix moveset generation priority reversed

This commit is contained in:
Flashfyre 2024-04-03 16:35:11 -04:00
parent 77cf3032cf
commit 563ff21ad4
1 changed files with 2 additions and 0 deletions

View File

@ -932,6 +932,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
}
}
movePool.reverse();
const attackMovePool = movePool.filter(m => {
const move = allMoves[m];
return move.category !== MoveCategory.STATUS;