Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

5e OGL Spell casting at higher level macro

1561440342

Edited 1561440538
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]]}}
so, this morning i figured i'd just guess if there is an undocumented tag, hldmgcrit, and sure enough there is.  so the macro is now: @{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]]}} {{hldmgcrit=[[[[?{Spell Level|2-3,0|4-5, 1|6-7, 2|8-9,3}]]d8]]}}