Fix logic error in nature stat effect text
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…
Reference in New Issue