diff --git a/src/ui/CharacterStats.tsx b/src/ui/CharacterStats.tsx index c14bdfb69..a13ff9ba4 100644 --- a/src/ui/CharacterStats.tsx +++ b/src/ui/CharacterStats.tsx @@ -37,8 +37,22 @@ const EmployersModal = ({ open, onClose }: EmployersModalProps): React.ReactElem ); }; +interface IMultRow { + // The name of the multiplier + mult: string; + + // The player's raw multiplier value + value: number; + + // The player's effective multiplier value, affected by BitNode mults + effValue?: number; + + // The text color for the row + color?: string; +} + interface MultTableProps { - rows: (string | number)[][]; + rows: IMultRow[]; color: string; noMargin?: boolean; } @@ -49,29 +63,22 @@ function MultiplierTable(props: MultTableProps): React.ReactElement {