profectus-docs/assets/api_game_modifiers_functions_createMultiplicativeModifier.md.DBA9SLHW.js

1 line
2.5 KiB
JavaScript
Raw Permalink 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 i,c as a,a0 as t,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: createMultiplicativeModifier()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/modifiers/functions/createMultiplicativeModifier.md","filePath":"api/game/modifiers/functions/createMultiplicativeModifier.md","lastUpdated":null}'),o={name:"api/game/modifiers/functions/createMultiplicativeModifier.md"};function c(n,e,s,d,l,p){return r(),a("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">game/modifiers</a> / createMultiplicativeModifier</p><h1 id="function-createmultiplicativemodifier" tabindex="-1">Function: createMultiplicativeModifier() <a class="header-anchor" href="#function-createmultiplicativemodifier" aria-label="Permalink to &quot;Function: createMultiplicativeModifier()&quot;"></a></h1><blockquote><p><strong>createMultiplicativeModifier</strong>&lt;<code>T</code>, <code>S</code>&gt;(<code>optionsFunc</code>): <code>S</code></p></blockquote><p>Create a modifier that multiplies the input value by 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/MultiplicativeModifierOptions"><code>MultiplicativeModifierOptions</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>Multiplicative 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#L116" target="_blank" rel="noreferrer">profectus/src/game/modifiers.tsx:116</a></p>',15)]))}const m=i(o,[["render",c]]);export{u as __pageData,m as default};