Also, using both destroyer and ironclad is futile because both have 2 in firepower. You should have changed the firepower ratings, have one with 1 fp and one with 2 fp.
If the splash animation is not displayed every battle turn, dice roll or whatever we want to call it - what is it then that makes it display? It seems to me it is simply displayed every turn, but what makes it display on which unit, is which unit loses the most hit points. You see sometimes the destroyer and ironclad loses a round.
In the standard rules.txt file, ironclads and destroyers both have 1 firepower, not 2.
Here,
@FoxAhead isn't changing the rules, he's changing the
game executable. The units all still have their standard statistics.
Based on what FoxAhead said, the game displays an explosion "when integer division HP / X changes", where X is 5 if both units have max HP less than 30, and 10 if either one has 30 or more HP. I suspect that FoxAhead meant to say that
damage / X changes, otherwise going from 10HP to 9HP would cause an explosion to be displayed.
So, what does "when integer division damage / X changes" mean? Integer division means make the division, then drop the fraction part. So, 3/5 = 0, 6/5 = 1, 10/5 = 2, for example.
So, let us say that a musketeer is fighting a warrior. Both have less than 30 HP, so X = 5. At first, warriorDamage/X=0/5=0. The warrior starts to take damage. Once the warrior takes 5 damage, warriorDamage/X=5/5=1, so the integer division has changed, and the warrior is "hit" with an explosion. After reaching 10 damage, we have warriorDamage/X=10/5=2, the result of division changes, and the warrior takes another hit, and dies because damage equals hitpoints.
Now, let us consider ironclad fighting warrior. At first, warriorDamage/X=0/10=0. The warrior starts to take damage. This time, once the warrior takes 5 damage, warriorDamage/X=5/10=0, so integer division result hasn't changed, and the warrior is
not "hit" yet. After reaching 10 damage, we have warriorDamage/10=10/10=1, so the result of the division finally changes, the warrior is consequently "hit" with an explosion, and immediately dies since it has taken 10 damage.
FoxAhead's example changed X to 1, so we could know for sure that this is what was happening, since we could see every hit inflict damage.
I think i also found out that mechanized infantry also have 2 in firepower, even though it is listed as 1. That's weird for so many units to have faulty numbers.
Both the game and the MGE Civilopedia read the numbers from the rules.txt file (well, I'm pretty sure the MGE Civilopedia reads them from the game, not independently from the rules). This means that these numbers can't be "mistakes" or "faulty." All that can be happening is that the game is doing something different because they have different HP. FoxAhead explained what this is.
If you think that there is something more going on, try having 20 legions attack 20 warriors, and record the damage the legions took (use cheat mode to change the HP, that will tell you the current damage). Then, do the same thing with ironclads attacking warriors. The ironclads health bars will barely move, but I expect the actual damage inflicted to be similar to the rates taken by the legions.