A program for calculating the strength of guards on random maps H3CalcGuards
The program allows you to approximately accurately estimate the strength of the guard of an object or group of objects in Heroes 3, and most importantly, to understand the methodology of this very estimate. Moreover...
Download the H3CalcGuards program
Author - Sav (programmer).
Idea and text - Vaflya (by the way, is on a long business trip in Stronghold, improving the second level there).
Author's program description
•All program data is stored in its text file. Its format is quite transparent, and by changing it, you can configure the program for any version of the game, and also translate it into another language. Currently, the program is in English and contains a file with SoD data; it can be replaced with a file containing HotA data (also in English). I will not do it for other versions; if someone needs it, edit the text file.
•In the field on the left, only those creatures are shown that are allowed as guards for the selected value. For them, the range of values and the average, most likely, number are also shown.
•The values of dwellings, Pandora's boxes, and seer huts depend on the total number of zones with cities (those where the template allows at least 1 type of city, regardless of whether there is a city there or not) and the number of zones with cities of its creature (for each zone "with a city", the type of city is selected to which at least 1 city belongs in the zone, if it exists, as well as all dwellings, creatures in Pandora's boxes, and seer huts). The number of neutral (for creatures without cities) zones in the calculations is always 0.
If "Zone town" is set to Any town, the values of dwellings, Pandora's boxes, and seer huts will be calculated without taking into account the bonus for cities. Otherwise, the number of cities can be entered, and at the same time, the list of objects is filtered, and all objects with creatures not from the specified city are discarded.
It is written about Pandora's boxes and seer huts how many creatures are in them.
•You can add a virtual object with a specified value - in particular, this is how the guard of the passage should be calculated. When an object is selected from the list, its value is entered into the input field. The total value of the selected group of objects is also calculated and indicated above its list.
•The guard strength index is entered directly. Its name contains a hint for which combinations of the zone's monster strength and the configured monster strength during map generation (they are equal) it is suitable. For passage guards, only the monster strength configured in the generator applies; these are indices 2, 3, and 4 for weak, medium, and strong monsters, respectively.
•You can find out the number of monsters not on week 1. With each week, it grows by 10%.
•The result can be displayed in 2 forms: in a simple form - the range of quantities and the average number of monsters, as well as in a full form - with a list of all possible quantities and the chances of their occurrence (in week 1, all intermediate quantities are possible, but as the weeks go by, not all of them become possible).
•When focusing on the list of the selected group of objects, pressing "Enter" will add an object to the group, similar to the "Add" button, pressing the spacebar will duplicate the selected object, and pressing "Delete" will remove the selected object from the group.
When focusing on the input field of an arbitrary value, pressing "Enter" will add an object with the entered value to the group, similar to the "Add custom value" button.

For example, checking the convergence of your own stat data and program data on the guards of single hives in the first week on the Jebus Cross template with strong monster strength - the full one and more often coincides with the average value.
Regarding the "moreover"... Now you can understand why there is such a large range in the guards of level 7 dwellings (I recommend that you figure this out yourself by digging around in the program ;)). Moreover, it is precisely by the size of these guards that you can assess the map in a strategic plan.
