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

Hiding Save portion of the atkdmg template on a regular attack

Playing 5th Edition of D&D but we are not utilizing character sheets. I currently have this macro using the Attack & Damage template, the issue I'm having is the character has received an item that only prompts a saving throw on Critical Hits against Large or smaller enemies. I've attempted using a prompt that returns a 0 for the "save" attribute but the save is still shown regardless. Is there any way to reveal the save portion of this macro on Critical Successes and hide it on every other roll? !?{What kind of roll?|Normal,normal=1|Advantage,advantage=1|Disadvantage,disadvantage=1} !?{Sneak Attack?|No,0|Yes,6} !?{Is the creature large?|No,0|Yes,1} &{template:atkdmg} {{mod= 10 }} {{rname= Scimitar +1 }} {{r1= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{?{What kind of roll?}}} {{r2= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{attack=0}} {{range= Melee, Finesse, Light, Reach 5 ft }} {{damage=1}} {{dmg1flag=1}} {{dmg1= [[1d6 + 5[DEX] + 1[Magic Weapon] + 5d?{Sneak Attack?}[Sneak Attack] ]] }} {{dmg1type= Slashing }} {{damage=1}} {{dmg2flag=1}} {{dmg2= [[4[Viper's Venom] ]] }} {{dmg2type=Poison }} {{crit1= [[6[Weapon Die] + ?{Sneak Attack?}[Sneak Attack]*5 ]] }} {{crit2= [[2d6[Viper's Venom] ]] }} {{save=?{Is the creature large?} }} {{saveattr=Constitution}} {{savedesc=On a failed save, a large or smaller creature takes poison damage and is poisoned until the start of your next turn. On a successful save, a creature takes half as much poison damage and isn't poisoned. }} {{savedc= [[ 8 + 4[PB] + 4[Con Mod] ]] }} {{desc= Nick [Weapon Mastery] - When you make the extra attack of the Light property, you can make it as part of the Attack action instead of as a Bonus Action. You can make this extra attack only once per turn. }} ammo=ammo {{charname= Vetele }}
Attempted in updating the code with the same usage of queries for my normal, advantage, or disadvantage roll for the saves and was unsuccessful. I didn't state it but I'd also like to just flat out hide the save section if the creature is larger than large with a simple query but that doesn't seem to work here. !?{What kind of roll?|Normal,normal=1|Advantage,advantage=1|Disadvantage,disadvantage=1} !?{Sneak Attack?|No,0|Yes,6} !?{Is the creature large or smaller?|No,save=0|Yes,save=1} &{template:atkdmg} {{mod= 10 }} {{rname= Scimitar +1 }} {{r1= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{?{What kind of roll?}}} {{r2= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{attack=0}} {{range= Melee, Finesse, Light, Reach 5 ft }} {{damage=1}} {{dmg1flag=1}} {{dmg1= [[1d6 + 5[DEX] + 1[Magic Weapon] + 5d?{Sneak Attack?}[Sneak Attack] ]] }} {{dmg1type= Slashing }} {{damage=1}} {{dmg2flag=1}} {{dmg2= [[4[Viper's Venom] ]] }} {{dmg2type= Poison }} {{crit1= [[6[Weapon Die] + ?{Sneak Attack?}[Sneak Attack]*5 ]] }} {{crit2= [[2d6[Viper's Venom] ]] }} {{?{Is the creature large or smaller?}}} {{saveattr=Constitution}} {{savedesc=On fail, take poison damage and poisoned until the start of your next turn. On save, only take halved poison damage. }} {{savedc= [[ 8 + 4[PB] + 4[Con Mod] ]] }} {{desc= Nick [Weapon Mastery] - When you make the extra attack of the Light property, you can make it as part of the Attack action instead of as a Bonus Action. You can make this extra attack only once per turn. }} ammo=ammo {{charname= Vetele }}
1774978401

Edited 1774978481
Are you using the D&D 5E 2014 or 2024 sheet? That might make a difference on the output.  I'm a little confused when you say you're not using any character sheet, because to use the atkdmg template means that you have a character sheet loaded for the game. Do you mean that you simply aren't filling out any stats on the character sheet?  I'm not certain this will work, but I think it should be what you're looking for. There's likely some other optimization that could be made as well. ! ?{What kind of roll?|Normal,normal=1|Advantage,advantage=1|Disadvantage,disadvantage=1} ?{Sneak Attack?|No,0|Yes,6} ?{Is the creature large or smaller?|No,nosave|Yes,save} &{template:atkdmg} {{mod= 10 }} {{rname= Scimitar +1 }} {{r1= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{?{What kind of roll?}}} {{r2= [[ 1d20cs>19 + 5[DEX] + 4[PB] + 1[Magic Weapon] ]] }} {{attack=0}} {{range= Melee, Finesse, Light, Reach 5 ft }} {{damage=1}} {{dmg1flag=1}} {{dmg1= [[1d6 + 5[DEX] + 1[Magic Weapon] + 5d?{Sneak Attack?}[Sneak Attack] ]] }} {{dmg1type= Slashing }} {{damage=1}} {{dmg2flag=1}} {{dmg2= [[4[Viper's Venom] ]] }} {{dmg2type= Poison }} {{crit1= [[6[Weapon Die] + ?{Sneak Attack?}[Sneak Attack]*5 ]] }} {{crit2= [[2d6[Viper's Venom] ]] }} {{?{Is the creature large or smaller?}=1}} {{?{Is the creature large or smaller?}attr=Constitution}} {{?{Is the creature large or smaller?}desc=On fail, take poison damage and poisoned until the start of your next turn. On save, only take halved poison damage. }} {{?{Is the creature large or smaller?}dc= [[ 8 + 4[PB] + 4[Con Mod] ]] }} {{desc= Nick [Weapon Mastery] - When you make the extra attack of the Light property, you can make it as part of the Attack action instead of as a Bonus Action. You can make this extra attack only once per turn. }} ammo=ammo {{charname= Vetele }} The reason that the Advantage/Disadvantage isn't working is because there are additional changes that are made when a roll is made at Advantage or Disadvantage beyond simply adding {{advantage=1}} or {{disadvantage=1}} to the template.