Today I have been putting in all the scripts for processing the progress of the battle. Things were going smoothly enough until I ran into an odd bug.

There are two common ways of determining when the morale of one side breaks. The first uses the ratio of the strength of the two parties. If that ratio exceeds some critical value — typically something between 1.5 and 2.5 — the smaller side breaks.

The second way relies on the ratio of losses to original strength. This holds that a unit breaks when it has lost too large a percentage of its original strength. The breaking value depends upon the morale of the unit, but it runs somewhere between 10% and 50%

Now, Arthur’s units must break up separately, so this calculation is made on a unit-by-unit basis. However, they are not independent. If one unit breaks, that should encourage other units to break.