Auto-translated
2VDV_forever: The number 1000 is taken from the executable file. At the beginning of the battle, the game generates a number from 1 to 1000, which is used as a "seed." Thus, the number of possible battle outcomes is limited to one thousand. But, I suspect that 1000 is just an upper limit, and in reality, the number of possible battle outcomes is much smaller(?).
I will try to study the pseudo-random number generation algorithm in this game more closely. Perhaps I will find cases where a player, without any additional tools, can predict the outcome of morale and luck based on the damage dealt.
Added 7 minutes later
When I was talking about the morale of pikemen, I meant the following:
Fireball provided a description of the probability. Of course, it was easy to repeat it because of the interesting property that the number R remains fixed if you quickly move a specific unit. But what about descriptions where the player's victory involves repeating the battle outcome? What is the probability that the organizer will repeat this battle?