Does damage engine calculate damage before armor? I think not.
If you're gonna remake the game basics you might as well code a game from scratch in unity or somethingIf you code all the data, you will then be able to do "GetUnitDamage()" or stuff like that to get the attack damage with 100% accuracy within microseconds... aka instantly.
But that is only for some more experienced coders :/