Rudankort
Posts: 230
Joined: 12/4/2010 Status: offline
|
Full combat algorithm is not documented anywhere, it would be a daunting task to convert the code to human-readable text. The best thing readily available is in-game combat log, invoked by Ctrl+click for prediction or by L hotkey for the last combat played. To answer your questions, we use the difference between attack and defense. It is the same for all types of combat - land, air and naval. Values themselves do not affect combat odds, so 4-2 and 8-6 result in the same odds. The game of course uses pseudo random numbers, and occasionally random sequence generated this way may look odd, but in the long run this all averages out. As an experiment, in the past I've tried putting real random numbers obtained from random.org into the game, and did not notice any significant difference in how the game plays. The values are not biased intentionally, whatever die rolls you see in combat log are directly from random generator, the only operation is to force generated value into the required range.
|