Fix improper i18nkey in moveEffectPhase#applyToTargets

This commit is contained in:
Sirz Benjie 2025-04-17 16:52:20 -05:00
parent 97ed62d5d7
commit 3897d5d17d
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -219,7 +219,7 @@ export class MoveEffectPhase extends PokemonPhase {
case HitCheckResult.NO_EFFECT:
globalScene.queueMessage(
i18next.t(this.move.id === Moves.SHEER_COLD ? "battle:hitResultImmune" : "battle:hitResultNoEffect", {
pokemonNameWithAffix: getPokemonNameWithAffix(target),
pokemonName: getPokemonNameWithAffix(target),
}),
);
case HitCheckResult.NO_EFFECT_NO_MESSAGE: