Fix indentation

This commit is contained in:
NightKev 2024-09-04 13:10:17 -07:00 committed by GitHub
parent 154996f305
commit c85033a0c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7985,7 +7985,7 @@ export function initMoves() {
const lastEnemyFaint = user.scene.currentBattle.enemyFaintsHistory[user.scene.currentBattle.enemyFaintsHistory.length -1];
return (
lastPlayerFaint !== undefined && turn - lastPlayerFaint.turn === 1 && user.isPlayer() ||
lastEnemyFaint !== undefined && turn - lastEnemyFaint.turn === 1 && !user.isPlayer()
lastEnemyFaint !== undefined && turn - lastEnemyFaint.turn === 1 && !user.isPlayer()
) ? 2 : 1;
}),
new AttackMove(Moves.FINAL_GAMBIT, Type.FIGHTING, MoveCategory.SPECIAL, -1, 100, 5, -1, 0, 5)