We are currently in the processing of bringing this to 100% working functionality. Any help would be greatly appreciated. Find out more in the Community Portal.
Template:Stat total
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.
|
<math display="" style="background-color:transparent; padding:0;"> \color[RGB]{163,141,109} \begin{align} a & \text{ the total amount of added stats } & a & \in \mathbb{N}_{0} \\ b & \text{ the total amount of increased stats } & b & \in \mathbb{N}_{0} \\ c & \text{ the total amount of reduced stats } & c & \in \mathbb{N}_{0} \\ d & \text{ the total amount of more stats } & d & \in \mathbb{N}_{0} \\ e & \text{ the total amount of less stats } & e & \in \mathbb{N}_{0} \\ \end{align} </math> |
<math display="" style="background-color:transparent; padding:0;"> \color[RGB]{163,141,109} \begin{align} \text{stat}_{total} = & \sum_{i=1}^{a} \text{added stat}_{i} \times \\ & \left( 1 + \sum_{j=1}^{b} \text{increased stat}_{j} - \sum_{k=1}^{c} \text{reduced stat}_{k} \right) \times \\ & \prod_{l=1}^{d} (1 + \text{more stat}_{l}) \times \prod_{m=1}^{e} (1 - \text{less stat}_{m}) \end{align}
</math>
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.
|
<math display="" style="background-color:transparent; padding:0;"> \color[RGB]{163,141,109} \begin{align} a & \text{ the total amount of added Duration } & a & \in \mathbb{N}_{0} \\ b & \text{ the total amount of increased Duration } & b & \in \mathbb{N}_{0} \\ c & \text{ the total amount of reduced Duration } & c & \in \mathbb{N}_{0} \\ d & \text{ the total amount of more Duration } & d & \in \mathbb{N}_{0} \\ e & \text{ the total amount of less Duration } & e & \in \mathbb{N}_{0} \\ \end{align} </math> |
<math display="" style="background-color:transparent; padding:0;"> \color[RGB]{163,141,109} \begin{align} \text{Duration}_{total} = & \sum_{i=1}^{a} \text{added Duration}_{i} \times \\ & \left( 1 + \sum_{j=1}^{b} \text{increased Duration}_{j} - \sum_{k=1}^{c} \text{reduced Duration}_{k} \right) \times \\ & \prod_{l=1}^{d} (1 + \text{more Duration}_{l}) \times \prod_{m=1}^{e} (1 - \text{less Duration}_{m}) \end{align}
</math>
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.