Building a generic attack template and trying to get it to check for a critical roll, roll additional damage when it finds one and only display said damage when it rolls. I've been going through some of the template examples and such but I'm just not getting it. I feel like I should be using the {{#rollWasCrit() <rollname>}} helper function in some fashion but I don't get how to use it. The Macro I have written so far is below. &{template:default} {{name=??}} {{Attack Roll= [[1d20+@{ATKMelee}+{(floor(@{STR}/2)-5)}+?{ATK Modifier|0}]]}} | {{Damage Roll= [[1d?+{(floor(@{STR}/2)-5)}+?{DAM Modifier|0}]]}}