mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
Change theme variable used for entropy color
This commit is contained in:
parent
7c9fc3248f
commit
693ca7baba
@ -53,10 +53,10 @@ interface EntropyDisplayProps {
|
|||||||
const EntropyDisplay = ({ player }: EntropyDisplayProps): React.ReactElement => {
|
const EntropyDisplay = ({ player }: EntropyDisplayProps): React.ReactElement => {
|
||||||
return player.entropy > 0 ? (
|
return player.entropy > 0 ? (
|
||||||
<Paper sx={{ p: 1 }}>
|
<Paper sx={{ p: 1 }}>
|
||||||
<Typography variant="h5" color={Settings.theme.hp}>
|
<Typography variant="h5" color={Settings.theme.error}>
|
||||||
Entropy Virus - Level {player.entropy}
|
Entropy Virus - Level {player.entropy}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography color={Settings.theme.hp}>
|
<Typography color={Settings.theme.error}>
|
||||||
<b>All multipliers decreased by:</b> {formatNumber((1 - CONSTANTS.EntropyEffect ** player.entropy) * 100, 3)}%
|
<b>All multipliers decreased by:</b> {formatNumber((1 - CONSTANTS.EntropyEffect ** player.entropy) * 100, 3)}%
|
||||||
(multiplicative)
|
(multiplicative)
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Loading…
Reference in New Issue
Block a user