For those who miss it, it is explained that only the difference in weapon modifiers act on the damage. There are some theories regarding how this would work, especially with regard to combat ability granted by ideas. So being curious I went to test that too.
Again, for those who wanna skip to results:
- Weapon modifiers indeed affect damage when there is a difference. Actually, it also decrease damage you take when you have higher weapon modifier than enemy.
- Combat ability works to increase weapon modifiers, regardless of whether there is a difference in weapon modifiers.
- HOWEVER, both the damage increase and damage reduction effects appear small. (You certainly won't see anywhere near 10% damage difference for 10% combat ability)
- tactics and discipline act as totally independent multiplier to damage.
There are also earlier test I did for cavalry and shock phase (using a trick!), I didn't release them since insight from Balor. I now see that they obey exactly same rules as infantry.
EDIT: it struck me now:
- combat ability from ideas affect your own rebels!
I have even figured out a tentative formula for those interested; There is still a discrepancy when I try to fit some of the data, you will see. Scale of magnitude seem correct...
Code:
Actual weapon modifier = weapon modifier from tech * (100% + combat ability)
Damage modifier = 1+((Attack actual weapon modifier) - (Defender actual weapon modifier))/20
for example, if I have tech cavalry shock 2, cavalry combat ability + 50%, attacking an infantry with infantry shock 1.0, my damage will be multiplied by 1+(2*150%-1.0)/20 = 1.01, a 1% increase in damage...
EDIT: I must be sleeping... That evaluate to 1.1, a 10% increase in damage, thanks to Meneth to pointing this out!
Okay, here's how I test it. So the idea is that I cannot test with rebels, since they take my tech, and maybe my combat ability bonus from ideas (Unlikely, since they definitely don't get discipline nor morale from my ideas). However, I quickly stumbled upon the solution when I accidentally triggered the Kongo event when I am testing cavalry in Ryukyu...
I can test my army against another country's rebels!
So here's the new combat summoning event, now with cav testing and cleanup function. I'm summoning troops in that old battlefield Anziku here:
After I click the corresponding option, a combat between me and Kongo rebels will start in terra incognito... Luckily I can easily select the combat from outline to check results
The funny thing is, when I lose the fight sometimes... The Kongo army came to help!
Anyways here's boring data section for those who is really motivated: (Again, keep in mind that base damage for 2 regiment is, from 0-9, 24, 32, 40, 48, 64, 80, 100, 120, 140, 160)
Start with no tech, no ideas etc at all, just to test whether damage is same as before.
Format is: Ryukyu dice, Ryukyu damage to Kongo rebel, Kongo rebel dice, Kongo rebel damage to me (I am no longer logging morale here, I already know how that works)
7 120 3 48
3 48 1 32
2 40 1 32
1 32 2 40
0 24 9 160
No surprise here
I added Ryukyu tactics 0.5->1 just to make sure that my experiment would work (i.e. there is indeed a difference between Ryukyu troops and Kongo rebels)
4 64 1 16
3 48 1 16
9 160 0 12
8 140 7 60
0 24 8 70
Again no surprise, Kongo rebel damaged to me is halved
Now the real tests: Ryukyu infantry_fire 0.25->0.75 (Same run, so Kongo damage to me still halved from tactics)
5 82 3 22
0 32 1 10
6 102 1 14
5 82 8 68
8 142 2 18
Difference look really small, I decide to try more insane levels, Ryukyu infantry_fire 0.75->4
2 46 2 18
5 94 8 62
6 118 4 28
2 46 3 20
4 74 9 72
9 188 6 44
1 36 8 62
1 36 6 44
5 94 4 28
4 74 6 44
On to combat ability. Ryukyu infantry combat ability 0%->100%
4 88 8 62
7 166 8 62
8 194 0 10
4 88 0 10
8 194 4 28
6 138 4 28
8 194 6 44
2 54 1 14
While at it, throw in discipline as well, Ryukyu discipline 0%->100%
5 220 9 72
2 110 2 18
5 220 1 14
8 388 5 36
6 276 6 44
Here I had a guess for the formula. I decide to test combat ability without a tech weapon modifier difference, restarted, and Ryukyu combat ability 0%->100%
2 32 3 46
4 64 2 38
8 140 7 118
4 64 4 62
2 40 1 30
0.25->0.5 must be too small a difference. Ryukyu combat ability 100%->400%
7 126 2 38
7 126 4 60
0 24 2 38
1 32 8 132
0 24 9 152
4 66 6 94
8 146 4 60
7 126 6 94
Next I test whether it's the difference or the ratio that matters; reset, Kongo infantry fire 0.25->1, Ryukyu 0.25->2
7 126 0 22
0 24 5 76
8 146 8 132
1 32 4 60
4 66 0 22
So it fit the 'difference' model, since that is said by Dev, I assume it
Finally it start to bother me about the old result that combat ability has no influence when I was fighting Kongo rebel as Kongo.
Then it struck me: combat ability must be affecting rebels unlike discipline and morale from ideas!
Additional tests: Kongo combat ability 0->400%, and I send in some Ryukyu troops again
5 76 6 104
9 152 4 66
8 132 6 104
2 38 3 50
3 44 4 66
Okay, it is as if Poland didn't get enough trouble from those nobles! :happy: