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 .
×

Hotbar Custom Weapon Rolls

1407647197

Edited 1407647364
First post ever on roll20! I'm playing a level 8 Magus in a Pathfinder game with some friends. Magus tend to use Shocking Grasp a lot when fighting, so I was wanting to just make a weapon macro then call it in a custom macro for the hotbar rather than having to do a weapon attack click and a Shocking Grasp click. The edited macro for my character sheet works the way I intend for it to but when I call it in the hotbar it acts as if no modifications to the macro happened. Edited weapon macro combining a weapon attack with a Shocking Grasp discharge (the only things changed are the Damage Result, Crit Confirm, and Crit Damage lines: /em is attacking with @{name}! Attack Result: [[1d20 + @{total-attack}]] (Needs at least [[(@{crit-target}) + @{total-attack}]] to crit.) Damage Result: Phys: [[@{damage-dice-num}d@{damage-die} + @{total-damage}]] + Elec: [[@{class-0-level}d6]] Crit: @{crit-target}/x@{crit-multiplier} Crit Confirm: [[1d20 + @{total-attack} + @{Int-mod} + @{repeating_feat_8_max-calculation}]] Crit Damage: +[[(@{damage-dice-num} * (@{crit-multiplier} - 1))d@{damage-die} + (@{total-damage} * (@{crit-multiplier} - 1))]] + Elec: [[@{class-0-level}d6]] Type: @{type} Notes: @{notes} @{attack-notes} Result when rolling from the character sheet: Aurek: Attack Result:26 (Needs at least 31 to crit.) Damage Result: Phys: 13 + Elec: 33 Crit: 18/x2 Crit Confirm: 27 Crit Damage: +14 + Elec: 25 Aurek: Type: S Notes: Spell Blade-ing -2 to hit, if Arcane Accuracy +6 Result when rolling from hotbar macro (all the macro is %{Aurek|repeating_weapon_3_Attack} ): Aurek: Attack Result:14 (Needs at least 31 to crit.) Damage Result: 14 Crit: 18/x2 Crit Confirm:22 Crit Damage: +14 Aurek: Type: S Notes: Spell Blade-ing -2 to hit, if Arcane Accuracy +6 The normal to hit bonus is 13 and the crit confirm bonus is 20. In the second macro both are at +13. My campaign has no API's running (though we do have a global @Acrobatics etc. for skill checks for a selected token). Not sure if that plays a factor. Thanks in advance!
1407649396
Sam M.
Pro
Sheet Author
I'm assuming you're talking about the bar with all the buttons in the weapon section. Those buttons are hard coded to one kind of output, which is completely different from what you're trying to do. The best solution is to either put the electricity damage in the notes section or male your own macro.
1407650240

Edited 1407650473
I guess we are using different terminology. When you make a custom macro under the gear settings tab, you can check the In Bar box. One of those custom macros calls %{Aurek|repeating_weapon_3_Attack} which is the weapon/Shocking Grasp macro. The macro shows up at the bottom of the screen and you can click it to execute it. EDIT: Huh, you are correct though about the hard coding. Since it uses the same % terminology maybe it can't be changed? It uses "selected" instead of "Aurek" though. Thank you for the notes suggestion. It doesn't fix the Crit Confirm difference problem though.
1407686429
Sam M.
Pro
Sheet Author
Your total must be incorrect or you're adding something that the sheet isn't picking up. Make sure the ATK is what it's supposed to be.
The button next to the weapon entry rolls everything correctly, it's just that when I roll using the % terminology in a custom macro or the bar across the top of the attacks page that produces a roll as if there were no modifications. So my custom editions to Damage/Crit Damage/Crit Confirm are ignored. If there's not a way around this then that's fine. I'd just like to know if there is a way. Thanks for your replies!
the row of buttons actually use a completely different macro to the repeating section modifiable field. So if you change the macro text it will not flow through. The only way to change the %{repeating_weapon_0_attack} macro is to have mentor status and use a custom sheet. The reason for this limitation is that Sam cannot reference any autocalculated fields from a repeating weapon. So all the calculations need to be done again in the button macro