From a07401c66d9293779a628eb1c16bd9ec43e5c5ff Mon Sep 17 00:00:00 2001 From: Christopher Schmidt Date: Sat, 7 Sep 2024 10:07:43 -0400 Subject: [PATCH] Eslint fix attempt --- src/data/move.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 94ed81e053c..143ffc9aba2 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -5946,15 +5946,15 @@ export class TransformAttr extends MoveEffectAttr { user.summonData.gender = target.getGender(); user.summonData.fusionGender = target.getFusionGender(); - // Copy all stats (except HP) - for (const s of EFFECTIVE_STATS) { + // Copy all stats (except HP) + for (const s of EFFECTIVE_STATS) { user.setStat(s, target.getStat(s, false), false); - } + } - // Copy all stat stages - for (const s of BATTLE_STATS) { + // Copy all stat stages + for (const s of BATTLE_STATS) { user.setStatStage(s, target.getStatStage(s)); - } + } user.summonData.moveset = target.getMoveset().map(m => { const pp = m?.getMove().pp!;