Sorry for replying to my own post so much, if that's a problem. This is as far as I've gotten with making Flame Blade be an attack and damage roll: @{selected|token_name}&{template:atkdmg} {{mod=+6}}
{{rname=Flame Blade}} {{r1=[[@{selected|d20}cs>20 + 4[WIS] + 2[PROF]]]}} @{selected|rtype}cs>20
+ 4[WIS] + 2[PROF]]]}} {{attack=1}} {{range=5 feet}} {{damage=1}}
{{dmg1flag=1}} {{dmg1=[[3d6]]}} {{dmg1type=Fire}} 0 {{dmg2=[[0]]}}
{{dmg2type=}} {{crit1=[[3d6[CRIT]]]}} {{crit2=[[0[CRIT]]]}} 0 {{desc=}} {{hldmg=[[(1*?{Cast
at what level?|Level 2,0|Level 3,0|Level 4,1|Level 5,1|Level 6,2|Level 7,2|Level
8,3|Level 9,3})d6]]}} {{hldmgcrit=[[(1*?{Cast at what level?|Level 2,6|Level 3,6|Level
4,8|Level 5,8|Level 6,10|Level 7,10|Level 8,12|Level 9,12})d6]]}} {{spelllevel=2}}
{{innate=}} {{globalattack=@{selected|global_attack_mod}}}
{{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{selected|global_damage_mod_type}}}
ammo= @{selected|charname_output} If there's a more elegant way to do this, I'd be happy to learn.