
I could use a bit of help. I'm trying to set up a custom ability in my PF2 character sheet, that allows me to use the Blasting Beam deviant feat as an automatic attack. Seeing as it's neither a strike nor a spell it falls into this wierd niche that requires a custom ability so you don't need to manaually roll the attack and damage. However, in part due to my inexperience with macro editing and in part due to the lack of documentation on the PF2 sheet templates, I cannot figure out how to implement a critical hit button. Here's my code: @{Azzy|whispertype} &{template:rolls} {{limit_height=@{Azzy|roll_limit_height}}} {{notes_show=@{Azzy|roll_show_notes}}} {{info01_name=^{action_type}}}{{info01=1-action}}{{info02_name=^{traits}}}{{info02=Rare, Attack, Deviant, Evocation, Magical}} {{info03_name=^{range}}}{{info03=30 feet}} {{info04_name=^{energetic meltdown}}}{{info04=[[1d20]] flat check}} {{notes=A directed beam of heat or an arc of lightning is one of the simplest ways to project energy. You fire a blast or beam from one hand. Make an attack roll against a creature within 30 feet. If you succeed, the beam deals 1d6 damage for every 2 levels you have to the target, or double damage on a critical success. }} {{roll01_name=^{attack}}} {{roll01= [[1d20cs20cf1 + (@{Azzy|spell_attack})[@{Azzy|text_modifier}] + ()[@{Azzy|text_bonus}]]]}} {{roll01_type=attack}} {{roll01_info=}} {{roll01_critical=1}} {{roll02_name=^{damage}}} {{roll02= [[[[floor(@{level}/2)]]d6 + (0)[MISC]]] }} {{roll02_type=damage}} {{roll02_info=electricity}} And here's what that looks like: How can I add the chat button to roll critical damage? Any help would be greatly appreciated.