Template:Stat total: Difference between revisions
Jump to navigation
Jump to search
>Illviljan (Feel free to rename the template to something shorter and better if you figure something out.) |
>Illviljan mNo edit summary |
||
Line 2: | Line 2: | ||
|{{math|formula= | |{{math|formula= | ||
\begin{align} | \begin{align} | ||
a & \text{ the total amount of additional {{{ | a & \text{ the total amount of additional {{{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} | ||
}} | }} | ||
Line 13: | Line 13: | ||
{{math|formula= | {{math|formula= | ||
\begin{align} | \begin{align} | ||
\text{Total {{{stat}}} value} = & \sum_{i=0}^{a} \text{additional {{{stat}}}}_{i} * \\ | \text{Total {{{1|stat}}} value} = & \sum_{i=0}^{a} \text{additional {{{1|stat}}}}_{i} * \\ | ||
& \left( 1 + \sum_{j=0}^{b} \text{increased {{{stat}}}}_{j} - \sum_{k=0}^{c} \text{reduced {{{stat}}}}_{k} \right) * \\ | & \left( 1 + \sum_{j=0}^{b} \text{increased {{{1|stat}}}}_{j} - \sum_{k=0}^{c} \text{reduced {{{1|stat}}}}_{k} \right) * \\ | ||
& \prod_{l=0}^{d} (1 + \text{more {{{stat}}}}_{l}) * \prod_{m=0}^{e} (1 - \text{less {{{stat}}}}_{m}) | & \prod_{l=0}^{d} (1 + \text{more {{{1|stat}}}}_{l}) * \prod_{m=0}^{e} (1 - \text{less {{{1|stat}}}}_{m}) | ||
\end{align} | \end{align} | ||
}} | }} |
Revision as of 17:38, 4 July 2016
This template is used to display how stats are calculated in this game.
Usage
{{Stat total|Duration}}
yields:
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.