
I'm currently working on a Rage macro for my Warforged Barbarian. I mostly have it done but I'm trying to figure out how to get it to automatically reduce the number of rages I have left on my sheet (as seen in @{class_resource}) when I use it, so if I have 2 it goes to 1, then 0 when I use it again. Currently looks like this. /me begins to fight with primal ferocity! While raging, he gains advantage on Strength checks and Strength saving throws, he gains a +[[@{global_damage_mod_roll}]] bonus to damage when making a melee weapon attack using Strength, and also has resistance to bludgeoning, piercing, and slashing damage! [Rage]( <a href="https://media.tenor.com/iqJP7IxCURgAAAAd/rage-angry.gif" rel="nofollow">https://media.tenor.com/iqJP7IxCURgAAAAd/rage-angry.gif</a> ) However, he does not gain these benefits while wearing heavy armor and cannot cast spells or concentrate on them while raging. His rage lasts for 1 minute but may end early if he is knocked unconscious or if his turn ends and he hasn't attacked a hostile creature since his last turn or taken damage since then. He can also end his rage on his turn as a bonus action. Once he has raged [[@{class_resource}]] more time(s), he must finish a long rest before he can rage again. <a href="https://cdn.discordapp.com/attachments/1004692512788709490/1184778951353171988/0Nupps4sQSIAAAAASUVORK5CYII.png" rel="nofollow">https://cdn.discordapp.com/attachments/1004692512788709490/1184778951353171988/0Nupps4sQSIAAAAASUVORK5CYII.png</a> <a href="https://media.discordapp.net/attachments/1004692512788709490/1184779017660928060/wcANOuCOOuIAAAAABJRU5ErkJggg.png" rel="nofollow">https://media.discordapp.net/attachments/1004692512788709490/1184779017660928060/wcANOuCOOuIAAAAABJRU5ErkJggg.png</a>