import{_ase,cast,o,Nasa}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: game/modifiers","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/modifiers.md","lastUpdated":null}'),i={name:"api/modules/game/modifiers.md"},d=a('<h1id="module-game-modifiers"tabindex="-1">Module:game/modifiers<aclass="header-anchor"href="#module-game-modifiers"aria-label="Permalink to "Module: game/modifiers""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="additivemodifieroptions"tabindex="-1">AdditiveModifierOptions<aclass="header-anchor"href="#additivemodifieroptions"aria-label="Permalinkto"AdditiveModifierOptions""></a></h3><p>•<strong>AdditiveModifierOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresanadditivemodifiervia<ahref="./modifiers#createadditivemodifier">createAdditiveModifier</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>addend</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a>></td><tdstyle="text-align:left;">Theamounttoaddtotheinputvalue.</td></tr><tr><tdstyle="text-align:left;"><code>description?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./../features/feature#coercablecomponent"><code>CoercableComponent</code></a>></td><tdstyle="text-align:left;">Descriptionofwhatthismodifierisdoing.</td></tr><tr><tdstyle="text-align:left;"><code>enabled?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>boolean</code>></td><tdstyle="text-align:left;">Acomputablethatwillbeprocessedandpasseddirectlyintothereturnedmodifier.</td></tr><tr><tdstyle="text-align:left;"><code>smallerIsBetter?</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">Determinesifnumberslargerorsmallerthan0shouldbedisplayedasred.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/game/modifiers.tsx#L53"target="_blank"rel="noreferrer">profectus/src/game/modifiers.tsx:53</a></p><hr><h3id="exponentialmodifieroptions"tabindex="-1">ExponentialModifierOptions<aclass="header-anchor"href="#exponentialmodifieroptions"aria-label="Permalinkto"ExponentialModifierOptions""></a></h3><p>•<strong>ExponentialModifierOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresanexponentialmodifiervia<ahref="./modifiers#createexponentialmodifier">createExponentialModifier</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>description?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./../features/feature#coercablecomponent"><code>CoercableComponent</code></a>></td><tdstyle="text-align:left;">Descriptionofwhatthismodifierisdoing.</td></tr><tr><tdstyle="text-align:left;"><code>enabled?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<code>boolean</code>></td><tdstyle="text-align:left;">Acomputablethatwillbeprocessedandpasseddirectlyintothereturnedmodifier.</td></tr><tr><tdstyle="text-align:left;"><code>exponent</code></td><tdstyle="text-align:left;"><ahref="./..