This is an old revision of the document!
Calculations
This namespace collects information about the maths and nitty-gritty details used behind the scenes. You can find various magic values, thresholds, formulae and attempts to investigate them here.
Make sure to write down whether the formulae you add are correct or not. A correct formula should be 100% exact in every calculation, so flooring and order of operations must be investigated.
On these pages, stats are referred to as $stat_b$ (Base Stat from Unit screen), $stat_f$ (Formation Stat from Formation screen) or $stat_e$ (Effective Stat during Live gameplay). Check the Stats page for more details.
In correct formulae, these pages also use the $\odot$ operator as a shorthand for a multiplication with the result being immediately floored, to reduce the amount of brackets in long calculations. $a \odot b = \lfloor a \cdot b\rfloor$