Attacking planets

From Galactic Empire wiki

Stages

Preparation

Fighters take out fighters

Fighters take out fighters and other items

Fighters take out fighters, and some return

No more fighters

Troops take out troops

The amount of attacking troops lost is a random value between 25% and 150% of the amount of defending troops (by default).[1] If there are plenty of defending troops, all attacking troops will always be lost. If not all attacking troops are lost in an attack, they return to the ship.

If the amount of attacking troops is less than 2% of the amount of the defending troops, the attack is unsuccessful and no defending troops will be eliminated.[2][3] Otherwise, the amount of defending troops lost is a random value between 10% and 45% of the amount of attacking troops (by default).[4]

If all defending troops are eliminated, the attacker wins the planet. If the remaining amount of defending troops on a planet is less than 25% of the amount of attacking troops that survived, the attacker wins the planet, and the defending troops surrender and stay in the employ of the newly captured planet.

If the amount of attacking troops that survive is less than 25% of the remaining defending troops, those troops surrender and join the ranks of the planet's troops.

  • Example 1: 500 troops attack a planet with 35000 troops. Since the amount of attacking troops is less than 2% of the amount of defending troops, the attack is unsuccessful. All attacking troops are lost and no defending troops are lost.
  • Example 2: 500 troops attack a planet with 2000 troops. Since 500 (2000×0.25) is the minimum amount of attacking troops that can be lost, all attacking troops will always be lost. The attacking troops will take out between 50 and 225 defending troops.
  • Example 3: 500 troops attack a planet with 1000 troops. The amount of attacking troops that can be lost is calculated as between 250 (1000×0.25) and 1500 (1000×1.5), but of course there were only 500 attacking troops. Therefore, there is a 80% chance all 500 troops will be lost, and a 20% chance that it will be between 250 and 500. The attacking troops will take out between 50 and 225 defending troops.
  • Example 4: 500 troops attack a planet with 200 troops. The amount of attacking troops that can be lost is calculated as between 50 (200×0.25) and 300 (200×1.5). Some troops will always return. The amount of defending troops that can be taken out is between 50 is between 225, and since there are only 200 defending troops there is a 16.66% chance of taking out all the troops, and an 83.33% chance of taking out between 50 and 200.
  • Example 5: 5000 troops attack a planet with 200 troops. The amount of attacking troops that can be lost is calculated as between 50 (200×0.25) and 300 (200×1.5). Some troops will always return. The minimum amount of defending troops that can be taken out is 500, and since there are fewer than 500 defending troops, all defending troops will always be lost.

Troops take out troops and other items

Troops take out troops, and some return

YAAAA!

Alternate scenarios

If you attack with troops while fighters are still present on the planet, the fighters will take out anywhere between 9 and 43 troops per fighter, before the troop-on-troop battle begins.[5] Troops cannot take out fighters.

Spies

Spies level of confidence is random number between 50 and 98.[6] For example, if the spy has a level of confidence of 75, the amount of an item reported can be anywhere between 75% of the actual amount and 125% of the actual amount.[7]

  1. GECMDS.C, line 3671
  2. GECMDS.C, line 3674
  3. GEREADME.DOC#03/06/94 Release 3.2d
  4. GECMDS.C, line 3671
  5. GECMDS.C, lines 3659-3668
  6. GEPLANET.C line 168: d_odds = 50.0+rndm(48.0);
  7. GEPLANET.C line 176: d_rptcnt = d_itemcnt - (d_itemcnt*rndm(d_odds)) + (d_itemcnt*rndm(d_odds));