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

Barbarian macro

Hi, im quite bad at scripting, how would I go around making a weapon attack macro that does the following? Asks if raging and adds dmg for rage Asks if it should apply divine fury damage Asks if it should apply Great weapon mastery and adds the -5 to hit and +10 damage
1556749832
Kraynic
Pro
Sheet Author
Rather than set up a macro with 3 queries you have to use every time, maybe there is another way to solve this.&nbsp; Which system are you using, and which character sheet?&nbsp; For instance, if you are playing Pathfinder and using the Roll20 Pathfinder Official sheet, you can set each one of those up as a buff and enable/disable them as needed. <a href="https://wiki.roll20.net/Pathfinder_Official#Buffs" rel="nofollow">https://wiki.roll20.net/Pathfinder_Official#Buffs</a>
We are running 5E and ogl sheet I was considering 3 separate macros but that seems rather clunky, and my players tend to not have their character sheets open in combat.
1556751365
Kraynic
Pro
Sheet Author
I have played one short section of 5e, so don't know the system (or sheet) well.&nbsp; It looks like you can activate global attack and damage sections in the options tab.&nbsp; Once you have them set up, it looks you can still check and uncheck them as they are needed. <a href="https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#Settings_Page" rel="nofollow">https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#Settings_Page</a>
1556751496

Edited 1556751521
I have played around with that, the issue is that it becomes even clunkier than setting up 3 queries since he has to remember to tick and untick in the middle of combat. And it also does not solve great weapon mastery since that gives -5 to hit :)
1556948889

Edited 1557050615
We're using 5e and OGL.&nbsp; The barbarian in my campaign had a slightly similar request.&nbsp; She's dragged the sword attack down for a 'to hit' roll, but uses the following macro to ask if it's rage, critical or both for determining damage.&nbsp; So she clicks the first button to hit, and if it hits, clicks the button that runs this: ?{Options| &nbsp; &nbsp;Normal, **Normal** Target takes [[1d8 [Sword]+[[@{selected|strength_mod}]] [Str]]] HP. |&nbsp; &nbsp; &nbsp;Rage, **RAGE** Target takes [[1d8 [Sword]+[[2]] [RAGE] +[[@{selected|strength_mod}]] [Str]]] HP.&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;Critical Hit, **Critical Hit** Target takes [[2d8 [Sword]+[[@{selected|strength_mod}]] [Str]]] HP.&nbsp; &nbsp;|&nbsp; &nbsp; &nbsp;Rage &amp; Critical Hit, **RAGE &amp; Critical Hit** Target takes [[2d8 [Sword]+[[2]] [RAGE]+[[@{selected|strength_mod}]] [Str]]] HP.&nbsp; &nbsp; } So from two choices, you get four outcomes (none, choice A, choice B, choice A&amp;B). You're looking at three choices (rage, divine, GWM) which gets exponential: (none, Choice A, Choice B, Choice C, Choice AB, Choice AC, Choice BC, Choice ABC). Now, my Ranger on the other hand doesn't like one big long list and prefers to be asked the questions sequentially.&nbsp; He still drags his weapon from his character sheet down to his bar for the attack roll, but his damage macro looks like this: /roll { [[1d8]] [Bow damage]+[[@{selected|dexterity_mod}]] [Dex] + [[?{Critical Hit?|No, 0|Yes, 1d8} [Crit!]]] + [[?{Hunters Mark?|No, 0|Yes, 1d6} [Hunters Mark]]] + [[?{Hail of Thorns?|No, 0|Yes, 1d10} [Hail of Thorns]]]} Same end result, but he gets prompted one question at a time and incrementally adds the damage.