fix wrong message key of curse(ghost type) (#3631)
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
This commit is contained in:
parent
a97803b99b
commit
1db26dab96
|
@ -4441,7 +4441,7 @@ export class CurseAttr extends MoveEffectAttr {
|
|||
const curseRecoilDamage = Math.max(1, Math.floor(user.getMaxHp() / 2));
|
||||
user.damageAndUpdate(curseRecoilDamage, HitResult.OTHER, false, true, true);
|
||||
user.scene.queueMessage(
|
||||
i18next.t("battle:cursedOnAdd", {
|
||||
i18next.t("battlerTags:cursedOnAdd", {
|
||||
pokemonNameWithAffix: getPokemonNameWithAffix(user),
|
||||
pokemonName: getPokemonNameWithAffix(target)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue