Fix moveset generation priority reversed
parent
77cf3032cf
commit
563ff21ad4
|
@ -932,6 +932,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
movePool.reverse();
|
||||||
|
|
||||||
const attackMovePool = movePool.filter(m => {
|
const attackMovePool = movePool.filter(m => {
|
||||||
const move = allMoves[m];
|
const move = allMoves[m];
|
||||||
return move.category !== MoveCategory.STATUS;
|
return move.category !== MoveCategory.STATUS;
|
||||||
|
|
Loading…
Reference in New Issue