
I'm having a lot of troubled getting through the Macro Wiki for roll20 to find the specific way to create a macro that does the following: A D12 is rolled, and the character may reroll every 12 that comes up with a +4 cummulative modifier. So, if the reroll comes up a 12 the second time a +8 is added, and if it comes up 12 a third time +12 is added, etc. On the other hand, every 1 that comes up is rerolled with a -4 cummulative modifier. So, if the reroll comes up a 1 the second time a -8 is added, and if it comes up 1 a third time a -12 is added, etc.