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

a lil help fine tuning this rouge macro mess please?

howdy, i been playing with macros, got one for me wizard to allow me to make choices for level and damage type ect for a chromatic orb. i spent a few hours modifying it for me rouge, but am having trouble getting it to add critical damage. i added attributes MAM (main attack modifyer +5 thats the dex) and SNEAKY (my current sneak attack dice 1d6) and came up with this - &{template:default} {{name=SHORT BOW pierce}} {{RANGE 80'/320'=[[1d20+@{MAM} ]] [[1d20+@{MAM} ]] }} {{HIT=?{SNEAKY|SNEAK [[1D6+@{SNEAKY}]]|NORMAL [[1D6]]} }}   - thanks fer yer attention and help!
1589193637
Ziechael
Forum Champion
Sheet Author
API Scripter
Can you confirm the system being used and whether a sheet is in place? There are various critical rules as well, which one do you use?
It's the standard roll 20 OGL. I use the standard rules from the PHB for criticals. As an AL DM, I never knew there was other critical options. Thanks for yer time!
1589362772
Ziechael
Forum Champion
Sheet Author
API Scripter
Your simplest option would be to repeat the HIT section for the crit and just change the output to match your crit ruling: &{template:default} {{name=SHORT BOW pierce}} {{RANGE 80'/320'=[[1d20+@{MAM} ]] [[1d20+@{MAM} ]] }} {{HIT= [[?{SNEAKY|SNEAK,1d6+@{SNEAKY}|NORMAL,1d6} + @{dexterity_mod} ]] }} {{CRIT=[[?{SNEAKY|SNEAK,1d6+@{SNEAKY}|NORMAL,1d6}]]}}
1589367757

Edited 1589371325
Oosh
Sheet Author
API Scripter
Just out of interest, are you particularly tied to the default template? I'm a big fan of the npc templates, they're all compact and purdy: You just click the word "attack" (you can change this if you want) and it'll roll damage or crit damage as per the attack roll. I won't worry about posting code or whatever if you're happy with the default template though! Also, the "Daniel V. attacks Hobgoblin" is not part of the template, I just throw them in my macros so I can work out WTF is going on in the combat log if I ever have to go through it - requires a @{target} mouse click on a token though. EDIT - By the way, not sure if anyone in particular maintains the wiki page, but the OGL page is missing a couple of entries under the npcatk template. It has: &{template:npcatk} {{attack=1}} {{name=name}} {{rname=rname}} {{rnamec=rnamec}} {{r1=r1}} {{always=1}} {{r2=r2}} {{description=description}} It's missing the rather important {{type=type}} and {{typec=typec}} entries, which go where the graphic currently has a second 'rname' label. Anywhere in particular I should send or report this?
thanks folks!