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

Better Power Attack Macro

Hi, so i have been reading through forums and read through the very helpful Advanced Roll Query page, and some of it is definitely over my head, but i can't figure out if i can make this any better. Right now i am using this macro for my Power Attack query damage:  [[ ?{Power Attack?|Yes,1|No,0}*(1+floor(@{bab}/4))*?{Two Handed?|No,2|Yes,3} ]] I was wondering if it would be possible to make the Two handed query contingent on the first being answered yes or no, to remove a bit of clunkiness of still having the extra yes/no in rearguards to two handed after if i choose to not power attack?
1584629221
Kraynic
Pro
Sheet Author
The problem with condensing the 2 questions into one, is that they would have to be the identical answer.  Using your macro above, if you put "Power Attack?" as the question for the second query, you wouldn't get a chance to answer it, since it uses the answer from the first instance for any later identical queries.  But that means that if you answer yes (yes=1) at the start, then it will put in 1 (identical answer remember) for the later place where you want a 2 or 3. How often do you switch between one and two handed on the same weapon?  To avoid answering more questions, it may be easier to just hard code in the damage multiplier and create a separate attack for 1 or 2 handed.  Also, which sheet/system are you using?  The pathfinder by roll20 sheet has the capacity to accept custom buffs that you toggle on and off (including power attack), so if you are using that one, you don't need queries at all most likely.