mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
Consistently respect SF5 BN mult unlock
This commit is contained in:
parent
e3e77ea2cc
commit
3d296e2bf0
@ -8,6 +8,7 @@ import { Player } from "../../Player";
|
|||||||
import { numeralWrapper } from "../../ui/numeralFormat";
|
import { numeralWrapper } from "../../ui/numeralFormat";
|
||||||
import { Augmentations } from "../Augmentations";
|
import { Augmentations } from "../Augmentations";
|
||||||
import { DoubleArrow } from "@mui/icons-material";
|
import { DoubleArrow } from "@mui/icons-material";
|
||||||
|
import { SourceFileFlags } from "../../SourceFile/SourceFileFlags";
|
||||||
import { Settings } from "../../Settings/Settings";
|
import { Settings } from "../../Settings/Settings";
|
||||||
|
|
||||||
function calculateAugmentedStats(): any {
|
function calculateAugmentedStats(): any {
|
||||||
@ -29,7 +30,7 @@ interface BitNodeModifiedStatsProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function BitNodeModifiedStats(props: BitNodeModifiedStatsProps): React.ReactElement {
|
function BitNodeModifiedStats(props: BitNodeModifiedStatsProps): React.ReactElement {
|
||||||
if (props.mult === 1)
|
if (props.mult === 1 || SourceFileFlags[5] === 0)
|
||||||
return <Typography color={props.color}>{numeralWrapper.formatPercentage(props.base)}</Typography>;
|
return <Typography color={props.color}>{numeralWrapper.formatPercentage(props.base)}</Typography>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -348,23 +348,25 @@ export function CharacterStats(): React.ReactElement {
|
|||||||
<Paper sx={{ p: 1 }}>
|
<Paper sx={{ p: 1 }}>
|
||||||
<Typography variant="h5" color="primary" sx={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
|
<Typography variant="h5" color="primary" sx={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
|
||||||
Multipliers
|
Multipliers
|
||||||
<Tooltip
|
{SourceFileFlags[5] > 0 && (
|
||||||
title={
|
<Tooltip
|
||||||
<Typography>
|
title={
|
||||||
Displays your current multipliers.
|
<Typography>
|
||||||
<br />
|
Displays your current multipliers.
|
||||||
<br />
|
<br />
|
||||||
When there is a dim number next to a multiplier, that means that the multiplier in question is being
|
<br />
|
||||||
affected by BitNode multipliers.
|
When there is a dim number next to a multiplier, that means that the multiplier in question is being
|
||||||
<br />
|
affected by BitNode multipliers.
|
||||||
<br />
|
<br />
|
||||||
The dim number is the raw multiplier, and the undimmed number is the effective multiplier, as dictated
|
<br />
|
||||||
by the BitNode.
|
The dim number is the raw multiplier, and the undimmed number is the effective multiplier, as
|
||||||
</Typography>
|
dictated by the BitNode.
|
||||||
}
|
</Typography>
|
||||||
>
|
}
|
||||||
<Info sx={{ ml: 1, mb: 0.5 }} color="info" />
|
>
|
||||||
</Tooltip>
|
<Info sx={{ ml: 1, mb: 0.5 }} color="info" />
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Box sx={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: 1 }}>
|
<Box sx={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: 1 }}>
|
||||||
<Box>
|
<Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user