mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Updated formatting
This commit is contained in:
parent
97d89752b5
commit
f9225f2fb5
@ -1237,8 +1237,7 @@ export class ElectroShotChargeAttr extends ChargeAttr {
|
||||
statChangeAttr.apply(user, target, move, args);
|
||||
// After the SPATK is raised, execute the move resolution e.g. deal damage
|
||||
resolve(false);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (!this.statIncreaseApplied) {
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user