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] Pathfinder sheet - Buff array data entry

November 30 (9 years ago)
Newer user here, so if there is an existing thread I have not found, please point me there.  

I am using the PF template and I'm unable to enter in values for the buffs I need to add. I'm doing this as a player for a game, not as a GM. For example, I am able to add the buff title, and make field 'Buff1_Name', but the remainder of the values I can't enter (ex: Buff1_melee_pre). Are these values coming from somewhere else, or is this something that only the GM can modify? Just point me in the right direction, and I should be able to break it.. :)

TIA
December 01 (9 years ago)
vÍnce
Pro
Sheet Author
Hi Mike.  I might know something about the buffs array.  ;-)
The value of @{buff1_Melee_macro-text}(which is a user editable field) is used for @{buff1_Melee_pre}(which is a disabled auto-calc attribute) is added with the other 9 Melee_pre attributes in the column when toggled (using @{buff1_Toggle}) to supply the value for @{buff_Melee-total}(which is a disabled auto-calc attribute).  Each column has it's own "total" attribute that is used in various other auto-calculated attributes used on the sheet.  If you hover over each column header, you can see where each column total attribute is applied.  For example, total-attack with attack type "melee" will include @{attk-melee} which includes @{buff_Melee-total}.  This same methodology is used for all 14 column headers.  You should be able to post any attribute you want using a macro.  I "had" an ability macro that posted all attributes from the buffs array when I was creating it.  All that said, what are you trying to do actually?
December 01 (9 years ago)
Thanks Vince. Perhaps I'm misunderstanding the purpose of the array. My assumption was I could add in buff values to apply to my character when another player casts them. For example, when our Bard is singing, I would enable the 'Bard Song' from the table that would apply to my character. I don't think that is what this is for, so could you please explain the purpose? Sorry if I'm being dense - still trying to get up to speed on Roll20. Man, you all put a TON of work into these forms - awesome job! Wish the folks who code here at work did this well... but then work isn't as fun as this.
December 01 (9 years ago)

Edited December 01 (9 years ago)
vÍnce
Pro
Sheet Author
Actually the buffs arrray works as you expect, but it needs to be done from the sheet directly. For example "Bull's Strength":  On the array, Enter the name and under the STR column enter 4.  When you toggle on row 1, you will see that STR total at the bottom will increase by 4, the Buffs column under STR will increase by 4 and the STR Mod column will increase by 2.  All other abilities/skills/feats/attacks/etc. that use STR-mod in their calculations will also be affected.  You can enter up to 10 Buffs that will affect up to 16 attributes directly and toggle them as needed.  AFAIK, you can't actually write data to attaributes using macros, so it has to be done on the sheet. API scripts like token mod can affect a token and it's linked attributes, but that is rather limiting.  
December 03 (9 years ago)
Mered! So what I was doing was trying to type in the blue formula fields, and not in the white data fields below them. I'm such a n00b. Thank you again for guidance and paitence.