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 .
×

Favored Foe and Damage Roll Macro

Hi,  I'm currently using the following macro for a Ranger longbow attack with favored foe query: @{Dargrim Drunkeye|wtype}&{template:atkdmg} {{mod=+7}} {{rname=Longbow}} {{r1=[[@{Dargrim Drunkeye|d20}cs>20 + 5[DEX] + 2[PROF]]]}} @{Dargrim Drunkeye|rtype}cs>20 + 5[DEX] + 2[PROF]]]}} {{attack=1}} {{range=150/600}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + 5[DEX] + ?{Favored Foe|Yes,2|No,0}[FAV]]]}} {{dmg1type=Piercing }} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{crit1=[[1d8[CRIT]]]}} {{crit2=[[1d10[CRIT]]]}} 0 {{desc=}} {{spelllevel=}} {{innate=}} @{Dargrim Drunkeye|global_attack_mod} @{Dargrim Drunkeye|global_damage_mod_crit}  ammo=Arrows @{Dargrim Drunkeye|charname_output} It works great, however I would like to put in a "Hit Yes/No" query before automatically rolling for damage - currently, it looks like this after executing: Not sure if it's possible but any help would be great. Thanks, Survivorist
You can't put a hit query in that macro, as it won't post anything until all queries are answered. Since you don't see the attack roll, you won't see if you've scored a hit. Instead of the atkdmg template, do 3 different macros: 1 with the atk template for the attack roll, and the other two with the dmg template: one for regular damage, and one for critical damage. In the attack macro, where you have rname and rnamec you have to have make the names buttons that run the regular and critical macros. For instance, if I was making that I'd name the attack macro Longbow-Atk, the regular damage macro Longbow-Dmg, and the critical macro Longbow-Crit. In the macro for the attack, rname would be [Longbow](~Longbow-Dmg) and rnamec would be [Longbow](~Longbow-Crit). Just make sure not to put crit info in the regular damage once, but then the crit one needs both regular and critical damage fields filled out.