1 line
2.2 KiB
JavaScript
1 line
2.2 KiB
JavaScript
import{_ as a,c as t,a0 as r,o as n}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: maxRequirementsMet()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/maxRequirementsMet.md","filePath":"api/game/requirements/functions/maxRequirementsMet.md","lastUpdated":null}'),i={name:"api/game/requirements/functions/maxRequirementsMet.md"};function s(u,e,m,o,c,l){return n(),t("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">game/requirements</a> / maxRequirementsMet</p><h1 id="function-maxrequirementsmet" tabindex="-1">Function: maxRequirementsMet() <a class="header-anchor" href="#function-maxrequirementsmet" aria-label="Permalink to "Function: maxRequirementsMet()""></a></h1><blockquote><p><strong>maxRequirementsMet</strong>(<code>requirements</code>): <a href="./../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a></p></blockquote><p>Calculates the maximum number of levels that could be acquired with the current requirement states. True/false requirements will be counted as Infinity or 0.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="requirements" tabindex="-1">requirements <a class="header-anchor" href="#requirements" aria-label="Permalink to "requirements""></a></h3><p><a href="./../type-aliases/Requirements"><code>Requirements</code></a></p><p>The 1+ requirements to check</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><a href="./../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/requirements.tsx#L296" target="_blank" rel="noreferrer">profectus/src/game/requirements.tsx:296</a></p>',12)]))}const q=a(i,[["render",s]]);export{h as __pageData,q as default};
|