War Metal Number Stuff
On this page is trivia and explanations related to the math behind some parts of War Metal. I'll add more when I think of it.Attack/Defence Power
Atk/Def Power is determined by the formula (stat*allies + 10*unitstats + 50). So to determine your own attack power, you would multiply your attack attribute by your ally number, and take the attack of all the units in your force and multiply it by 10; add these 2 values together and add 50 to get the final power. When you reinforce (or control) a unit, it's stat contributes to your power just as if it had been in force. When your unit is jammed (or controlled), it has no effect on your power. The +50 is added at the end after all reinforcements, power boosts, and power reductions are applied; this is most likely because a ratio between the attacker's power versus to defender's power is taken when determining base damage and adding this would avoid divide by 0 errors.Attack/Defence Power Boosts
Boosts to Atk/Def Power Boosts (as can be seen in units like Goliath, Cassandra, and Old Hammer) combine by multiplying on the previous Atk/Def Power. For example, if you start with 1,000,000 attack power and get boosted 25% by Cassandra, you would have 1,000,000*1.25=1,250,000 attack power. If you were further boosted 25% by Goliath, you would have 1,250,000*1.25=1,562,500 attack power. Adding boosts can be continued indefinitely, although you atk/def power can never increase by over 100% (e.g. if you start with 1,000,000 attack power, you can never have over 2,000,000 attack power); this cap is 200% of your power before the battle, reinforcements have no effect on it.Attack boosts are applied as soon as the ability procs. For example, reinforcing a Frontline Warrior and then having a Goliath proc ((power + 700)*1.25 + 50) will result in a different final power to having a Goliath proc and then reinforcing a Frontline Warrior (power*1.25 + 700 + 50).
It is important to note that attack/def power boosts have no effect against epic bosses as the combination of your base stats (atk+def) is used to determine your base damage, not your atk/def power.
Attack/Defence Power Reduction
Atk/Def Power reductions are applied only to the boosted power. For example, if you started with 1,000,000 attack power and got a 25% boost from Cassandra bringing you to 1,250,000, a 25% reduction from Zander will result in an attack power of 1,000,000+(1,250,000-1,000,000)*(1-0.25) = 1,187,500. A further 25% reduction would use the 1,187,500 when determining the reduced attack power. From this it can be seen that a 25% reduction is not equivalent to a 25% boost, and that while boosts gain effectiveness the more you use, reductions decrease in effectiveness in larger numbers.Unit Damage Boosts
When a unit procs to do damage, a random value within it's damage range will be chosen. This number is then multiplied by your accumulated damage boosts for each of it's classes (general [e.g. Commander], type 1 [e.g. Robotic], type 2, and possibly in future there will be boosts that effect only a specific unit). For example, if your Righteous Structure procs for 7 damage and you have a 30% boost from Artemis, and a 25% boost from Opak, the final damage will be 7*(1+0.3+0.25)=11 [rounded]. Boosts to the same class are added together, for example a 50% boost and a 25% boost will result in a 75% boost. This is most evident when observing the Sentinel Cannons in Sentinel Undying; their base damage is 10-30 and if you let all 12 whips boost them by 50% each, their range will be 70-210 (700% of the base damage range).Rallies (e.g. Equalizer) and Reductions (e.g. Photon Shield Generator) are added after the damage multipliers are applied. It can be seen that rallies can cause damageless procs (e.g. Juggernaut's Rend) to appear in the combat log, however, these have no effect on the total damage. A 0 damage proc rallied is still counted as 0 damage (test with Equalizer and APC to see for yourself).