mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Apply LUCK_VALUE TextStyle
This commit is contained in:
parent
a66fb7988e
commit
1b25f962ac
@ -864,7 +864,7 @@ export default class SummaryUiHandler extends UiHandler {
|
|||||||
141 + luckLabelText.displayWidth + 2,
|
141 + luckLabelText.displayWidth + 2,
|
||||||
28,
|
28,
|
||||||
this.pokemon.getLuck().toString(),
|
this.pokemon.getLuck().toString(),
|
||||||
TextStyle.SUMMARY,
|
TextStyle.LUCK_VALUE,
|
||||||
);
|
);
|
||||||
luckText.setOrigin(0, 0);
|
luckText.setOrigin(0, 0);
|
||||||
luckText.setTint(getVariantTint(Math.min(this.pokemon.getLuck() - 1, 2) as Variant));
|
luckText.setTint(getVariantTint(Math.min(this.pokemon.getLuck() - 1, 2) as Variant));
|
||||||
|
Loading…
Reference in New Issue
Block a user