Hello,
I am currently coding my own combat simulator. How thrilling really! Unfortunately, there's something I must have misunderstood. If we consider 1 attacking Battleship (techs: 0/0/0) against 10 Rocket Launchers (also 0/0/0), both SpeedSim and TrashSim say the combat is over after either 4 or 5 rounds, and the defender wins. However that's not what I get with my current simulator
So let's sit down and see where my mistake is.
A Battleship has a weapon power of 1.000, a shield power of 200 and an armour of 6.000. Rocket Launchers have a weapon power of 80, a shield power of 20 and an armor of 200. So when a Battleship hits a Rocket Launcher, it will be dead at the end of the round with a 100% chance.
At the first round, the attacking Battleship hits a Rocket Launcher, that will die as a result at the end of the round.
The first 2 defending Rocket Launchers will weaken the Battleship's shield (decreasing it from 200 to 200 - 80 - 80 = 40), the 3rd Rocket Launcher will destroy the shield and cause 40 (80 minus the remaining 40) damage to the Battleship's armor. And then the last 7 Rocket Launchers will cause 560 = 7 x 80 damage to the Battleship. At the end of the first round, the Battleship took 560 + 40 = 600 damage to its armor, which is exactly 10% of its total armor, so it survives while one of the 10 Rocket Launchers dies.
So you see, there's a 68% x 63.3% x 60% = 25,84% chance that the Battleship survives the entire combat according to my (likely wrong) calculations. TrashSim and SpeedSim say the Battleship never reaches the sixth round, so I'm confused. Could somebody see what's wrong ?
Thanks a lot...
I am currently coding my own combat simulator. How thrilling really! Unfortunately, there's something I must have misunderstood. If we consider 1 attacking Battleship (techs: 0/0/0) against 10 Rocket Launchers (also 0/0/0), both SpeedSim and TrashSim say the combat is over after either 4 or 5 rounds, and the defender wins. However that's not what I get with my current simulator
So let's sit down and see where my mistake is.
A Battleship has a weapon power of 1.000, a shield power of 200 and an armour of 6.000. Rocket Launchers have a weapon power of 80, a shield power of 20 and an armor of 200. So when a Battleship hits a Rocket Launcher, it will be dead at the end of the round with a 100% chance.
At the first round, the attacking Battleship hits a Rocket Launcher, that will die as a result at the end of the round.
The first 2 defending Rocket Launchers will weaken the Battleship's shield (decreasing it from 200 to 200 - 80 - 80 = 40), the 3rd Rocket Launcher will destroy the shield and cause 40 (80 minus the remaining 40) damage to the Battleship's armor. And then the last 7 Rocket Launchers will cause 560 = 7 x 80 damage to the Battleship. At the end of the first round, the Battleship took 560 + 40 = 600 damage to its armor, which is exactly 10% of its total armor, so it survives while one of the 10 Rocket Launchers dies.
- At the second round, the Battleship takes 9 x 80 - 200 (shield) = 520 additional damage to its armor, which is now damaged 18.7%. It survives, while another Rocket Launcher has died (8 remaining).
- At the third round, the the Battleship takes 8 x 80 - 200 (shield) = 440 additional damage to its armor, which is now damaged 26%. It survives, while another Rocket Launcher has died (7 remaining).
- At the fourth round, the the Battleship takes 7 x 80 - 200 (shield) = 360 additional damage to its armor, which is now damaged 32%. It may survive, while another Rocket Launcher has died (6 remaining).
- At the fifth round, the the Battleship takes 6 x 80 - 200 (shield) = 280 additional damage to its armor, which is now damaged 36.7%. It may survive, while another Rocket Launcher has died (5 remaining).
- At the sixth round, the the Battleship takes 5 x 80 - 200 (shield) = 200 additional damage to its armor, which is now damaged 40%. It may survive, while another Rocket Launcher has died (4 remaining).
So you see, there's a 68% x 63.3% x 60% = 25,84% chance that the Battleship survives the entire combat according to my (likely wrong) calculations. TrashSim and SpeedSim say the Battleship never reaches the sixth round, so I'm confused. Could somebody see what's wrong ?
Thanks a lot...