
Hey all. So I have a character with Elven Accuracy and need to be able to roll 3d20s at certain times when I get advantage. I found a nifty little way to do this over on Reddit with the following code:
{{query=1}} ?{Advantage?|Normal Roll,{{normal=1}} {{r2=[[0d20|Advantage,{{advantage=1}} {{r2=[[2d20k1|Disadvantage,{{disadvantage=1}} {{r2=[[1d20}
The unfortunate part about this is it requires me to go into Attributes and Abilities and change the rtype to this code when I need the extra advantage, then go back to it and paste the regular code in when I don't need it. Is there a macro or api I could use to change the rtype between the 2 different codes?