Eslint fix attempt

This commit is contained in:
Christopher Schmidt 2024-09-07 10:07:43 -04:00
parent 79a606dcd2
commit a07401c66d

View File

@ -5946,15 +5946,15 @@ export class TransformAttr extends MoveEffectAttr {
user.summonData.gender = target.getGender(); user.summonData.gender = target.getGender();
user.summonData.fusionGender = target.getFusionGender(); user.summonData.fusionGender = target.getFusionGender();
// Copy all stats (except HP) // Copy all stats (except HP)
for (const s of EFFECTIVE_STATS) { for (const s of EFFECTIVE_STATS) {
user.setStat(s, target.getStat(s, false), false); user.setStat(s, target.getStat(s, false), false);
} }
// Copy all stat stages // Copy all stat stages
for (const s of BATTLE_STATS) { for (const s of BATTLE_STATS) {
user.setStatStage(s, target.getStatStage(s)); user.setStatStage(s, target.getStatStage(s));
} }
user.summonData.moveset = target.getMoveset().map(m => { user.summonData.moveset = target.getMoveset().map(m => {
const pp = m?.getMove().pp!; const pp = m?.getMove().pp!;