Apply Biome

This commit is contained in:
NightKev 2025-04-11 21:18:45 -07:00
parent 81f424dc71
commit 5b73e391e6

View File

@ -335,9 +335,7 @@ export class MoveEffectPhase extends PokemonPhase {
// If the move will bounce, then queue the bounce and move on to the next target // If the move will bounce, then queue the bounce and move on to the next target
if (!target.switchOutStatus && willBounce) { if (!target.switchOutStatus && willBounce) {
const newTargets = move.isMultiTarget() const newTargets = move.isMultiTarget() ? getMoveTargets(target, move.id).targets : [user.getBattlerIndex()];
? getMoveTargets(target, move.id).targets
: [user.getBattlerIndex()];
if (!isReflecting) { if (!isReflecting) {
// TODO: Ability displays should be handled by the ability // TODO: Ability displays should be handled by the ability
queuedPhases.push( queuedPhases.push(