mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-08 01:12:17 +02:00
RageTag now displays message onAdd
This commit is contained in:
parent
9e018f4fe4
commit
3407d1100e
@ -209,6 +209,12 @@ export class RageTag extends BattlerTag {
|
||||
constructor() {
|
||||
super(BattlerTagType.RAGE,[BattlerTagLapseType.MOVE_EFFECT],1,Moves.RAGE);
|
||||
}
|
||||
onAdd(pokemon: Pokemon) {
|
||||
super.onAdd(pokemon);
|
||||
/* This message might not exist on cartridge */
|
||||
pokemon.scene.queueMessage(i18next.t("battlerTags:rageOnAdd", {
|
||||
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon)}));
|
||||
}
|
||||
|
||||
lapse(pokemon: Pokemon, lapseType: BattlerTagLapseType): boolean {
|
||||
if (lapseType === BattlerTagLapseType.MOVE_EFFECT) {
|
||||
|
@ -70,5 +70,6 @@ export const battlerTags: SimpleTranslationEntries = {
|
||||
"cursedOnAdd": "{{pokemonNameWithAffix}} cut its own HP and put a curse on the {{pokemonName}}!",
|
||||
"cursedLapse": "{{pokemonNameWithAffix}} is afflicted by the Curse!",
|
||||
"stockpilingOnAdd": "{{pokemonNameWithAffix}} stockpiled {{stockpiledCount}}!",
|
||||
"rageOnAdd":"{{pokemonNameWithAffix}}'s rage is starting to build",
|
||||
"rageOnHit": "{{pokemonNameWithAffix}}'s rage is building"
|
||||
} as const;
|
||||
|
Loading…
Reference in New Issue
Block a user