Heh, I'm starting a campaign as a gun chemist as well (tomorrow as a matter of fact)! So, this is possible but will get complicated, get ready for a deep dive into roll20 macro code. I'm not sure which pathfinder sheet you are using, but the below applies only to the community sheet (aka neceros). You're going to want to setup two attacks, one for single shot attacks and one for scattershot (assuming that your weapon can scattershot). Now, we're going to customize the macro text of each repeating attack: Single Shot Macro @{PC-whisper} &{template:pf_attack} ?{Iterative|Primary/Rapid Shot/Haste,0|2nd,5|3rd,10} ?{Rapid Shot|No,0|Yes,2} @{toggle_attack_accessible} @{toggle_rounded_flag} {{font=@{apply_specfont_chat}@{use_specfont}}} {{scroll_desc=@{scroll-desc}}} {{color=@{rolltemplate_color}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{damage=[[@{damage-dice-num}d@{damage-die} + @{damage_macro}]]}} {{crit_confirm=[[ 1d20 + @{attack_macro} + [[ @{crit_conf_mod} ]] -?{Iterative}-?{Rapid Shot} ]]}} {{crit_damage=[[ [[ @{damage-dice-num} * (@{crit-multiplier} - 1) ]]d@{damage-die} + ((@{damage_macro}) * [[ @{crit-multiplier} - 1 ]]) ]]}} {{type=@{type}}} {{weapon_notes=@{notes}}} @{iterative_attacks} @{macro_options} {{vs=@{vs}}} {{attack=[[ 1d20cs>[[ @{crit-target} ]]?{Ammunition|Metal Cartridge,cf<[[{3&#44;?{Alchemical Ordnance&#124;None&#44;20&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125;&#124;Fire&#44;1&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125; {{precision_dmg1=[[[[ceil((@{class-0-level}+1)/2)]]d6+@{INT-mod}]] &amp;#125;&amp;#125; {{precision_dmg1_type= &amp;#125;&amp;#125; {{critical_dmg1=[[2d6+@{INT-mod}*2]] &amp;#125;&amp;#125; {{critical_dmg1_type= &amp;#125;&amp;#125;&#125;|Flare Cartridge,cf<[[{4&#44;?{Alchemical Ordnance&#124;None&#44;20&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125;&#124;Fire&#44;1&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125; {{precision_dmg1=[[[[ceil((@{class-0-level}+1)/2)]]d6+@{INT-mod}]] &amp;#125;&amp;#125; {{precision_dmg1_type= &amp;#125;&amp;#125; {{critical_dmg1=[[2d6+@{INT-mod}*2]] &amp;#125;&amp;#125; {{critical_dmg1_type= &amp;#125;&amp;#125;&#125;{{precision_dmg2_type=1/2 damage &amp;
DC [[16+ceil((@{class-0-level}-5)/3)]] Reflex or &#125;&#125; {{precision_dmg2=blinded for 1 round&#44; dazzled in 5 ft radius &#125;&#125; } Scatter Shot Macro @{PC-whisper} &{template:pf_attack} ?{Iterative|Primary/Rapid Shot/Haste,0|2nd,5|3rd,10} ?{Rapid Shot|No,0|Yes,2} @{toggle_attack_accessible} @{toggle_rounded_flag} {{font=@{apply_specfont_chat}@{use_specfont}}} {{scroll_desc=@{scroll-desc}}} {{color=@{rolltemplate_color}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{damage=[[@{damage-dice-num}d@{damage-die} + @{damage_macro}]]}} {{crit_confirm=[[ 1d20 + @{attack_macro} + [[ @{crit_conf_mod} ]] -?{Iterative}-?{Rapid Shot} ]]}} {{crit_damage=[[ [[ @{damage-dice-num} * (@{crit-multiplier} - 1) ]]d@{damage-die} + ((@{damage_macro}) * [[ @{crit-multiplier} - 1 ]]) ]]}} {{type=@{type}}} {{weapon_notes=@{notes}}} @{iterative_attacks} @{macro_options} {{vs=@{vs}}} {{attack=[[ 1d20cs>[[ @{crit-target} ]]?{Ammunition | Entangling Shot,cf<[[{4&#44;?{Alchemical Ordnance&#124;None&#44;20&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125;&#124;Fire&#44;1&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125; {{precision_dmg1=[[[[ceil((@{class-0-level}+1)/2)]]+@{INT-mod}]] &amp;#125;&amp;#125; {{precision_dmg1_type= &amp;#125;&amp;#125; {{critical_dmg1=[[2+@{INT-mod}*2]] &amp;#125;&amp;#125; {{critical_dmg1_type= &amp;#125;&amp;#125;&#125;{{precision_dmg2=entangled for [[2d4]]rds&#125;&#125; {{precision_dmg2_type=DC [[16+ceil((@{class-0-level}-5)/3)]] Reflex or&#125;&#125; | Molten Cartridge,cf<[[{4&#44;?{Alchemical Ordnance&#124;None&#44;20&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125;&#124;Fire&#44;1&amp;#125;kl1]] + @{attack_macro} - ?{Iterative&amp;#125; - ?{Rapid Shot&amp;#125; ]]&amp;#125;&amp;#125; {{precision_dmg1=[[[[ceil((@{class-0-level}+1)/2)]]+@{INT-mod}]] &amp;#125;&amp;#125; {{precision_dmg1_type= &amp;#125;&amp;#125; {{critical_dmg1=[[2+@{INT-mod}*2]] &amp;#125;&amp;#125; {{critical_dmg1_type= &amp;#125;&amp;#125;&#125;{{precision_dmg2_type=1/2 damage &amp;
DC [[16+ceil((@{class-0-level}-5)/3)]] Reflex or&#125;&#125; {{precision_dmg2=[[1d6+@{INT-mod}]] (1d6+@{INT-mod}) for 3 rounds&#125;&#125; {{damage=[[@{damage-dice-num}d@{damage-die} + @{damage_macro} + @{INT-mod}]] &#125;&#125; } These macros will ask you what iterative attack you are making and apply the attack penalty appropriate, if you are rapid shotting and apply that penalty. It will then ask what type of ammunition you are using (replace metal cartridge with paper cartridge, this is a fluff change for my game) and apply the appropriate critical failure point to represent that ammo's misfire chance. It will even modify this misfire chance if you are using alchemical ordnance using cartridge savant. The damage for the alchemical ordnance increases based on your level (assuming that your first class on the neceros sheet is your gun chemist). The only thing that this macro won't do is decrement your remaining uses of alchemical ordnance, this requires an API script (pro perk) to do, but is pretty easy using a wide variety of scripts. These macros are built to work for my gnome gun chemist's paddlefoot pistol. They may need some tweaking based on your size and weapon of choice.