2 lines
87 KiB
JavaScript
2 lines
87 KiB
JavaScript
|
import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: game/formulas/operations","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/formulas/operations.md","lastUpdated":null}'),o={name:"api/modules/game/formulas/operations.md"},l=r('<h1 id="module-game-formulas-operations" tabindex="-1">Module: game/formulas/operations <a class="header-anchor" href="#module-game-formulas-operations" aria-label="Permalink to "Module: game/formulas/operations""></a></h1><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to "Functions""></a></h2><h3 id="applysubstitutiondiv" tabindex="-1">applySubstitutionDiv <a class="header-anchor" href="#applysubstitutiondiv" aria-label="Permalink to "applySubstitutionDiv""></a></h3><p>▸ <strong>applySubstitutionDiv</strong>(<code>value</code>, <code>lhs</code>, <code>rhs</code>): <a href="./types#genericformula"><code>GenericFormula</code></a></p><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>lhs</code></td><td style="text-align:left;"><a href="./types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>rhs</code></td><td style="text-align:left;"><a href="./types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><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://github.com/profectus-engine/Profectus/blob/ba67ff4/src/game/formulas/operations.ts#L152" target="_blank" rel="noreferrer">profectus/src/game/formulas/operations.ts:152</a></p><hr><h3 id="applysubstitutionmul" tabindex="-1">applySubstitutionMul <a class="header-anchor" href="#applysubstitutionmul" aria-label="Permalink to "applySubstitutionMul""></a></h3><p>▸ <strong>applySubstitutionMul</strong>(<code>value</code>, <code>lhs</code>, <code>rhs</code>): <a href="./types#genericformula"><code>GenericFormula</code></a></p><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./types#genericformula"><code>GenericFormula</code></a></td></tr><tr><td style="text-align:left;"><code>lhs</code></td><td style="text-align:left;"><a href="./types#formulasource"><code>FormulaSource</code></a></td></tr><tr><td style="text-align:left;"><code>rhs</code></td><td style="text-align:left;"><a href="./types#formulasource"><code>FormulaSource</code></a></td></tr></tbody></table><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://github.com/profectus-engine/Profectus/blob/ba67ff4/src/game/formulas/operations.ts#L119" target="_blank" rel="noreferrer">profectus/src/game/formulas/operations.ts:119</a></p><hr><h3 id="applysubstitutionneg" tabindex="-1">applySubstitutionNeg <a class="header-anchor" href="#applysubstitutionneg" aria-label="Permalink to "applySubstitutionNeg""></a></h3><p>▸ <strong>applySubstitutionNeg</strong>(<code>value</code>): <a href="./types#genericformula"><code>GenericFormula</code></a></p><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>value</code></td><td style="text-align:left;"><a href="./types#genericformula"><code>GenericFormula</code></a></td></tr></tbody></table><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to "Defined in""><
|