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

Steel Wind Strike Macro

Ok I have picked up steel wind strike and I am trying to work out how to creat a query where it will roll the attack rolls x amount of times, as I can target up to 5 creatures. So far I have: &{template:default} ?{Number of attacks|1} {{attack=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage=[[6d10]] + [[6d10]] if crit}} But when I test it if I change the number 1 to anything else it still rolls one attack. Any thoughts?
OK - you are going to need to do something a little more complicated to get this to work with the default template - your query needs to select a list, and each entry of the list needs to have the number of attacks in it.  So in rough terms you create a list with say four options, labled 1 thru 4, and each output of that ist is one attack, two attacks, three attacks, and four attacks - for a total of 10 times you have repeated the attack roll, broken up into the specific quantities - so get your copy paste skills going.
1521812792

Edited 1521812958
Aranador said: OK - you are going to need to do something a little more complicated to get this to work with the default template - your query needs to select a list, and each entry of the list needs to have the number of attacks in it.  So in rough terms you create a list with say four options, labled 1 thru 4, and each output of that ist is one attack, two attacks, three attacks, and four attacks - for a total of 10 times you have repeated the attack roll, broken up into the specific quantities - so get your copy paste skills going. Ok........so you are saying I need to basically copy and paste the entire thing.....or  ?{Number of attacks|1}? I'm not hugely aux fait of the more advanced aspects of Macros for Roll 20. I need slower and stupider words :P
1521814945

Edited 1521815330
Ziechael
Forum Champion
Sheet Author
API Scripter
Your query results will need to be the desired number of attacks, of course this will also require some nesting of characters that break queries so you'll need to follow the rules for  advanced query use . Heres an example: &{template:default} ?{Number of attacks| 1,{{attack=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage=[[6d10]] + [[6d10]] if crit}}| 2,{{attack 1=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 1=[[6d10]] + [[6d10]] if crit}} {{attack 2=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 2=[[6d10]] + [[6d10]] if crit}}| 3,{{attack 1=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 1=[[6d10]] + [[6d10]] if crit}} {{attack 2=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 2=[[6d10]] + [[6d10]] if crit}} {{attack 3=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 3=[[6d10]] + [[6d10]] if crit}} }
1521815801

Edited 1521822129
Ziechael said: Your query results will need to be the desired number of attacks, of course this will also require some nesting of characters that break queries so you'll need to follow the rules for  advanced query use . Heres an example: &{template:default} ?{Number of attacks| 1,{{attack=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage=[[6d10]] + [[6d10]] if crit}}| 2,{{attack 1=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 1=[[6d10]] + [[6d10]] if crit}} {{attack 2=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 2=[[6d10]] + [[6d10]] if crit}}| 3,{{attack 1=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 1=[[6d10]] + [[6d10]] if crit}} {{attack 2=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 2=[[6d10]] + [[6d10]] if crit}} {{attack 3=[[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]] | [[1d20+@{Hoid|charisma_mod}+@{Hoid|pb}]]}} {{Force damage 3=[[6d10]] + [[6d10]] if crit}} } Ah I understand so I was on the right lines sort of just the wrong approach. Much obliged Edit: Using this template I got it to work.