mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Changed icon names, added bad berry juice, fixed locales
This commit is contained in:
parent
23932b1bd9
commit
f955a55493
BIN
public/images/items/berry_juice_bad.png
Normal file
BIN
public/images/items/berry_juice_bad.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 327 B |
@ -972,9 +972,9 @@ export class PokemonBaseStatTotalModifierType
|
|||||||
constructor(good: boolean) {
|
constructor(good: boolean) {
|
||||||
super(
|
super(
|
||||||
good
|
good
|
||||||
? "modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_GOOD"
|
? "modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_GOOD.name"
|
||||||
: "modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_BAD",
|
: "modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_BAD.name",
|
||||||
good ? "good_berry_juice" : "bad_berry_juice",
|
good ? "berry_juice_good" : "berry_juice_bad",
|
||||||
(_type, args) => new PokemonBaseStatTotalModifier(this, (args[0] as Pokemon).id, this.good),
|
(_type, args) => new PokemonBaseStatTotalModifier(this, (args[0] as Pokemon).id, this.good),
|
||||||
);
|
);
|
||||||
this.good = good;
|
this.good = good;
|
||||||
@ -982,8 +982,8 @@ export class PokemonBaseStatTotalModifierType
|
|||||||
|
|
||||||
override getDescription(): string {
|
override getDescription(): string {
|
||||||
return this.good
|
return this.good
|
||||||
? i18next.t("modifierType:ModifierType.PokemonBaseStatTotalModifierType.description.good")
|
? i18next.t("modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_GOOD.description")
|
||||||
: i18next.t("modifierType:ModifierType.PokemonBaseStatTotalModifierType.description.bad");
|
: i18next.t("modifierType:ModifierType.MYSTERY_ENCOUNTER_SHUCKLE_JUICE_BAD.description");
|
||||||
}
|
}
|
||||||
|
|
||||||
public getPregenArgs(): any[] {
|
public getPregenArgs(): any[] {
|
||||||
|
Loading…
Reference in New Issue
Block a user