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

[PF] Use for the buff notes attribute

I was setting up my buffs when I noticed that the buff notes have an attribute. At first I thought it would tack them on to rolls modified by the buff (like it might add "Flanking" to melee attack rolls when active) but this doesn't seem to be the case.  Is there a way to modify the attack macros so that the buff notes show when the buff is active? If I put the attribute in the macro, will it show all the time, or only when the buff is enabled?
1478220420
vÍnce
Pro
Sheet Author
AFAIK there currently isn't a way to have a buff's notes displayed only when enabled.  You could include a buff's notes( @{repeating_buff_$X_buff-notes} enter a rows# for X or substitute using a rowID) directly within macro-text and even include the toggle attribute ( @{repeating_buff_$X_buff-enable_toggle} ) next to it to indicate if it's enabled.   "1" for enabled, "0" for not.  This will always be included with your macro output.
1478234795
Tetsuo
Forum Champion
With the power cards API (a pro level perk) you could do --?? @{repeating_buff_$X_buff-enable_toggle} = 1 ?? @{repeating_buff_$X_buff-notes}| to have the macro only display the buff notes if the buff is enabled, I'm pretty sure. This is untested
1478279986
chris b.
Pro
Sheet Author
API Scripter
yeah to add it to all rolls is tough.. since there are so many things that can be affected by the roll.