| Battle formula of the game
All situations where two alliances have their military forces at the same
star are solved by using the following formula. The outcome of the formula
shows the winner and the percentage of surviving fleets.
where
- random()
– random multiplier from normal distribution (actually, e
in power the random multiplier, with mean 0 and standard deviation 0.25)
- star.defence
– the defence percent of the star (e in power the percent divided by 100)
- att.power,
def.power – the total damage done by attacker and defender,
respectively, to their enemy. It is found by summing up all the damage that
the different ship types do against their opponents. For example, if one
fighter does average of 10 damage (the average depends on the ships of the
opponent) then if there are 90 ships in a fleet then the fleet has total
power of 90*10=900. Damage done by different ship types is summed to arrive
at the total figure.
- att.hp,
def.hp – the total hit-points (HP) of the fleet. Found by adding
together the HPs of all ships in the fleet.
-
Attack upgrade and power from carrier come into the formula through
att.power/def.power, which are increased appropriately. Both affect all military ships
and buildings, with the exception that carriers themselves do not receive any
improvement from the tech 'power from carrier'.
If a <
1 the attacker has successfully conquered the star.
If a
³
1 the attacker failed to capture the star.
Remaining forces
The principle is “the more
ships you have the less you lose” or the bigger the advantage over your
opponent the less you will loose. Basically, the essence of the formula can be
depicted in the following graph, which shows how much of your 100 fighters is left when
the opponent attacks you with X fighters.
You can find the battle calculator in the 'game room' for
simulating the outcomes of battles (though, it does not incorporate
the random effect).
|