Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Toggle Switch for an Additional d20 on Advantage (3d20k1) and Toggle Switch for Extended Crit Range (19-20)?

I'm using the " D&D 5E by Roll20 " character sheet and would like some macro help, specifically I would love to set up some toggle switches. My character is using Elven Accuracy and Hexblade's Curse . Elven Accuracy: When making a roll with advantage, instead of rolling 2d20k1, it's 3d20k1. It has more nuance than that, but if I can get it as a toggle switch then its exact particularities don't matter as I can shut it off and on when it applies. Getting this to work with the character sheet is very important so that critical hits on attack rolls are properly recognized and it will automatically roll the correct amount of die on a crit. Here are the exact particularities of Elven Accuracy, in the event that helps: Only works with attack rolls, and the attack roll must use Dex, Int, Wis, or Cha. You still only roll 2d20, however, you can choose to reroll one of the die then keep the new highest result. If you give it some thought for a couple of minutes, you'll realize that's the exact same as 3d20k1. Hexblades's Curse:  My crit range on all of my attacks are extended to 19-20, instead of the default of just 20. This is only for a short duration and only against a specific target, so having this on a switchable toggle would be really nice. I understand that I could make a duplicate of all of my attacks and edit the crit ranges on all of them individually, using the proper versions when appropriate. However, I'm playing a Monk/Cleric/Warlock multiclass abomination; I have a lot of different attacks I can make. Duplicating all of my attacks would be tedious, bog up my character sheet, and finding the ones with the correct crit range at the given moment would be slow. I found a nice macro the works for Elven Accuracy, however, it's a quarry, which I do not want. I'm making four attacks every turn, going through a drop-down menu every time I want to attack would get tedious quick. That particular quarry also affects all d20 rolls, so I would have to go through a drop-down whenever I want to do practically anything. For those curious, here's the macro (under Abilities & Traits, replace what's in "rtype" with it): {{query=1}} ?{Advantage?|Normal Roll,&#123&#123normal=1&#125&#125 &#123&#123r2=[[0d20|Advantage,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[1d20|Elven Accuracy,&#123&#123advantage=1&#125&#125 &#123&#123r2=[[2d20k1|Disadvantage,&#123&#123disadvantage=1&#125&#125 &#123&#123r2=[[1d20} If you can get both of these as toggles (and have them both work together), I'll marry you.
1607908789

Edited 1607910775
Oosh
Sheet Author
API Scripter
Unfortunately there's no such thing as a toggle available to use in macros - the toggles built in to character sheets are javascript sheetworkers which modify Attributes each time their corresponding button/checkbox is changed. There's no way to reproduce this behaviour without use of the API or a custom sheet (both requiring a Pro game). If you have API available in your game, a macro can use chatSetAttr to put you into Hexblade/Super Advantage mode, then toggle it off again afterwards. Without API, you can't change your sheet via macros. Your only real options are to have multiple macros or use Queries - there's just no way around it without API access. Also, be wary of modifying the pre-existing Attributes on the sheet. Anything that triggers a related sheetworker will overwrite your changes. edit - so you could do this with global attacks mods, though with such a MAD build, you might need a few of them. I'm unsure why you'd be splitting your attacks so widely, you'd generally just stick to the most damaging cantrip (probably EB) + martial arts, I would have thought... but that's obviously up to you. Leveled spells with attack rolls are pretty rare. Anyway, this would simulate HB Curse and super advantage (for Dex), and can be checked on and off in the global section: 0]]}}{{global=}} {{r2=[[2d20k1cs>19 + @{dexterity_mod} + @{pb}]]}} {{r1=[[1d20cs>19 + @{dexterity_mod} + @{pb} You'd need to add another for any other Attribute you're going to attack with when you have super advantage, and a global damage mod for HBC's proficiency damage. You could also change your core die roll (on the settings page, or the @{d20} attribute) to this: 1d20cs>19cf1cf19 That will give you a blue output for 19's - you could then leave it on all the time instead of toggling it, blue = crit if the target is cursed. That would massively cut down the amount of work required, you should just need 2-3 global attack mods (modified from above to include blue 19 colouring), and the HBC global damage mod.
1607910744
Jordan C.
Pro
API Scripter
While there isn't a toggle, you could  have a separate token somewhere unobtrusive that has a list of token actions that apply the buffs and use the token actions from that one whenever you need the buff and use the token actions from the original token when you don't. Not ideal, but perhaps functional.