Skip to content

A program for determining luck/morality in Heroes 3!

User Avatar
#605
Auto-translated
Dear AlexSPl!

1) It has been determined that under no circumstances, in battle, while remaining in one place (by pressing the spacebar), will it be possible to predict the outcome of morale and luck, as they simply won't occur!:smile01:

2) Sometimes the program malfunctions when determining morale (2 and 3), and when it is equal to 1, it doesn't work at all. This leads to the question:
Am I setting the additional parameters correctly?

Example: I attack with 3 Djinns against Swordsmen (5 stacks of 6 each);
I select the "With retaliation" mode;
I enter the Defender.
I open the battle damage calculation program (by Monza)* and calculate that 3-4 Swordsmen will die from the first attack (which number should I choose). I set it to 3.
*From a mathematical point of view, how does your formula differ from Monza's formula for calculating damage in battle?
Minimum damage (for one Djinn or for 3?). I set it to 24 (for 1 Djinn)*;
Maximum damage (for one Djinn or for 3?). I set it to 36 (for 1 Djinn)*;
*3 Djinns inflict a maximum attack of 109, but in the LMOracle program, only a 2-digit value can be specified for this parameter.
Defense of the warriors in the attacking unit. I set it to 12, taking into account the hero's attack (9+3).

Am I doing everything correctly? Probably not.:o

3) Apparently, because of this, the Damage calculation is not accurate, and I really want to figure it out. In general, I feel that I can't understand this without a drink. In reality, if the damage inflicted on the enemy is calculated correctly, then this program will become an indispensable part of the game for any professional offline player.

4) How should I change the modes, or which of the examples is correct?

Example 1:
I attack with Centaurs and Gargoyles against Peasants and Ogres. Peasants die without retaliation, Ogres always retaliate.

Round 1: Gargoyles go -> I set the "With retaliation" mode and attack the Ogres;
Centaurs go -> I set the "Without retaliation" mode and kill the Peasants.

Example 2:
I attack with Centaurs and Gargoyles against Peasants and Ogres. Peasants die without retaliation, Ogres always retaliate.

Round 1: Gargoyles go -> I set the "Without retaliation" mode and attack the Ogres;
Centaurs go -> I set the "With retaliation" mode and kill the Peasants.
Setting the mode in this way for the next monster.

5) Could it be made so that the specification of additional parameters is set automatically by the program? This would greatly simplify things for players.

6) At the end of this year, it is planned to completely update the website www.handbookhmm1.narod.ru, which will include all known programs for Heroes 1 (created by HW users), including your program (with your permission). Therefore, it would be extremely desirable for the finished product of your work to be included in this update. I am currently working on this section of the handbook, which is why so many questions are arising. Later, there will be questions for our Monza, who created the equally useful and necessary program "hero digger."

Sincerely, VDV_forever
Единый справочник по Героям Меча и Магии

ТУРНИРЫ ПО ГЕРОЯМ 1!:smile13: