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

Pathfinder: Variable Bonus to Knowledge Checks

I am trying to add my Wisdom bonus to my INT knowledge checks. The code I am using is this: + [[ ?{Monster Lore?|Yes,1|No,0}*(class-0-name|WIS-mod) ]] The Macro for the entire roll goes like this: &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag} {{font=@{apply_specfont_chat}@{use_specfont}}} {{scroll_desc=@{scroll-desc}}} {{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic-skill}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=^{knowledge-planes}}} {{Check=[[ @{skill-query} + [[ @{Knowledge-Planes} ]] ]]}} @{Knowledge-Planes-ut} @{skill_options} @{Knowledge-Planes-cond-notes} {{generic_note=@{Knowledge-Planes-note}}} I am pretty sure it is my code rather than Roll20. What is wrong with it? And where in the roll macro does it go?
1683040089
Gauss
Forum Champion
Hi Tristan,  Which character sheet are you using? If you don't know the name of it a screenshot would let me identify it. 
1683041017

Edited 1683041041
vÍnce
Pro
Sheet Author
That's the PF Community sheet. Assuming you are editing the Skill's macro-text field... Try this; &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag} {{font=@{apply_specfont_chat}@{use_specfont}}} {{scroll_desc=@{scroll-desc}}} {{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic-skill}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=^{knowledge-planes}}} {{Check=[[ @{skill-query} + [[ @{Knowledge-Planes} ]] + [[ ?{Monster Lore?|Yes,1|No,0}*@{WIS-mod} ]] ]]}} @{Knowledge-Planes-ut} @{skill_options} @{Knowledge-Planes-cond-notes} {{generic_note=@{Knowledge-Planes-note}}} You'll need to add, + [[ ?{Monster Lore?|Yes,1|No,0}*@{WIS-mod} ]] to any other Knowledge checks similarly.
1683042473
Gauss
Forum Champion
Ahhh thanks Vince, I didn't recognize that from the template. 
vÍnce said: That's the PF Community sheet. Assuming you are editing the Skill's macro-text field... Try this; &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag} {{font=@{apply_specfont_chat}@{use_specfont}}} {{scroll_desc=@{scroll-desc}}} {{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic-skill}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=^{knowledge-planes}}} {{Check=[[ @{skill-query} + [[ @{Knowledge-Planes} ]] + [[ ?{Monster Lore?|Yes,1|No,0}*@{WIS-mod} ]] ]]}} @{Knowledge-Planes-ut} @{skill_options} @{Knowledge-Planes-cond-notes} {{generic_note=@{Knowledge-Planes-note}}} You'll need to add, + [[ ?{Monster Lore?|Yes,1|No,0}*@{WIS-mod} ]] to any other Knowledge checks similarly. Thank you