Fix missing key in "No Effect" message (#4244)

This commit is contained in:
innerthunder 2024-09-14 05:21:31 -07:00 committed by GitHub
parent 783b9d85ee
commit a7b3344c6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2615,7 +2615,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
if (result === HitResult.IMMUNE) {
this.scene.queueMessage(i18next.t("battle:hitResultImmune", { pokemonName: getPokemonNameWithAffix(this) }));
} else {
this.scene.queueMessage(i18next.t("battle:hitResultNoEffect"));
this.scene.queueMessage(i18next.t("battle:hitResultNoEffect", { pokemonName: getPokemonNameWithAffix(this) }));
}
}
return result;