profectus-docs/assets/api_game_modifiers_functions_createExponentialModifier.md.BWFnhevx.js

1 line
2.4 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 a,c as t,a0 as o,o as r}from"./chunks/framework.P9qPzDnn.js";const m=JSON.parse('{"title":"Function: createExponentialModifier()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/modifiers/functions/createExponentialModifier.md","filePath":"api/game/modifiers/functions/createExponentialModifier.md","lastUpdated":null}'),i={name:"api/game/modifiers/functions/createExponentialModifier.md"};function n(s,e,c,d,p,l){return r(),t("div",null,e[0]||(e[0]=[o('<p><a href="./../../../">Profectus</a> / <a href="./../">game/modifiers</a> / createExponentialModifier</p><h1 id="function-createexponentialmodifier" tabindex="-1">Function: createExponentialModifier() <a class="header-anchor" href="#function-createexponentialmodifier" aria-label="Permalink to &quot;Function: createExponentialModifier()&quot;"></a></h1><blockquote><p><strong>createExponentialModifier</strong>&lt;<code>T</code>, <code>S</code>&gt;(<code>optionsFunc</code>): <code>S</code></p></blockquote><p>Create a modifier that raises the input value to the power of some value.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/ExponentialModifierOptions"><code>ExponentialModifierOptions</code></a></p><p>• <strong>S</strong> = <a href="./../type-aliases/OperationModifier"><code>OperationModifier</code></a>&lt;<code>T</code>&gt;</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to &quot;optionsFunc&quot;"></a></h3><p>() =&gt; <code>T</code></p><p>Exponential modifier options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>S</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/modifiers.tsx#L174" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:174</a></p>',15)]))}const u=a(i,[["render",n]]);export{m as __pageData,u as default};