[Localization] Update menu.ts with "attackFailed" translation (#2547)
* Update menu.ts with new translation and choosePokemon option * revert ptbr * fix * minor fix
This commit is contained in:
parent
b5ffb9aae3
commit
fd7e547750
|
@ -3991,7 +3991,7 @@ export class CurseAttr extends MoveEffectAttr {
|
||||||
apply(user: Pokemon, target: Pokemon, move:Move, args: any[]): boolean {
|
apply(user: Pokemon, target: Pokemon, move:Move, args: any[]): boolean {
|
||||||
if (user.getTypes(true).includes(Type.GHOST)) {
|
if (user.getTypes(true).includes(Type.GHOST)) {
|
||||||
if (target.getTag(BattlerTagType.CURSED)) {
|
if (target.getTag(BattlerTagType.CURSED)) {
|
||||||
user.scene.queueMessage("But it failed!");
|
user.scene.queueMessage(i18next.t("battle:attackFailed"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const curseRecoilDamage = Math.max(1, Math.floor(user.getMaxHp() / 2));
|
const curseRecoilDamage = Math.max(1, Math.floor(user.getMaxHp() / 2));
|
||||||
|
@ -4448,7 +4448,7 @@ export class RevivalBlessingAttr extends MoveEffectAttr {
|
||||||
}
|
}
|
||||||
resolve(true);
|
resolve(true);
|
||||||
} else {
|
} else {
|
||||||
user.scene.queueMessage("But it failed!");
|
user.scene.queueMessage(i18next.t("battle:attackFailed"));
|
||||||
resolve(false);
|
resolve(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue