Battle



Each combat can have 2 outcomes: attacker wins, and defender wins; Each combat is organized in rounds. There are at most 9 rounds, which means that if the attacker is not able to destroy all the defender's units in 9 rounds, the combat ends with defender wins. Defender wins causes the attacker to not be able to steal the resources or capture base.

Battle:
In each round, all participating units randomly choose a target enemy unit. In rounds 1,2 and 3 is higher chance hit unit with attack bonus.

Armor bonus:
If the Weaponry of the shooting unit is less than 5% of the armor of the target unit, the shot is 40% bounced, and the target unit does not lose anything
If the shooting unit hit target, the shot has only 60% of effectivity


If the Weaponry of the shooting unit is less than 15% of the armor of the target unit, the shot is 70% bounced, and the target unit does not lose anything
If the shooting unit hit target, the shot has only 80% of effectivity


Defense has always 100% of effectivity


Attack bonus:
- If the Armor of the target unit is less than 40%(+2% per each level of plazma weapons) of the initial Armor, then the unit has a probability of 30%+4xBonus of destruction. - Defense can not be destructed this way.


Repeat of shooting:
-If the shooting unit has attack bonus against the target unit, it has a chance of choosing another target at random, and repeating the above steps for that new target.



Cover:
Infatry has 15% chance of cover (+ 2.5% per each level of laser weapons).