import { Sleeve } from "../Sleeve"; import { numeralWrapper } from "../../../ui/numeralFormat"; import { convertTimeMsToTimeElapsedString } from "../../../utils/StringHelperFunctions"; import { CONSTANTS } from "../../../Constants"; import { Typography } from "@mui/material"; import { StatsTable } from "../../../ui/React/StatsTable"; import { Modal } from "../../../ui/React/Modal"; import React from "react"; interface IProps { open: boolean; onClose: () => void; sleeve: Sleeve; } export function MoreStatsModal(props: IProps): React.ReactElement { return ( Hacking: , props.sleeve.skills.hacking, <> ({numeralWrapper.formatExp(props.sleeve.exp.hacking)} exp), ], [ <>Strength: , props.sleeve.skills.strength, <> ({numeralWrapper.formatExp(props.sleeve.exp.strength)} exp), ], [ <>Defense: , props.sleeve.skills.defense, <> ({numeralWrapper.formatExp(props.sleeve.exp.defense)} exp), ], [ <>Dexterity: , props.sleeve.skills.dexterity, <> ({numeralWrapper.formatExp(props.sleeve.exp.dexterity)} exp), ], [ <>Agility: , props.sleeve.skills.agility, <> ({numeralWrapper.formatExp(props.sleeve.exp.agility)} exp), ], [ <>Charisma: , props.sleeve.skills.charisma, <> ({numeralWrapper.formatExp(props.sleeve.exp.charisma)} exp), ], ]} title="Stats:" />
Hacking Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.hacking)], [<>Hacking Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.hacking_exp)], [<>Strength Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.strength)], [ <>Strength Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.strength_exp), ], [<>Defense Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.defense)], [<>Defense Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.defense_exp)], [<>Dexterity Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.dexterity)], [ <>Dexterity Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.dexterity_exp), ], [<>Agility Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.agility)], [<>Agility Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.agility_exp)], [<>Charisma Level multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.charisma)], [ <>Charisma Experience multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.charisma_exp), ], [ <>Faction Reputation Gain multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.faction_rep), ], [ <>Company Reputation Gain multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.company_rep), ], [<>Salary multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.work_money)], [<>Crime Money multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.crime_money)], [<>Crime Success multiplier: , numeralWrapper.formatPercentage(props.sleeve.mults.crime_success)], ]} title="Multipliers:" /> {/* Check for storedCycles to be a bit over 0 to prevent jittering */} {props.sleeve.storedCycles > 10 && ( Bonus Time: {convertTimeMsToTimeElapsedString(props.sleeve.storedCycles * CONSTANTS.MilliPerCycle)} )}
); }