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

Macro Help

Hello! I've tried a few different things that I might be able to just make work as long as I update the modifiers as they change and whatnot, but here's the thing: I'm going to be dual-wielding, and I was hoping to set up just a quick class action button or something to embody two or more attacks for me, clean and easy in one block if possible.  &{template:5eAttack} {{name=@{meleeweaponname1}}} {{attack=[[1d20+@{meleetohit1}]]}} {{attackadv=[[1d20+@{meleetohit1}]]}} {{attack=[[1d20+@{meleetohit2}]]}} {{attackadv=[[1d20+@{meleetohit2}]]}} {{damage=[[@{meleedmg1}+@{meleedmgbonus1}]]}} {{dmgcrit=[[@{meleedmg1}]]}} {{damage=[[@{meleedmg2}+@{meleedmgbonus2}]]}} {{dmgcrit=[[@{meleedmg2}]]}} I tried that, but it's not displaying quite right and I'm not sure what to do to change it lol. 
Huh...ok that's not going to work at all then as it only rolls for one attack. It also looks like it isn't accounting for the damage mods...unless it's pulling the weapon 2 modifier which makes sense since it shouldn't get one for dual-wield...but...bah...
Try this instead: &{template:5eDefault} {{weapon=1}} {{title=@{meleeweaponname1}}} {{attack=[[1d20+@{meleetohit1}]]}} {{attackadv=[[1d20+@{meleetohit1}]]}} {{damage=[[@{meleedmg1}+@{meleedmgbonus1}]]}} {{critdamage=[[@{meleedmg1}]]}}{{spellshowattackadv=1}} {{spellcancrit=1}}{{spellattack=[[1d20+@{meleetohit2}]]}} {{spellattackadv=[[1d20+@{meleetohit2}]]}} {{spelldamage=[[@{meleedmg2}+@{meleedmgbonus2}]]}} {{spelldamage=[[@{meleedmg2}+@{meleedmgbonus2}]]}} {{spellcritdamage=[[@{meleedmg2}]]}}  General format for 5e custom macros that I use ( This is not the only way ) is: &{template:5eDefault} {{weapon=1}}      ( this sets the text formatting with a green header bar ) {{title= bold text in green bar }} {{subheader= small text on left header }} {{subheaderright= small text on right header }} {{attack= first attack roll }} {{attackadv= advantage attack roll }} {{damage= regular damage }} {{critdamage= additional critical hit damage }} {{spellshowattack=1}}  {{spellcancrit=1}}   ( This sets up a second attack, using the spell rolls ) {{spellattack=f irst attack roll }} {{spellattackadv= advantage attack roll }} {{spelldamage= regular damage }} {{spellcritdamage= additional critical hit damage }}
Hmmm...that seems to just activate the first weapon slot as though I'd rolled it alone from the sheet. I may be doing something wrong (consider me very much a newb at macro) though of course. XD