2)OgreMkV
The attack algorithm basically works as follows.
- The attack level for a unit or defense turret is the object's strength (1 through 9) multiplied by its type's attack power (as listed in the Help section). The attack level for a base is its strength (as listed in the Help section) multiplied by its condition (the strength listed in the base's info screen).
- The attack level is then reduced based on the armor level of what it's attacking. (It's not a straight divide, however. Just consider it a small comparative adjustment to account for different types of objects battling.)
- The attack level is multiplied by a random factor. The random factor has a slightly larger range that dips lower for an attacking unit than for a defending unit. Therefore, overall, defending units have a slight advantage, but it's not a definite advantage.
- The attack levels of fighting objects (units and turrets) are then compared to find a winner and the damage levels. If it's an air attack, then the attack levels of bases/bridges are then compared to the remaining attack level of the air attack units to see how much damage should be applied to those objects.