Zajoman,
How exactly would you do the cutting off now? After those 1000 simulations, you run a single battle and see if it fits into the 1000 simulations, but how exactly?
That's the easy part.
Look back to the post where I showed the distribution results for the 8v8 stack (page 3). I've posted it here below.
Stack 1 won 7391 battles with an average of 1.726800 units left
Stack 2 won 2609 battles with an average of 0.331100 units left
Stack 1 Survivor Distribution: 1859 2756 1642 786 267 75 6 0
Stack 2 Survivor Distribution: 2155 239 183 31 1 0 0 0
The Attacking Stack winning percentage is 0.739100
What's important are the survivor distributions of each result. So in my example I ran 10000 times. 10% cut off is 1000 occurrences. Basically, the numbers you see are the % results for each individual result. So the 1859 number mean that 18.59% of the time Stack 1 wins with 1 man left, 2756 means 27.56% of the time stack 1 wins with 2 men left etc.
There are 2 ways you can then do the 10% cut off.
1) A hard cut off at 1000 results (10%). So any count <1000 is dropped. This leaves:
Stack 1 Survivor Distribution: 1859 2756 1642
Stack 2 Survivor Distribution: 2155
As the only valid results in the 90% range. Which is stack 1 winning with 1,2 or 3 men or stack 2 winning with 1 man.
2) A soft cut off at roughly 88-92%. You get this by summing up the results and stop when you reach 1000. Note that it's highly unlikely you will 1000 right on. So you stop at the largest value <1000 when summing.
So for stack 1 you get 0+6+75+267. Since adding 786 to that is more than 1000 you don't include the 786 result.
So for stack 2 you get 0+0+0+1+31+183+239. Since adding 2155 to that is more than 1000 you don't include the 2155.
What's left are the results you accept.
Stack 1 Survivor Distribution: 1859 2756 1642 786
Stack 2 Survivor Distribution: 2155
Which is stack 1 winning with 1,2,3 or 4 men or stack 2 winning with 1 man.
I prefer the soft cap because it gives just a bit more range of results. But either method is acceptable to me.
So when you do your 'real' combat you just check to see if it's one of the accepted results. If not you re-do it.
There is one caveat that needs to be added. In any 1-1 battle (1 unit vs 1 unit) you should never do the simulation. Instead just do one combat and take the results. That allows a 1-1 battle to always give the underdog unit a chance (ie a single bat can kill a single dragon). In a similar way regardless of how one sided a battle is (Eg A hero a 7 dragons vs 2 bats) there should always be a valid result that allows the super weak stack to kill 1 enemy unit (so the valid results would be hero+dragons winning with 0 or 1 lost man even thought the 1 lost man case is WAY <10%).
KGB