Tech level and damage

Issue #15 on hold
Markus Klyver created an issue

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)

  1. Hottemax 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 .

  2. Log in to comment