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

[5e Community] DnD5e Character Sheet v.1.1.4 - Fine-tuning macro for sneak-attack

So I'm playing a rogue, and have added the class action for Sneak Attack and linked it to ranged and melee attacks. So far so good. Then I added the possible crit damage as well, also so far so good. BUT..... Just like in the built-in weapon-use macro I would like to have the second crit-damage for sneak attack only show up IF there is a crit roll, and I've not been able to find how to refer to the earlier roll to decide if the roll should be made or not. Could savvy users point me in the right direction please?
I skipped using the class action section and rewrote the attack macro from scratch and added in my sneak attack damage into the damage and crit damage output. This macro is for melee weapon 1, you can change it for each weapon the character has. &{template:5eDefault} {{character_name=@{Selected|character_name}}} {{title=@{Selected|meleeweaponname1}}} {{subheader=@{Selected|character_name}}} {{subheaderright=Sneak attack}} {{weapon=1}} {{simple=1}} {{rollname=Attack}} {{roll1=[[ 1d20cs>@{Selected|meleeweaponcritrange1} + [[@{Selected|meleetohit1}]] + [[@{Selected|global_melee_attack_bonus}]] ]] }} {{weapondamage=[[@{Selected|meleedmg1} + [[@{Selected|meleedmgbonus1}]] + [[(@{Selected|global_melee_damage_bonus})]] ]] @{Selected|meleedmgtype1} [[(@{selected|rogue_level}/2)d6]] **Sneak Attack** }} }} {{weaponcritdamage=Additional [[@{Selected|meleecritdmg1}]] @{selected|meleedmgtype1} [[(@{selected|rogue_level}/2)d6 ]] **Sneak Attack** @{selected|classactionmeleeweapon}} @{selected|ro_melee1} {{To hit= **AC** [[@{target|bar2}]]}} {{target=*@{target|token_name}*}} @{selected|classactionmeleeweapon} Happy gaming 
That kinda works.... would still love to really get it blended into the built-in, but I'll easily fall back to this one if I can't get there. Thx Ed.