aoe2techtree
aoe2techtree copied to clipboard
MeleeArmor/PierceArmor differs from Base Melee/Pierce
I have found that for some siege units the MeleeArmor/PierceArmor differs from Base Melee/Pierce in the Armours dict.
e.g. Battering Ram https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/data.json#L13305
"MeleeArmor": 0,
...,
"PierceArmor": 180,
vs.
"Armours": [
{
"Amount": -3,
"Class": 4
},
{
"Amount": 180,
"Class": 3
},
...
],
Other siege units affected:
Capped Ram https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/data.json#L6269 Siege Ram https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/data.json#L7536 Siege Tower https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/data.json#L11638
Those properties are actually named "Displayed[Property]" in the game files. I guess they only influence what is being displayed in-game, but not what is actually calculated. https://github.com/SiegeEngineers/aoe2techtree/blob/master/scripts/generateDataFiles.py#L569
This issue can be closed because devs have fixed it themselves.