Tech level and damage
According to the Wiki the tech level multiplier to shock and fire damage affects morale damage but I don't see anything like that in the code.
Comments (5)
-
-
reporter Is it just a flat modifier?
-
repo owner I was on vacation and couldn't respond earlier, sorry. It is not a flat modifier, as can be seen from the code and the javadoc etc, but scales with tech level, so it matches the formula from the wiki as well as the citation-note.
The one big difference to the wiki is that I have introduced the ATTACK_MORALE_BONUS in Regiment.java, which is documented. This is not in the wiki, but without it the numbers w.r.t. morale damage are slightly off when comparing to a real battle ingame. What matches best is this flat bonus to the attacking side, which is not set at the beginning of the battle (as suggested by the wiki in another location, which is wrong as pointed out by Guanlong), but rather added to each individual attack.
However, this is documented nowhere in forums or wiki, just from my own testing, and any insight on this is very welcome!
If you have evidence that the algorithm is not working as intended, please post a savegame whose battle results are far off from the simulator, that would be most helpful. I have added a quick&dirty excel sheet in Downloads that reflects a battle from the 1531 start date playing as Austria and attacking the Bohemian stack.
Tests can also be set up in gui-less mode with the BattleTester.java .
-
repo owner - changed status to on hold
-
repo owner - marked as task
- Log in to comment
Regiment.java
line 95 and 96
commonModifier depends on Technology.casualtyMultiplier() which provides shock and fire multipliers.