
I am attempting to create a macro for my TTRPG's damage calculation. After a hit is determined, a roll is made to determine Impact Damage based on the weapon. This is then cross referenced with a d100 roll to determine the location of the hit, then depending on the armor the target is wearing in that location, then the Total Damage is given. so for example if I hit someone with an axe and deal 3 damage on their unarmored head it'd deal 30 Total Damage.
My question is, is this possible with a macro, or will I need to get into scripting, I'm sorry I'm very ignorant to the more intricate use cases for Roll20 and I'd like some advice or at the very least be told this isn't possible. I've already got a macro setup for the attack with different weapons and even a simple rollable table that it references to output hit location.
&{template:default} {{name=Broadsword Stab}} {{attack= [[1d100+?{Modifier?}]]}} {{damage= [[1d3]]}} {{hit location= [[1t[StabHitLocation]]]}}
This seems to work fine, but i'd like something that would automate the rest of the process.