From Dark and Darker Wiki

No edit summary
No edit summary
Line 4: Line 4:
Can be pasted into [https://www.desmos.com/calculator Desmos] or other LaTeX editors for quick use of the graph.  
Can be pasted into [https://www.desmos.com/calculator Desmos] or other LaTeX editors for quick use of the graph.  


Double click to select all.
Triple click to select all.
<pre>M_{agicalDamageReduction}(M_{agicResistance})=\left\{-300 \le M_{agicResistance}<-15:-5.95+0.02\left|M_{agicResistance}--300\right|,-15 \le M_{agicResistance}<10:-0.25+0.01\left|M_{agicResistance}--15\right|,10 \le M_{agicResistance}<19:0+0.005\left|M_{agicResistance}-10\right|,19 \le M_{agicResistance}<30:0.045+0.004\left|M_{agicResistance}-19\right|,30 \le M_{agicResistance}<40:0.089+0.003\left|M_{agicResistance}-30\right|,40 \le M_{agicResistance}<50:0.119+0.002\left|M_{agicResistance}-40\right|,50 \le M_{agicResistance}<100:0.139+0.001\left|M_{agicResistance}-50\right|,100 \le M_{agicResistance}<150:0.189+0.002\left|M_{agicResistance}-100\right|,150 \le M_{agicResistance}<250:0.289+0.003\left|M_{agicResistance}-150\right|,250 \le M_{agicResistance}<350:0.589+0.002\left|M_{agicResistance}-250\right|,350 \le M_{agicResistance}<500:0.789+0.001\left|M_{agicResistance}-350\right|\right\}</pre>
<pre>M_{agicalDamageReduction}(M_{agicResistance})=\left\{-300 \le M_{agicResistance}<-15:-5.95+0.02\left|M_{agicResistance}--300\right|,-15 \le M_{agicResistance}<10:-0.25+0.01\left|M_{agicResistance}--15\right|,10 \le M_{agicResistance}<19:0+0.005\left|M_{agicResistance}-10\right|,19 \le M_{agicResistance}<30:0.045+0.004\left|M_{agicResistance}-19\right|,30 \le M_{agicResistance}<40:0.089+0.003\left|M_{agicResistance}-30\right|,40 \le M_{agicResistance}<50:0.119+0.002\left|M_{agicResistance}-40\right|,50 \le M_{agicResistance}<100:0.139+0.001\left|M_{agicResistance}-50\right|,100 \le M_{agicResistance}<150:0.189+0.002\left|M_{agicResistance}-100\right|,150 \le M_{agicResistance}<250:0.289+0.003\left|M_{agicResistance}-150\right|,250 \le M_{agicResistance}<350:0.589+0.002\left|M_{agicResistance}-250\right|,350 \le M_{agicResistance}<500:0.789+0.001\left|M_{agicResistance}-350\right|\right\}</pre>
See [https://www.desmos.com/calculator/gzywuhzv0n Example] for how to use.
See [https://www.desmos.com/calculator/gzywuhzv0n Example] for how to use.
</div>
</div>
</div>
</div>

Revision as of 22:55, 21 January 2024

LaTeX Formula

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

Triple click to select all.

M_{agicalDamageReduction}(M_{agicResistance})=\left\{-300 \le M_{agicResistance}<-15:-5.95+0.02\left|M_{agicResistance}--300\right|,-15 \le M_{agicResistance}<10:-0.25+0.01\left|M_{agicResistance}--15\right|,10 \le M_{agicResistance}<19:0+0.005\left|M_{agicResistance}-10\right|,19 \le M_{agicResistance}<30:0.045+0.004\left|M_{agicResistance}-19\right|,30 \le M_{agicResistance}<40:0.089+0.003\left|M_{agicResistance}-30\right|,40 \le M_{agicResistance}<50:0.119+0.002\left|M_{agicResistance}-40\right|,50 \le M_{agicResistance}<100:0.139+0.001\left|M_{agicResistance}-50\right|,100 \le M_{agicResistance}<150:0.189+0.002\left|M_{agicResistance}-100\right|,150 \le M_{agicResistance}<250:0.289+0.003\left|M_{agicResistance}-150\right|,250 \le M_{agicResistance}<350:0.589+0.002\left|M_{agicResistance}-250\right|,350 \le M_{agicResistance}<500:0.789+0.001\left|M_{agicResistance}-350\right|\right\}

See Example for how to use.