(battle of an AI hero against neutrals – just like in the original for speed)
But still, it looks somewhat abnormal.
Yes, and what happened to the file extension?
За то что нейтралы не бегают за единичкой, для меня это уже стоит того
New here? I'm Roha — want a quick tour?
Different results when pressing Q at different times are solely due to the hero’s randomness (I checked by making the random number generation function return the same number).
For example, in a save with Myrlan and 1k griffons:
in quick battle, the first stack of griffons makes its move, while in auto-battle, it waits.
But this doesn't mean that creatures don't wait in quick battle. They do wait, but differently, i.e., other stacks at different moments. In general, the battle proceeds differently. Judging by the example with Myrlan and 1k griffons, it seems that in quick battle, Myrlan fights 'more intelligently,' or the griffons are 'dumber' than in auto-battle. But what exactly is the reason - who knows.
Maybe Sav will figure it out...
That's strange. I've reloaded the game many times, not just once or twice. Maybe it's because I was playing through the executable file, where the troops move very quickly.
Or maybe it's just a coincidence...
And if we return to the topic and the original question, why did the computer lose so few troops in the griffons? Almost nothing died there – that's absurd.
Phew, I finally found it. Maybe this will be useful.
http://forum.heroesworld.ru/showpost...postcount=1776
http://forum.heroesworld.ru/showpost...postcount=1832
it's just a heroic random – not as random as one would like. When reloading and replaying the battle, it mostly produces the same sequences.
In quick battles, the second function is never called, so the battle will always proceed in the same way. In auto-battles, the second function is called, so the results of the battle will depend on its duration in real time, etc.
In HD+, auto-battle, quick battle, and a battle between an AI hero and another AI hero are ABSOLUTELY IDENTICAL
3. In offline auto-battles, including those with the Q button pressed after a certain number of iterations, different random numbers will be generated each time the battle is replayed.
In online mode, the animation doesn't affect the randomness. And battles with monsters will always have the same damage/morale values.
In battles between players, the random numbers are indeed different, but this is not related to the animation, but to the fact that before each creature's action, the system time is intentionally taken as a seed.