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

How to macro level scaling with Fervor of Warpriest

Sorry if my english was sick ^^ Well, hello all.&nbsp; Recently, i found this thread&nbsp; <a href="https://app.roll20.net/forum/post/364316/macro-to-restrict-the-maximum-modifier-per-level" rel="nofollow">https://app.roll20.net/forum/post/364316/macro-to-restrict-the-maximum-modifier-per-level</a> And i'm seeking a macro for my Warpriest's ability "Fervor' like "Channel Energy" I found this&nbsp; ([[floor((@{level}-1)/2)+1]])d6 and it's work for Channel. the problem is ? Fervor scaling like :&nbsp; this&nbsp; heal it of 1d6 points of damage, plus an additional 1d6 points of damage for every 3 warpriest levels he possesses above 2nd (to a maximum of 7d6 at 20th. So 1d6 at lv1, 2d6 at lv5, 3d6 at lv8 etc... How i can adapt this macro for my Fervor abilitiy ? Many thank for yours answers. Nash O'Dalthir
Try this.&nbsp;&nbsp; [[{7,[[{1,[[floor((@{level}+1)/3)]]}kh1]]}kl1]]d6 Explanation: floor((@{level}+1)/3) will compute the correct values for&nbsp; 23&gt;@{level}&gt;1.&nbsp; To handle the lower bound, we use the inner kh1, to handle the upperbound we use the outer kl1.