IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate (#1176)

* IPVGO: Balance: Reduce base bonuses, increase SF 14.1 to compensate

* Fix ts doc format

* Do not show "No AI" opponent in stat summary page
This commit is contained in:
Michael Ficocelli
2024-03-20 17:12:35 -04:00
committed by GitHub
parent dd4b54406c
commit 6b9f9ef7fa
6 changed files with 24 additions and 17 deletions
+3 -1
View File
@@ -9,12 +9,14 @@ import { useRerender } from "../../ui/React/hooks";
import { getBonusText } from "../effects/effect";
import { GoScoreSummaryTable } from "./GoScoreSummaryTable";
import { getRecordKeys } from "../../Types/Record";
import { GoOpponent } from "@enums";
export const GoStatusPage = (): React.ReactElement => {
useRerender(400);
const classes = boardStyles();
const score = getScore(Go.currentGame);
const opponent = Go.currentGame.ai;
const playedOpponentList = getRecordKeys(Go.stats).filter((o) => o !== GoOpponent.none);
return (
<div>
@@ -49,7 +51,7 @@ export const GoStatusPage = (): React.ReactElement => {
<strong>Effect:</strong>
</TableCell>
</TableRow>
{getRecordKeys(Go.stats).map((faction, index) => {
{playedOpponentList.map((faction, index) => {
return (
<TableRow key={index}>
<TableCell className={classes.cellNone}>