Add override to start() and end()

This commit is contained in:
NightKev 2024-11-02 12:22:15 -07:00
parent a9befca5ee
commit 4df2de44a0

View File

@ -77,7 +77,7 @@ export class MoveEffectPhase extends PokemonPhase {
this.targets = targets; this.targets = targets;
} }
public start(): void { public override start(): void {
super.start(); super.start();
/** The Pokemon using this phase's invoked move */ /** The Pokemon using this phase's invoked move */
@ -351,7 +351,7 @@ export class MoveEffectPhase extends PokemonPhase {
}); });
} }
public end(): void { public override end(): void {
const user = this.getUserPokemon(); const user = this.getUserPokemon();
/** /**
* If this phase isn't for the invoked move's last strike, * If this phase isn't for the invoked move's last strike,