From Dark and Darker Wiki

m (example)
m (desmos hates wikis ig)
Line 430: Line 430:
<pre>M_{agicalInteractionSpeed}(W_{ill})=\left\{0 \le W_{ill}<15:-0.75+0.05\left|W_{ill}-0\right|,15 \le W_{ill}<25:0+0.07\left|W_{ill}-15\right|,25 \le W_{ill}<35:0.7+0.05\left|W_{ill}-25\right|,35 \le W_{ill}<84:1.2+0.02\left|W_{ill}-35\right|,84 \le W_{ill}<85:2.18+0.01\left|W_{ill}-84\right|,85 \le W_{ill}<86:2.19+0.03\left|W_{ill}-85\right|,86 \le W_{ill}<100:2.22+0.02\left|W_{ill}-86\right|\right\}</pre>
<pre>M_{agicalInteractionSpeed}(W_{ill})=\left\{0 \le W_{ill}<15:-0.75+0.05\left|W_{ill}-0\right|,15 \le W_{ill}<25:0+0.07\left|W_{ill}-15\right|,25 \le W_{ill}<35:0.7+0.05\left|W_{ill}-25\right|,35 \le W_{ill}<84:1.2+0.02\left|W_{ill}-35\right|,84 \le W_{ill}<85:2.18+0.01\left|W_{ill}-84\right|,85 \le W_{ill}<86:2.19+0.03\left|W_{ill}-85\right|,86 \le W_{ill}<100:2.22+0.02\left|W_{ill}-86\right|\right\}</pre>
|#default=Could not find stat in Template:Stats_Data}}
|#default=Could not find stat in Template:Stats_Data}}
You may need to paste it elsewhere first, like notepad or browser, re-copy the text, and then paste into Desmos.
See [https://www.desmos.com/calculator/xbytbfm1uh Example] for how to use.
See [https://www.desmos.com/calculator/xbytbfm1uh Example] for how to use.
</div>
</div>

Revision as of 03:38, 6 February 2024


Example

{{Stats_Data|actionspeed}}

Agility and Dexterity governs your Action Speed.

Agility has 25% scaling, and Dexterity has 75% scaling, which then get combined into a Sum and translated into ActionSpeed.

Sum = Agility * 0.25 + Dexterity * 0.75


0 Sum starts at -38% Action Speed.

  • 0 -> -38%
  • 0 to 10 = 3% each, up to -8%
  • 10 to 13 = 2% each, up to -2%
  • 13 to 25 = 1% each, up to 10%
  • 25 to 41 = 1.5% each, up to 34%
  • 41 to 50 = 1% each, up to 43%
  • 50 to 100 = 0.5% each, up to 68%

LaTeX Formula

Can be pasted into Desmos or other LaTeX editors for quick use of the equation.

Triple click to select all.

A_{ctionSpeed}(S_{um})=\left\{0 \le S_{um}<10:-0.38+0.03\left|S_{um}-0\right|,10 \le S_{um}<13:-0.08+0.02\left|S_{um}-10\right|,13 \le S_{um}<25:-0.02+0.01\left|S_{um}-13\right|,25 \le S_{um}<41:0.1+0.015\left|S_{um}-25\right|,41 \le S_{um}<50:0.34+0.01\left|S_{um}-41\right|,50 \le S_{um}<100:0.43+0.005\left|S_{um}-50\right|\right\}

You may need to paste it elsewhere first, like notepad or browser, re-copy the text, and then paste into Desmos. See Example for how to use.