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 Character sheet attack macros stopping prematurely

While using the Pathfinder character sheet, my players have complained about the macro button labels being entirely too long and ambiguous when the buttons are dragged from the sheet down to the macro bar. Since I could not figure out a way to modify these button labels, my workaround was to create simple macros that linked to the button itself on the sheet. I changed the "selected" to the specific player names for each attack and shared these macros with my players. All things worked well unit we came to a point where a macro button linked to an attack with more than one roll was used. In the example below, I added an additional 1d4 roll for bleed damage. When the button on the sheet is used, it rolls both sets of the macro. When the newly created macro is used, it stops after the @{notes}}}}. This issue existed for any macro with more than one roll. New Macro Button: %{" insert player name" |repeating_weapon_1_Attack} On Sheet Macro: &{template:pf_attack} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=@{name}}} {{attack=[[1d20cs>@{crit-target} + @{total-attack}]]}} {{damage=[[@{damage-dice-num}d@{damage-die} + @{total-damage}]]}} {{crit_confirm=[[1d20 + @{total-attack}]]}} {{crit_damage=[[(@{damage-dice-num} * (@{crit-multiplier} - 1))d@{damage-die} + (@{total-damage} * (@{crit-multiplier} - 1))]]}} {{type=@{type}}} {{description=@{notes}}} &{template:pf_attack} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=Bleed}} {{damage= [[1d4]]}}{{type=Bleed}} Should I be altering either my character sheet macro or my new macro in any way to ensure it respects the entire statement? Thank you
1431289450
vÍnce
Pro
Sheet Author
Hi Michael. On the PF sheet, the attack button row (the one you are linking to) has it's macro "hard coded" into the sheet. The only way to modify the macro is to modify the actual html of sheet. The repeatable items on the sheet have a macro text area that allows you to modify the macro directly. The downside is that you cannot drag/drop the repeatable item button to the macro quick bar and you cannot reference the button's name like you can with the attack button row. Sadly, this is a limitation of repeatable items. ( Official support for repeating sections in character sheets ) The PF sheet includes both types(button row and repeatable item button) for flexibility,, but can cause some confuson as well. So, that said. You can either modify the sheet's html for the button bar rolls, use the repeatable item's macro text to customize your macro, but have to use the button from the sheet, or you can use the macro text as a guide to make a custom ability macro "off-sheet" . Obviously your macro is going to be HUGE. You will have to reference each repeatable item attribute and included any of the formula's used, such as total-attack. I posted a similar answer in the old Pathfinder Thread <a href="https://app.roll20.net/forum/post/1498595/#post-1850520" rel="nofollow">https://app.roll20.net/forum/post/1498595/#post-1850520</a>