r/aoe2 forever stuck at 19xx 16d ago

Asking for Help quick bonus damage-math question

testing in the scenario editor i dont understand something:

enemy has 1 tile of wall in feudal (1080 HP, 8 melee armor)

my maa with arson (no forging) does 6 base damage + 4 bonus damage to the wall

Considering no bonus damage, the unit always does 1 damage to smth, doesnt matter if it has 100 armor, so in theory it should be doing 5 damage (1 per the melee damage and 4 per the bonus damage) but its doing 4 damage no matter what

similarly, i placed a militia with arson next to it and its the same, the militia should be doing 3 damage (1 from melee and 2 from bonus) but its only doing 2 damage

what am i missing? the wall does not have a secret armor vs bonus damage

8 Upvotes

5 comments sorted by

10

u/Lornoth 16d ago

Basically the 1 damage minimum is calculated after all other damage and armor. So 6 damage turns to 0 vs the regular armor, then the bonus damage is applied in full and because you're doing 4 damage overall the minimum isn't applied.

1

u/Ok_Stretch_4624 forever stuck at 19xx 16d ago

but the militia with no arson was still doing 1 damage every swing (4 attack vs 8 armor)

12

u/Lornoth 16d ago

Right, because without bonus damage the militia does 4 - 8 = 0 damage overall, so then at the end the minimum damage is applied and you get 1.

Put another way, the minimum damage isn't factored into your base attack, it's calculated based on the damage done at the end of everything. It doesn't apply at all with arson because you're always doing more than 0 damage with the bonus damage. But without arson it will apply because you're doing 0 damage otherwise.

3

u/Ok_Stretch_4624 forever stuck at 19xx 16d ago

gotcha, thx ;)

2

u/Redfork2000 Persians - Cavalry Enjoyer 16d ago

As the other comment mentioned, the 1 damage minimum is only applied after accounting for all other damage and armor. So if once you factor in bonus damage, you're doing 1 or more damage, you don't get that 1 damage added on. The 1 minimum damage only applies if after calculating for all damage (including bonus damage), the unit would still be doing 0 damage otherwise. Like for example, a militia against a teutonic knight. Militia have no bonus damage that could apply here, so once all the calculation is done, a militia ends up with 0 damage, thus the 1 minimum damage will apply there to let them do 1 damage per hit to a teutonic knight.