
Hi, I like some more... elaborated homebrew mechanics in my games and I'm still struggling a bit with macros so I'd like to have your help! On a DnD 5e Sheet, my Player has the class_resource and I need two macros to implement the following mechanics: 1. The propability: - Roll a d100 - Check, if the roll is equal or lower than the current resource amount. - If it is equal or lower, roll 1d10+1 and add that to the resource. - else, only add 1 to the resource. 2. Resting: - Roll 1d10 and multiply by 5 - Lower the resource by that percentage amount , rounded down: For example, if the Resource is currently at 90 and you roll a 10*5=50, lower the Resource by 50% aka. down to 45. - If this is to elaborated, it also suffices if the macro only shows the amount that needs to be lowered instead of lowering it themselve. Either way, we want to avoid an external calculator. I hope, my english is understandable (foreign speaker). Thanks in advance! Edit: Sorry for miscommunication; my title only refers to one macro, but I need two.