
We have a few api's turned on that do like auto ammo tracking, and spell casts tracking, and our Cleric ran into an issue with his Spiritual weapon, each time he attacked, it used a spell slot, so I'm trying to make a Macro for him that just displays it, without triggering that API. However, when it comes to the Higher level cast, and if the spell crits my macro breaks. and as far as i can see in the wiki there isn't anything for higher level cast crit damage, there is crit 1 and crit 2, but nothing for higher. When it crits it does @{wtype}&{template:atkdmg} {{mod=+@{spell_attack_bonus}}} {{rname=Spiritual Weapon}} {{attack=1}} {{r1=[[d20cs>20 + @{wisdom_mod}[WIS] + @{pb}[PROF]]]}} @{rtype}cs>20 + @{wisdom_mod}[WIS] + @{pb}[PROF]]]}} {{range=20 feet}} {{desc=As a bonus action, you can move the weapon up to 20 feet and repeat the attack against a creature within 5 feet of it.}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + @{wisdom_mod}]]}} {{dmg1type=Force}} {{crit1=[[1d8]]}} {{hldmg=[[[[?{Spell Level|2-3,0|4-5, 1|6-7, 2|8-9,3}]]d8]]}}