1 line
5 KiB
JavaScript
1 line
5 KiB
JavaScript
import{_ as r,c as a,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Interface: ExponentialModifierOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/modifiers/interfaces/ExponentialModifierOptions.md","filePath":"api/game/modifiers/interfaces/ExponentialModifierOptions.md","lastUpdated":null}'),i={name:"api/game/modifiers/interfaces/ExponentialModifierOptions.md"};function n(s,e,d,l,c,p){return o(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">game/modifiers</a> / ExponentialModifierOptions</p><h1 id="interface-exponentialmodifieroptions" tabindex="-1">Interface: ExponentialModifierOptions <a class="header-anchor" href="#interface-exponentialmodifieroptions" aria-label="Permalink to "Interface: ExponentialModifierOptions""></a></h1><p>An object that configures an exponential modifier via <a href="./../functions/createExponentialModifier">createExponentialModifier</a>.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to "Properties""></a></h2><h3 id="description" tabindex="-1">description? <a class="header-anchor" href="#description" aria-label="Permalink to "description?""></a></h3><blockquote><p><code>optional</code> <strong>description</strong>: <a href="./../../../util/computed/type-aliases/MaybeGetter"><code>MaybeGetter</code></a><<a href="./../../../util/vue/type-aliases/Renderable"><code>Renderable</code></a>></p></blockquote><p>Description of what this modifier is doing.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L161" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:161</a></p><hr><h3 id="enabled" tabindex="-1">enabled? <a class="header-anchor" href="#enabled" aria-label="Permalink to "enabled?""></a></h3><blockquote><p><code>optional</code> <strong>enabled</strong>: <a href="https://vuejs.org/api/utility-types.html#maybereforgetter" target="_blank" rel="noreferrer"><code>MaybeRefOrGetter</code></a><<code>boolean</code>></p></blockquote><p>A MaybeRefOrGetter that will be processed and passed directly into the returned modifier.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L163" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:163</a></p><hr><h3 id="exponent" tabindex="-1">exponent <a class="header-anchor" href="#exponent" aria-label="Permalink to "exponent""></a></h3><blockquote><p><strong>exponent</strong>: <a href="https://vuejs.org/api/utility-types.html#maybereforgetter" target="_blank" rel="noreferrer"><code>MaybeRefOrGetter</code></a><<a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>></p></blockquote><p>The amount to raise the input value to the power of.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L159" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:159</a></p><hr><h3 id="smallerisbetter" tabindex="-1">smallerIsBetter? <a class="header-anchor" href="#smallerisbetter" aria-label="Permalink to "smallerIsBetter?""></a></h3><blockquote><p><code>optional</code> <strong>smallerIsBetter</strong>: <code>boolean</code></p></blockquote><p>Determines if numbers larger or smaller than 1 should be displayed as red.</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L167" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:167</a></p><hr><h3 id="supportlownumbers" tabindex="-1">supportLowNumbers? <a class="header-anchor" href="#supportlownumbers" aria-label="Permalink to "supportLowNumbers?""></a></h3><blockquote><p><code>optional</code> <strong>supportLowNumbers</strong>: <code>boolean</code></p></blockquote><p>Add 1 before calculating, then remove it afterwards. This prevents low numbers from becoming lower.</p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L165" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:165</a></p>',33)]))}const m=r(i,[["render",n]]);export{h as __pageData,m as default};
|