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

Passive Scores Macro

Hi I am trying to make a macro to display the Passive Scores of a certain skill. I am using the shaped sheet if that matters. So far I have this macro for passive perception macro: /w gm &{template:default} {{name=Passive Perception}} {{P1 [[14]] P2 [[13]] P3 [[13]] P4 [[12]] P5 [[11]]}} Is there a better way to do this than just adding the values so that I can do the other skills faster and wont have to change later when their stats change?
1583181987
GiGs
Pro
Sheet Author
API Scripter
You will need to find the name for the attribute that governs passive perception, but then you can simple do /w gm &{template:default} {{name=Passive Perception}} {{Frodo=@{Frodo|Perception}}} {{Gimli=@{Gimli|Perception}}} It's probably not Perception. You can right-click on an attribute, click inspect, and in the toolbar that props up itll be there somewhere, with a name something like "name=attr_passive-perception" The bit after the attr_ is the attribute name.
That worked great! Thank you. Problem is there is no Passive Perception score actually on the sheet, but I can just add 10 to the perception score. Not exactly sure how to do that.
1583200896
GiGs
Pro
Sheet Author
API Scripter
use Inline Roll brackets to perform a calculation, like so {{Frodo=[[10+@{Frodo|Perception}]]}}
There is passive for 5e Shaped character sheets but it is turned off by default. In between the Character and Pencil button there is a gear button. Click on the gear and then in the bottom left corner you will see Passive Skill, just click the box to the right of it to turn on the Passive Skills.  As a GM I use this macro to roll Perception skill and to get their passive skill. Just replace the Names. /w gm &{template:5e-shaped} {{title=Perception}} {{text= **Gashnahk:** Rolled =[[@{Gashnahk|shaped_d20}+@{Gashnahk|repeating_skill_$11_total}]] Passive = [[@{Gashnahk|repeating_skill_$11_passive}]] **Sable:** Rolled = [[@{Sable|shaped_d20}+@{Sable|repeating_skill_$11_total}]] Passive = [[@{Sable|repeating_skill_$11_passive}]] **Arzire:** = [[@{Arzire Krenkendreath|shaped_d20}+@{Arzire Krenkendreath|repeating_skill_$11_total}]] Passive = [[@{Arzire Krenkendreath|repeating_skill_$11_passive}]] **Nari:** Rolled = [[@{Nari|shaped_d20}+@{Nari|repeating_skill_$11_total}]] Passive = [[@{Nari|repeating_skill_$11_passive}]] **Dorver:** Rolled = [[@{Dorver Folker|shaped_d20}+@{Dorver Folker|repeating_skill_$11_total}]] Passive = [[@{Dorver Folker|repeating_skill_$11_passive}]] }}
That is amazing... thank you!