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] Macro reset itself from time to time

I am using the pathfinder character sheet. I tried to modify the macro for attacks and damag. But for some reason the damage macro reset do default every minute or so. I tried to add the following at the end of each respective macro to deal with deadly aim. -[[?{Deadly aim|Yes,1|No,0}*(1+floor(@{bab}/4))]] +[[?{Deadly aim|Yes,1|No,0}*2*(1+floor(@{bab}/4))]] default attack: [[ @{total-attack} ]] [Total] + @{toggle_attack_macro_insert} + @{attack-type_macro_insert} + @{toggle_global_attack_macro_insert} default damage: [[ @{total-damage} ]] [Total] + @{toggle_damage_macro_insert} + @{damage-type_macro_insert} + @{toggle_global_damage_macro_insert} Anyone got an idea as to why it reset? Thank you
1557676693
vÍnce
Pro
Sheet Author
Where are you inserting your damage query macro?  There is a section to add global attack and damage mods as well as each individual repeating weapon/attack row.
On the general macro for the attacks.
1557706768

Edited 1557710379
vÍnce
Pro
Sheet Author
The Attack Macro and Damage Macro are shown only for reference (I thought we made these 2 fields read-only at one time.  I'll make a note to look into that... sorry)  As you've learned, they will revert back to their defaults if the repeating attack gets re-calculated by the sheet workers.   Try adding your Deadly Aim queries to the "Extra Damage or Attack Modifiers", Attack-Add-to-Roll macros (ranged attacks and damage)  Since that is what those fields are for. edit/update : Hmm.  I could be wrong about those 2 fields... I'm not able to replicate the attack and damage macro fields resetting to their default macro unless I delete them.  Are you able to find a sequence/pattern that can be replicated that causes them to reset? edit/update #2:  Looks like the damage macro resets after closing/re-opening the sheet.  Attack macro seems to stick though.  Do you notice the same behavior Elgate? edit/update #3:   I think I found the bug(typo).  I'll try and get a fix submitted this week.  Thanks for finding this.
1557730706

Edited 1557869097
vÍnce
Pro
Sheet Author
Fix added:&nbsp; <a href="https://github.com/Roll20/roll20-character-sheets/pull/5071" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/pull/5071</a> actually, it will be included with next week's pull.&nbsp;&nbsp; <a href="https://github.com/Roll20/roll20-character-sheets/pull/5075" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/pull/5075</a>