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

Creating a Macro that delays PC attack descriptions until the damage is showed

What the title states. I'm trying to find a way to display other nested macros, but I don't want them to show up until after the attack is confirmed. Apologies if this isn't the right place to post this type of question, this is the first post I've made.
This is for DnD 5th Edition, and I'm intending to use it for a macro that rolls Elven Accuracy and has links to a Piercer Feat Macro in the description. Currently it just looks like this when I activate the macro, but as stated I want the Piercer-D12/Piercer-D6 macros to not appear yet. Let me know what other context I should give.
1715322194

Edited 1715322226
Gauss
Forum Champion
Hi Danila Z,  In short, you cannot do what you want if you want to retain the appearance of the D&D 5e by Roll20 attack and damage output. The damage template does not display the description, the attack template does. With that said, if your game owner has a Pro account an API Script might do the job by giving the user a decision point after the damage is  displayed.
Sad, but understandable. Thank you for the quick response!
err... actually, there is a way to do this... You need to overwrite the [Elven Musket] link and add a couple of abilities to your character sheet to do what you want. First save the definitions for you piercer buttons you'll need to add them back in later. Next on the Core tab of you character sheet copy the following text into the description box under your Elven Musket attack: }} {{rname=[Elven Musket](~selected|elven_musket_dmg)}} {{rnamec=[Elven Musket](~selected|elven_musket_crit)}} {{ You can replace the 2 occurrences of "selected" with your character name or you will need to have the token selected for this to work.  This will over-ride the default damage button. Go to the Attributes & Abilities tab on you sheet and add the 2 following abilities: elven_musket_dmg &{template:dmg} {{rname=Elven Musket}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d12]]}} {{dmg1type=piercing}} {{desc=Add your piercer links here.}} elven_musket_crit &{template:dmg} {{rname=Elven Musket}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d12]]}} {{dmg1type=piercing}} {{crit=1}} {{crit1=[[2d12]]}} {{desc=Add your piercer links here.}} Now when you click the [Elven Musket] button either elven_musket_dmg or elven_musket_crit will be executed depending on whether it's a critical hit or not.