Open LeHerosInconnu opened 2 years ago
@LeHerosInconnu
In the example, a simple combat between two troops of creatures that always attack each other on their turn. The combat result should be the same in all cases.
Only if you do exactly the same moves by hand as it is done in the instant/auto combat. But in this video you don't.
In fheroes2, something is wrong with Instant combat and Auto combat modes compared to Manual combat.
Nope, nothing is wrong here. If you do different moves (for example, attack from different cell) the results from the random generator will not be the same.
Hello @oleg-derevenetz,
@LeHerosInconnu
In the example, a simple combat between two troops of creatures that always attack each other on their turn. The combat result should be the same in all cases.
Only if you do exactly the same moves by hand as it is done in the instant/auto combat. But in this video you don't.
In fheroes2, something is wrong with Instant combat and Auto combat modes compared to Manual combat.
Nope, nothing is wrong here. If you do different moves (for example, attack from different cell) the results from the random generator will not be the same.
Maybe it's not "wrong" the way it's done, but it's not at all the way it works in the original game.
In fheroes2: Yes, depending on the "angle" of attack the damage is different. This is freaking crazy! :rofl:
In the first case, the first dragons attack does 152 damage when attacking horizontally.
In the second case, the first dragons attack does 192 damage when attacking obliquely.
Whereas in the original game, it is the troop being attacked that is taken into account, not from which hex the troop is attacked.
In Heroes 2:
In the first case, all phoenixes attacks are done horizontally. Successive attacks do: 120 damage 60 damage 84 damage 216 damage, with the luck 105 damage
In the second case, all the phoenixes attacks are made obliquely (except the first one). Successive attacks do: 120 damage 60 damage 84 damage 216 damage, with the luck 105 damage
In the original game, you can redo this combat dozens of times and you will always get the same result if you perform the same actions (by the same actions, it means attacking the same troop with the same troop, casting the same spells at the same time on the same troops, etc.).
In fheroes2, it should work the same way as in the original game, at least when the "battle: deterministic events" option is enabled.
Edit.
In the case presented in the original post, for Auto combat, Instant combat and Manual combat modes the result should therefore be the same in all cases because there are only two troops fighting and attacking each other.
Yes, depending on the "angle" of attack the damage is different. This is freaking crazy! 🤣
No, this is called "random".
Maybe it's not "wrong" the way it's done, but it's not at all the way it works in the original game.
At the very beginning, when the function "battle: deterministic events" was still only discussed, I said that badly implemented random generator in the original game is not a reason and not an excuse to reproduce it in the fheroes2. My point of view has not changed since then.
I reclassify this as a request for an improvement, but I strongly doubt that, in fact, degradation of the random generator can be considered as an improvement :)
I think we can agree that there are two camps of Heroes II players: Those who prefer randomized gameplay, and those who prefer deterministic gameplay. Considering how much was deteriministic in the original game, I'm not surprised that many veteran players prefer such gameplay.
I haven't seen much disagreement internally in those camps though, so at least there's that. The players who prefer deterministic gameplay seem to prefer that the game is deterministic in the same way as Heroes II was, so not more deterministic.
To me it is slowly starting to seem more logical to separate these two fundamentally opposite approaches, instead of trying to mix deterministic gameplay with randomized. If this were to be considered we'd be talking much further on, since making such a huge change overnight is not possible.
@zenseii my point of view is the following: random events are included in the core of the game mechanics. What concerns exactly the battle: damage is random, luck/morale events are random, etc. Even when initial seed is not random for the purposes of reproducibility, less predictable random events are good and not evil. Random generator in the original game was just not good enough, maybe due to the hardware limitations in those days (DOS, 640K are enough for everyone, that sort of thing). It is not worth to reproduce it "literally".
Hello @oleg-derevenetz and @zenseii,
I have nothing against improving the random number generator, or that the combats can be more random if that is the player's preference. My point is that when a player has enabled the "battle: deterministic events" option, he expects to have the same experience and feel of the original game. I also think that this option should be enabled by default. :)
Preliminary checks
Platform
Windows
Describe the bug
In fheroes2, something is wrong with Instant combat and Auto combat modes compared to Manual combat.
In the example, a simple combat between two troops of creatures that always attack each other on their turn. The combat result should be the same in all cases. Note: "battle: deterministic events" option is enabled for this scenario.
In fheroes2:
Instant combat:![vlcsnap-2022-06-06-17h04m49s515](https://user-images.githubusercontent.com/43583994/172190778-43a6e241-0647-408a-ae4b-6de22c7c9c15.png)
Manual combat:![vlcsnap-2022-06-06-17h05m14s868](https://user-images.githubusercontent.com/43583994/172190867-e65b1fe3-ec32-4300-a411-2dbec3cbe760.png)
Auto combat:![vlcsnap-2022-06-06-17h06m05s812](https://user-images.githubusercontent.com/43583994/172190934-3f1b5581-2588-402e-a9d8-92830981af65.png)
Instant combat and Manual combat:
https://user-images.githubusercontent.com/43583994/172192034-82a6314b-7806-4788-bf09-aface7992d94.mp4
Instant combat and Auto combat:
https://user-images.githubusercontent.com/43583994/172192122-1f01ff67-6a5d-42ab-b0c5-807d5de00d65.mp4
Save file
Here is the save file: Before ghosts mine 01.zip
Additional info
Version 0.9.15 5406