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

Evolving Macro for Rage

1691989303

Edited 1692027655
Hello! Thank you for checking into my question! So I am going to be playing a barbarian soon, and I'm making a Rage macro that makes inline rolls and shows what all Rage does, as well as how many uses I have at my current level and how much extra damage it does at my current level. Currently I have this. /me begins to fight with primal ferocity! On his turn, he can enter a rage as a bonus action! [Rage]( <a href="https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExZHF2MDFxMG91MGg3bW1teWxzZmRjNWU0MG9nbjNhcDg2NHhjMmNpYiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/EtB1yylKGGAUg/200.gif" rel="nofollow">https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExZHF2MDFxMG91MGg3bW1teWxzZmRjNWU0MG9nbjNhcDg2NHhjMmNpYiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/EtB1yylKGGAUg/200.gif</a> )&nbsp; While raging, he has advantage on Strength checks and Strength saving throws, and when he makes a melee weapon attack using Strength, he gains a&nbsp; [[2+{floor((@{level})/9),1}kl1+{floor((@{level})/16),1}kl1]] &nbsp;bonus to his damage! Due to his Bear totem, he has resistance to all damage types aside from psychic! He cannot cast spells or concentrate on them while raging however, and the rage only lasts for 1 minute. It will end early if he has not attacked a hostile creature or taken damage since his last turn. He can also end his rage on his turn as a bonus action. Once he has raged (Blank) times he must finish a long rest before he can rage again. If anyone could help fill in the blank (literally) I'd greatly appreciate the help! If you can get it to actually take a point from my Rage counter on my sheet too that'd be amazing! Or even better, show how many rages I have left when I use the button as well. Preferably without an API if possible.
1692034131

Edited 1692034746
Try this: [[{0,1,3,6,12,17}&lt;@{level}]] It compares the character's current level to a list of numbers and returns the number of occurances that are less than or equal to the level.&nbsp; Note that I added a zero to the list since a barbarian gets 2 rages at 1st level.&nbsp; Alternately you could leave the zero out and just add +1 to the result.&nbsp; You can also use the same process to determine rage damage: [[{0,1,9,16}&lt;@{level}]]
Ryan85202 said: Try this: [[{0,1,3,6,12,17}&lt;@{level}]] It compares the character's current level to a list of numbers and returns the number of occurances that are less than or equal to the level.&nbsp; Note that I added a zero to the list since a barbarian gets 2 rages at 1st level.&nbsp; Alternately you could leave the zero out and just add +1 to the result.&nbsp; You can also use the same process to determine rage damage: [[{0,1,9,16}&lt;@{level}]] Awesome, thank you!