Changed icon names, added bad berry juice, fixed locales

This commit is contained in:
Wlowscha 2025-06-21 11:25:08 +02:00
parent 23932b1bd9
commit f955a55493
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
3 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 327 B

View File

@ -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[] {