diff --git a/src/Faction/ui/AugmentationsPage.tsx b/src/Faction/ui/AugmentationsPage.tsx index 1dbc2f5af..6ba727a25 100644 --- a/src/Faction/ui/AugmentationsPage.tsx +++ b/src/Faction/ui/AugmentationsPage.tsx @@ -1,5 +1,5 @@ import React, { useState, useMemo } from "react"; -import { Box, Button, Tooltip, Typography, Paper, Container, TextField } from "@mui/material"; +import { Box, Button, Typography, Paper, Container, TextField } from "@mui/material"; import SearchIcon from "@mui/icons-material/Search"; import { Augmentations } from "../../Augmentation/Augmentations"; @@ -141,48 +141,46 @@ export function AugmentationsPage({ faction }: { faction: Faction }): React.Reac ); const owned = augs.filter((aug) => !purchasable.includes(aug)); - const multiplierComponent = - faction.name !== FactionName.ShadowsOfAnarchy ? ( - - The price of every Augmentation increases for every queued Augmentation and it is reset when you install - them. - - } - > - - Price multiplier: x {formatBigNumber(getGenericAugmentationPriceMultiplier())} - - - ) : ( - - This price multiplier increases for each {FactionName.ShadowsOfAnarchy} augmentation already purchased. The - multiplier is NOT reset when installing augmentations. - - } - > - - Price multiplier: x{" "} - {formatBigNumber( - Math.pow( - CONSTANTS.SoACostMult, - augs.filter((augmentationName) => Player.hasAugmentation(augmentationName)).length, - ), - )} -
- Reputation multiplier: x{" "} - {formatBigNumber( - Math.pow( - CONSTANTS.SoARepMult, - augs.filter((augmentationName) => Player.hasAugmentation(augmentationName)).length, - ), - )} -
-
+ let multiplierDescription; + let multiplierComponent; + if (faction.name !== FactionName.ShadowsOfAnarchy) { + multiplierDescription = ( + + The price of every Augmentation increases for every queued Augmentation and it is reset when you install them. + ); + multiplierComponent = ( + + Price multiplier: x {formatBigNumber(getGenericAugmentationPriceMultiplier())} + + ); + } else { + multiplierDescription = ( + + This price multiplier increases for each {FactionName.ShadowsOfAnarchy} augmentation already purchased. The + multiplier is NOT reset when installing augmentations. + + ); + multiplierComponent = ( + + Price multiplier: x{" "} + {formatBigNumber( + Math.pow( + CONSTANTS.SoACostMult, + augs.filter((augmentationName) => Player.hasAugmentation(augmentationName)).length, + ), + )} +
+ Reputation multiplier: x{" "} + {formatBigNumber( + Math.pow( + CONSTANTS.SoARepMult, + augs.filter((augmentationName) => Player.hasAugmentation(augmentationName)).length, + ), + )} +
+ ); + } return ( <> @@ -193,8 +191,9 @@ export function AugmentationsPage({ faction }: { faction: Faction }): React.Reac These are all of the Augmentations that are available to purchase from {faction.name}. Augmentations are powerful upgrades that will enhance your abilities. -
+
+ {multiplierDescription}