Hello everyone. I've been struggling with a question about the mechanics in Heroes of Might and Magic III, specifically regarding how damage is calculated for stacks consisting of more than one unit. (Unfortunately, I couldn't find an answer in the Physics Engine Guide. Maybe I didn't look closely enough.)
Let's consider the following example: Suppose we have an Air Elemental whose damage, before modifiers, can take any integer value from the interval [2, 8]. Here, the damage distribution seems to be uniform (i.e., each integer value within the interval has an equal probability), even if I'm not entirely sure in this case, although it logically follows that this is so.
Now let's consider a stack of 10 Air Elementals. Their damage ranges from 20 to 80. But how is the damage calculated? Is a random value chosen from 2 to 8 for each of the 10 units in the stack, and then summed up, or is a random value selected from the interval [20, 80]? In simpler terms, what kind of damage distribution occurs in this case? It would seem logical that it should be normal. My observations in battles show that stacks of a large number of units, such as a legion of skeletons, often deal damage close to the expected value, but perhaps I am just "lucky."
This question has already been raised.
/topic/at/359580/
If the number of creatures is no more than 10, then the damage from each of them is dealt independently.
If the number of creatures is greater than 10, then the damage from 10 independent units is calculated, after which the total damage is multiplied by N/10, where N is the number of creatures in the stack.