mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-13 05:15:17 +00:00
Fix logic error in nature stat effect text
This commit is contained in:
parent
06020bee14
commit
52e3c6b730
@ -40,7 +40,7 @@ export function getNatureName(nature: Nature, includeStatEffects: boolean = fals
|
|||||||
const multiplier = getNatureStatMultiplier(nature, stat);
|
const multiplier = getNatureStatMultiplier(nature, stat);
|
||||||
if (multiplier > 1)
|
if (multiplier > 1)
|
||||||
increasedStat = stat;
|
increasedStat = stat;
|
||||||
else
|
else if (multiplier < 1)
|
||||||
decreasedStat = stat;
|
decreasedStat = stat;
|
||||||
}
|
}
|
||||||
const textStyle = forStarterSelect ? TextStyle.SUMMARY : TextStyle.WINDOW;
|
const textStyle = forStarterSelect ? TextStyle.SUMMARY : TextStyle.WINDOW;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user