Update type annotation in applyMoveEffects

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Sirz Benjie 2025-05-10 17:32:02 -05:00 committed by GitHub
parent a1fce52133
commit 3f2908c397
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -769,7 +769,7 @@ export class MoveEffectPhase extends PokemonPhase {
* @param effectiveness - The effectiveness of the move (as previously evaluated in {@linkcode hitCheck}) * @param effectiveness - The effectiveness of the move (as previously evaluated in {@linkcode hitCheck})
* @param firstTarget - Whether this is the first target successfully struck by the move * @param firstTarget - Whether this is the first target successfully struck by the move
*/ */
protected applyMoveEffects(target: Pokemon, effectiveness: TypeDamageMultiplier, firstTarget): void { protected applyMoveEffects(target: Pokemon, effectiveness: TypeDamageMultiplier, firstTarget: boolean): void {
const user = this.getUserPokemon(); const user = this.getUserPokemon();
if (isNullOrUndefined(user)) { if (isNullOrUndefined(user)) {
return; return;