2VDV_forever: It is possible to implement, but you will have to specify two more parameters before the attack (monster levels).
If it won't be too much trouble for you, could you implement this feature: o (even if it involves adding extra parameters to the program)? It would be extremely interesting to see and try out this product.
Perhaps, with the introduction of such an improvement, it will be possible to thoroughly study the morale drop in Heroes 1, which, in my opinion, is a very important aspect of the game!
Sincerely, VDV_forever