Fix SF3 listed with a limit level of infinity

This commit is contained in:
Olivier Gagnon 2021-03-07 04:42:48 -05:00
parent 4145ddad39
commit c8377c0bb3
2 changed files with 5 additions and 5 deletions

@ -6,7 +6,7 @@
import { IMap } from "./types"; import { IMap } from "./types";
export let CONSTANTS: IMap<any> = { export let CONSTANTS: IMap<any> = {
Version: "0.47.3", Version: "0.48.0",
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience /** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
* and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then * and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
@ -228,11 +228,11 @@ export let CONSTANTS: IMap<any> = {
LatestUpdate: LatestUpdate:
` `
v0.47.3 v0.48.0
------- -------
Misc. Misc.
* missing ram cost in many function now added to documentation * Fixed an issue where SF3 was listed as infinitly repeatable and SF12 as
* typos having a limit of 3.
` `
} }

@ -16,7 +16,7 @@ type IProps = {
} }
export function SourceFileAccordion(props: IProps): React.ReactElement { export function SourceFileAccordion(props: IProps): React.ReactElement {
const maxLevel = props.sf.n === 3 ? "∞" : "3"; const maxLevel = props.sf.n === 12 ? "∞" : "3";
return ( return (
<Accordion <Accordion