profectus-docs/assets/api_interfaces_game_modifiers.ExponentialModifierOptions.md.666c27c3.js

1 line
4.7 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as a,o,N as r}from"./chunks/framework.0799945b.js";const u=JSON.parse('{"title":"Interface: ExponentialModifierOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/game/modifiers.ExponentialModifierOptions.md","lastUpdated":null}'),t={name:"api/interfaces/game/modifiers.ExponentialModifierOptions.md"},i=r('<h1 id="interface-exponentialmodifieroptions" tabindex="-1">Interface: ExponentialModifierOptions <a class="header-anchor" href="#interface-exponentialmodifieroptions" aria-label="Permalink to &quot;Interface: ExponentialModifierOptions&quot;"></a></h1><p><a href="./../../modules/game/modifiers">game/modifiers</a>.ExponentialModifierOptions</p><p>An object that configures an exponential modifier via <a href="./../../modules/game/modifiers#createexponentialmodifier">createExponentialModifier</a>.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="description" tabindex="-1">description <a class="header-anchor" href="#description" aria-label="Permalink to &quot;description&quot;"></a></h3><p>• <code>Optional</code> <strong>description</strong>: <a href="./../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>&gt;</p><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 &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/modifiers.tsx#L174" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:174</a></p><hr><h3 id="enabled" tabindex="-1">enabled <a class="header-anchor" href="#enabled" aria-label="Permalink to &quot;enabled&quot;"></a></h3><p>• <code>Optional</code> <strong>enabled</strong>: <a href="./../../modules/util/computed#computable"><code>Computable</code></a>&lt;<code>boolean</code>&gt;</p><p>A computable 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 &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/modifiers.tsx#L176" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:176</a></p><hr><h3 id="exponent" tabindex="-1">exponent <a class="header-anchor" href="#exponent" aria-label="Permalink to &quot;exponent&quot;"></a></h3><p>• <strong>exponent</strong>: <a href="./../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="./../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</p><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 &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/modifiers.tsx#L172" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:172</a></p><hr><h3 id="smallerisbetter" tabindex="-1">smallerIsBetter <a class="header-anchor" href="#smallerisbetter" aria-label="Permalink to &quot;smallerIsBetter&quot;"></a></h3><p>• <code>Optional</code> <strong>smallerIsBetter</strong>: <code>boolean</code></p><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 &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/modifiers.tsx#L180" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:180</a></p><hr><h3 id="supportlownumbers" tabindex="-1">supportLowNumbers <a class="header-anchor" href="#supportlownumbers" aria-label="Permalink to &quot;supportLowNumbers&quot;"></a></h3><p>• <code>Optional</code> <strong>supportLowNumbers</strong>: <code>boolean</code></p><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 &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/game/modifiers.tsx#L178" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:178</a></p>',33),n=[i];function s(d,l,c,p,f,h){return o(),a("div",null,n)}const b=e(t,[["render",s]]);export{u as __pageData,b as default};