
Info
I'm a player
DDBeyond for character sheet
Roll20 for maps
Not a pro subscriber
Not using charactermancer for character sheets so ability/attribute macros are out
I've recently learned about nesting macros and roll queries and hope that this can make a rather large, clunky macro I built more streamlined. Because I have 5 different arrows I can fire, I have different attack mods, damage mods, damage/crit die, and damage types. I'd love to be able to have 1 query ask me what kind of arrow I want to use, and all the other stuff populate accordingly.
Macro as currently written:
&{template:atkdmg} {{charname=Shadow}} {{rname=Killer Bow}} {{mod=+11}} {{r1=[[?{Rolling with| Standard,1d20cs>19| Advantage,2d20kh1cs>19| Disadvantage,2d20kl1cs>19} +11 +?{Attack Mod|Regular,0|Holy,1|Fire,1|Ice,1|Lightning,2|White,1}]]}} {{attack=1}} {{range=150ft./600ft.}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[?{Arrow Type|Regular,1d8+5|Holy,1d10+6|Fire,1d10+6|Ice,1d10+6|Lightning,1d12+7|White,1d12+6}]]}} {{dmg1type=?{Dmgtype|Regular,Piercing|Holy,Radiant|Fire,Fire
DC 11 DEX Save or be set on fire for [[1d4]] fire damage|Ice,Cold
DC 12 CON Save or speed is halved for 1 turn|Lightning,Lightning
DC 12 CON Save or lose reaction for 1 turn|White, Darkness [[1d100]]}}} {{crit1=?{Crit|Regular, [[1d8]]|Holy, [[1d10]]|Fire, [[1d10]]|Ice, [[1d10]]|Lightning, [[1d12]]|White, [[1d12]]} Crit}} {{normal=1}}
I'd really love to have ?{Arrow Type|Regular|Holy|Fire|Ice|Lightning|White} replace most of the other queries so I'm not dragging combat quite as much. Is this even possible? I know that nesting is cough finicky cough. I also understand that Arrow Type is also already a query. This character was recently TPK'd so I can overhaul this macro.
My thought process:
Turn this:
&{template:atkdmg} {{charname=Character}} {{rname=Killer Bow}} {{mod=+11}} {{r1=[[?{Rolling with| Standard,1d20cs>19| Advantage,2d20kh1cs>19| Disadvantage,2d20kl1cs>19} +11 +?{Attack Mod|Regular,0|Holy,1|Fire,1|Ice,1|Lightning,2|White,1} blah blah blah rest of the macro.
Into this:
&{template:atkdmg} {{charname=Character}} {{rname=Killer Bow}} {{mod=+11}} ?{Arrow Type|Regular|Holy|Fire|Ice|Lightning|White} {{r1=[[?{Rolling with| Standard,1d20cs>19| Advantage,2d20kh1cs>19| Disadvantage,2d20kl1cs>19} +11 +?{Attack Mod|?{Arrow Type},0|?{Arrow Type},1|?{Arrow Type},1|?{Arrow Type},1|?{Arrow Type},2|?{Arrow Type},1}
While trying to make this even somewhat coherent, I realized the underlined bit above may or may not be redundant. In all my previous attempts to figure this out on my own, I've been changing that to ?{Arrow Type}, along with everything else.
Is what I'm wanting to do possible? My party I used this macro for knows I'm the "Macro Queen" and understand that this particular bow takes a bit of time to run because of all the queries.