From c2424bc3f02c3a9625bf270042f072400731eff2 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Wed, 2 Oct 2024 08:40:36 -0700 Subject: [PATCH] fix `EnemyAttackStatusEffectChanceModifier.apply` types --- src/modifier/modifier.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 6acc4eaf463..9c55c27ea23 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -3435,10 +3435,10 @@ export class EnemyAttackStatusEffectChanceModifier extends EnemyPersistentModifi /** * Applies {@linkcode EnemyAttackStatusEffectChanceModifier} - * @param enemyPokemon {@linkcode EnemyPokemon} to apply the status effect to - * @returns `true` if the {@linkcode EnemyPokemon} was affected + * @param enemyPokemon {@linkcode Pokemon} to apply the status effect to + * @returns `true` if the {@linkcode Pokemon} was affected */ - override apply(enemyPokemon: EnemyPokemon): boolean { + override apply(enemyPokemon: Pokemon): boolean { if (Phaser.Math.RND.realInRange(0, 1) < (this.chance * this.getStackCount())) { return enemyPokemon.trySetStatus(this.effect, true); }