Template:Stat total: Difference between revisions
Jump to navigation
Jump to search
>Illviljan (Created page with "{| align=right |{{math|formula= \begin{align} a & \text{ the total amount of additional {{{stat}}} } & a & \in \mathbb{N}_{0} \\ b & \text{ the total amount of increased {{{st...") |
>OmegaK2 No edit summary |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
The total {{{1|stat}}} value can be calculated as the sum of any added {{{1|stat}}}, multiplied by the sum of all increases and reductions to {{{1|stat}}}, multiplied by all more and less {{{1|stat}}} modifiers. | |||
{| align=right | {| align=right | ||
|{{math|formula= | |{{math|formula= | ||
\begin{align} | \begin{align} | ||
a & \text{ the total amount of | a & \text{ the total amount of added {{{1|stats}}} } & a & \in \mathbb{N}_{0} \\ | ||
b & \text{ the total amount of increased {{{ | b & \text{ the total amount of increased {{{1|stats}}} } & b & \in \mathbb{N}_{0} \\ | ||
c & \text{ the total amount of reduced {{{ | c & \text{ the total amount of reduced {{{1|stats}}} } & c & \in \mathbb{N}_{0} \\ | ||
d & \text{ the total amount of more {{{ | d & \text{ the total amount of more {{{1|stats}}} } & d & \in \mathbb{N}_{0} \\ | ||
e & \text{ the total amount of less {{{ | e & \text{ the total amount of less {{{1|stats}}} } & e & \in \mathbb{N}_{0} \\ | ||
\end{align} | \end{align} | ||
}} | }} | ||
|} | |} | ||
{{math|formula= | {{math|formula= | ||
\begin{align} | \begin{align} | ||
\text{ | \text{{{{1|stat}}}}_{total} = & \sum_{i=1}^{a} \text{added {{{1|stat}}}}_{i} \times \\ | ||
& \left( 1 + \sum_{j= | & \left( 1 + \sum_{j=1}^{b} \text{increased {{{1|stat}}}}_{j} - \sum_{k=1}^{c} \text{reduced {{{1|stat}}}}_{k} \right) \times \\ | ||
& \prod_{l= | & \prod_{l=1}^{d} (1 + \text{more {{{1|stat}}}}_{l}) \times \prod_{m=1}^{e} (1 - \text{less {{{1|stat}}}}_{m}) | ||
\end{align} | \end{align} | ||
}} | }} | ||
:''For more information about the [[wikipedia:List_of_mathematical_symbols|symbols]], see [[wikipedia:Summation#Capital-sigma_notation|sum]] and [[wikipedia:Multiplication#Capital_Pi_notation|product]] notation. | |||
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 16:53, 24 March 2019
The total stat value can be calculated as the sum of any added stat, multiplied by the sum of all increases and reductions to stat, multiplied by all more and less stat modifiers.
This template is used to display how stats are calculated in this game.
Usage
{{Stat total|Duration}}
yields: The total Duration value can be calculated as the sum of any added Duration, multiplied by the sum of all increases and reductions to Duration, multiplied by all more and less Duration modifiers.
The above documentation is transcluded from Template:Stat total/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.