
I followed the instructions in this thread: <a href="https://app.roll20.net/forum/post/5625928/elven-accuracy-sneak-attack-and-booming-blade" rel="nofollow">https://app.roll20.net/forum/post/5625928/elven-accuracy-sneak-attack-and-booming-blade</a> There were a few typos, which I corrected (and along the way FINALLY made sense of these macros). But I also made what I think is an improvement: instead of querying for Elven Accuracy, I just made the 2nd roll use 2d20 and use the higher one. The logic being that if you are rolling with advantage you get the 3rd die, and if you aren't you just ignore the 2nd result. So there's one less query to click through when you use the ability. Seems to work great. I also removed the secondary damage from Booming Blade. I don't like rolling that at the time of the attack; I prefer to wait until and unless the target moves. Enjoy: &{template:atkdmg} {{rname=Shortsword}} {{mod=[[@{dexterity_mod}+@{pb}]]}} {{attack=1}} {{r1=[[1d20cs>20+@{dexterity_mod}+@{pb}]]}} {{always=1}} {{r2=[[2d20kh1cs>20+@{dexterity_mod}+@{pb}]]}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d6+@{dexterity_mod}+?{Sneak Attack?|No,0|Yes,[[ceil(@{level}/2)]]d6}]]}} {{dmg1type=Piercing}} ?{Booming Blade?|No,|Yes,{{dmg2flag=1}}} {{dmg2=[[[[floor((@{level} + 1)/6)]]d8]]}} {{dmg2type=Thunder}}{{crit=1}}{{crit1=[[1d6+?{Sneak Attack?|No,0|Yes,[[ceil(@{level}/2)]]d6}]]}}{{crit2=[[[[floor((@{level} + 1)/6)]]d8]]}} @{charname_output}