Updated formatting

This commit is contained in:
EmoUsedHM01 2024-04-15 07:16:56 +01:00 committed by GitHub
parent 97d89752b5
commit f9225f2fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1237,8 +1237,7 @@ export class ElectroShotChargeAttr extends ChargeAttr {
statChangeAttr.apply(user, target, move, args); statChangeAttr.apply(user, target, move, args);
// After the SPATK is raised, execute the move resolution e.g. deal damage // After the SPATK is raised, execute the move resolution e.g. deal damage
resolve(false); resolve(false);
} } else {
else {
if (!this.statIncreaseApplied) { if (!this.statIncreaseApplied) {
// Apply the SPATK increase only if it hasn't been applied before e.g. on the first turn charge up animation // Apply the SPATK increase only if it hasn't been applied before e.g. on the first turn charge up animation
const statChangeAttr = new StatChangeAttr(BattleStat.SPATK, 1, true); const statChangeAttr = new StatChangeAttr(BattleStat.SPATK, 1, true);