Q: How are the battle results calculated?
A: Well, in the battle, it is not only one formula, but several, that modify the base atributes of your fleets.
I will try to describe them for you...
X is attacker Y is defender:
C - crew level bonus (1.bonus)
A - attack (all weapons)
AC - accuracy (0-1)
AB - accuracy bonus from computers
ASP - accuracy siege pennalty (-0.1 reg, -0.3 board -0.3 raid, -0.8 ambushed)
ACP - accuracy mutiple shots penalty (between -0.6 and -1 depending on the shot, at first shot is 0 )
S - shield abs
D - defence
DB - defence bonus from specials and computers
SM - swarm bonus
N - numbers
TA - total fleet attack
TD - total defence
TA = (A * C * SM) * (AC+AB-ASP-ACP) * N
TD = (D * C * SM * (1+DB) ) * N
When we have X stats and Y stats, then comes the battle, and shields absorbiton, defence to determine damage done and received, other formulas lol... ok, hope this helps... :
PS: Do not forget HP and Shields are not in the calculations The damage done is TA * 1-ABS.