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

Add guidance to this Skill check macro and Ability check macro

i have ther following macros I want to add a guidance question to: Skill check Macro &{template:simple}{{?{Roll Type?|Normal,normal|Advantage,advantage|Disadvantage,disadvantage}=1}}?{Ability?|Acrobatics,{{rname=Acrobatics}}{{mod=@{acrobatics_bonus}}} {{r1=[[1d20+@{acrobatics_bonus}]]}}{{r2=[[1d20+@{acrobatics_bonus}]]}}|Animal Handling,{{rname=Animal Handling}}{{mod=@{animal_handling_bonus}}} {{r1=[[1d20+@{animal_handling_bonus}]]}}{{r2=[[1d20+@{animal_handling_bonus}]]}}|Arcana,{{rname=Arcana}}{{mod=@{arcana_bonus}}} {{r1=[[1d20+@{arcana_bonus}]]}}{{r2=[[1d20+@{arcana_bonus}]]}}|Athletics,{{rname=Athletics}}{{mod=@{athletics_bonus}}} {{r1=[[1d20+@{athletics_bonus}]]}}{{r2=[[1d20+@{athletics_bonus}]]}}|Deception,{{rname=Deception}}{{mod=@{deception_bonus}}} {{r1=[[1d20+@{deception_bonus}]]}}{{r2=[[1d20+@{deception_bonus}]]}}|History,{{rname=History}}{{mod=@{History_bonus}}} {{r1=[[1d20+@{History_bonus}]]}}{{r2=[[1d20+@{History_bonus}]]}}|Insight,{{rname=Insight}}{{mod=@{Insight_bonus}}} {{r1=[[1d20+@{Insight_bonus}]]}}{{r2=[[1d20+@{Insight_bonus}]]}}|Intimidation,{{rname=Intimidation}}{{mod=@{Intimidation_bonus}}} {{r1=[[1d20+@{Intimidation_bonus}]]}}{{r2=[[1d20+@{Intimidation_bonus}]]}}|Investigation,{{rname=Investigation}}{{mod=@{Investigation_bonus}}} {{r1=[[1d20+@{Investigation_bonus}]]}}{{r2=[[1d20+@{Investigation_bonus}]]}}|Medicine,{{rname=Medicine}}{{mod=@{Medicine_bonus}}} {{r1=[[1d20+@{Medicine_bonus}]]}}{{r2=[[1d20+@{Medicine_bonus}]]}}|Nature,{{rname=Nature}}{{mod=@{Nature_bonus}}} {{r1=[[1d20+@{Nature_bonus}]]}}{{r2=[[1d20+@{Nature_bonus}]]}}|Perception,{{rname=Perception}}{{mod=@{Perception_bonus}}} {{r1=[[1d20+@{Perception_bonus}]]}}{{r2=[[1d20+@{Perception_bonus}]]}}|Performance,{{rname=Performance}}{{mod=@{Performance_bonus}}} {{r1=[[1d20+@{Performance_bonus}]]}}{{r2=[[1d20+@{Performance_bonus}]]}}|Persuasion,{{rname=Persuasion}}{{mod=@{Persuasion_bonus}}} {{r1=[[1d20+@{Persuasion_bonus}]]}}{{r2=[[1d20+@{Persuasion_bonus}]]}}|Religion,{{rname=Religion}}{{mod=@{Religion_bonus}}} {{r1=[[1d20+@{Religion_bonus}]]}}{{r2=[[1d20+@{Religion_bonus}]]}}|Sleight of Hand,{{rname=Sleight of Hand}}{{mod=@{sleight_of_hand_bonus}}} {{r1=[[1d20+@{sleight_of_hand_bonus}]]}}{{r2=[[1d20+@{sleight_of_hand_bonus}]]}}|Stealth,{{rname=Stealth}}{{mod=@{Stealth_bonus}}} {{r1=[[1d20+@{Stealth_bonus}]]}}{{r2=[[1d20+@{Stealth_bonus}]]}}|Survival,{{rname=Survival}}{{mod=@{Survival_bonus}}} {{r1=[[1d20+@{Survival_bonus}]]}}{{r2=[[1d20+@{Survival_bonus}]]}}}{{charname=@{character_name}}} Ability Check Macro &{template:simple}{{?{Roll Type?|Normal,normal|Advantage,advantage|Disadvantage,disadvantage}=1}}?{Ability Check?|STR,{{rname=Strength check}}{{mod=@{strength_mod}}} {{r1=[[1d20+@{strength_mod}]]}}{{r2=[[1d20+@{strength_mod}]]}}|DEX,{{rname=Dexterity check}}{{mod=@{dexterity_mod}}} {{r1=[[1d20+@{dexterity_mod}]]}}{{r2=[[1d20+@{dexterity_mod}]]}}|CON,{{rname=Constitution check}}{{mod=@{constitution_mod}}} {{r1=[[1d20+@{constitution_mod}]]}}{{r2=[[1d20+@{constitution_mod}]]}}|INT,{{rname=Intelligence check}}{{mod=@{intelligence_mod}}} {{r1=[[1d20+@{intelligence_mod}]]}}{{r2=[[1d20+@{intelligence_mod}]]}}|WIS,{{rname=Wisdom check}}{{mod=@{wisdom_mod}}} {{r1=[[1d20+@{wisdom_mod}]]}}{{r2=[[1d20+@{wisdom_mod}]]}}|CHA,{{rname=Charisma check}}{{mod=@{charisma_mod}}} {{r1=[[1d20+@{charisma_mod}]]}}{{r2=[[1d20+@{charisma_mod}]]}}}{{charname=@{character_name}}} Any thoughts?  everything I try fails.  I have tried adding  ?{Add Guidance?|No,0|Yes,1d4}
1754252734

Edited 1754253648
Gauss
Forum Champion
hi rcbricker,  Which sheet are you using? If you are using the D&D 5e 2014 sheet you can leverage the Global fields.  If you want it added as a global without leveraging the global field you can add {{global=[[?{Add Guidance?|No,0|Yes,1d4}]]}} to your macros before {{charname=@{character_name}}} If you want to add it to the d20 rolls themselves you will have to modify EVERY roll to add it. Example:  {{rname=Strength check}}{{mod=@{strength_mod}}} {{r1=[[1d20+@{strength_mod}]]}}{{r2=[[1d20+@{strength_mod}]]}}| Will need to become {{rname=Strength check}}{{mod=@{strength_mod}}} {{r1=[[1d20+ ?{Add Guidance? | No , 0 $ #124;Yes , 1d4 } + @{strength_mod}]]}}{{r2=[[1d20+ ?{Add Guidance? $ #124 No , 0 $ #124 Yes , 1d4 } + @{strength_mod}]]}}| Note: this was written without testing, I am frankly not about to go digging into a 2-3deep layer of html substitution. :) I recommend the previous method. 
1754257420

Edited 1754257601
I am using the D&D 5e 2014 So you are saying to add the guidance  at the end fo the macro after the last skill such as: {{r1=[[1d20+@{Survival_bonus}]]}}{{r2=[[1d20+@{Survival_bonus}]]}}}  {{global=[[?{Add Guidance?|No,0|Yes,1d4}]] {{charname=@{character_name}}}
1754259113
Gauss
Forum Champion
Yes, that would work just fine. :) If you'd like to use the global checkboxes on the sheet I'd need to make a tweak to that. But if you just want to use the query, the above should work fine.
I will test that and let you know