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

D&D 5e Psychic Blades progression macro

I've been wanting to make a macro for Psychic Blades to automatically progress the dice from 2d6 to 3d6 at 5th level, to 5d6 at 10th, and last to 8d6 at 15th. I managed to get it to start with 2d6 and scale to 3d6 just fine, but I'm not entirely sure how to progress from there This is the macro I have so far: [[[[floor(((@{character|level} + 1) / 6) + 2)]]d6]]
1545586211
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try: [[[[floor((@{character|level} / 5) + 2)]]d6]]
The progression at the specific levels works perfectly, but it only adds one die per progression
1545599453

Edited 1545599985
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Ah, I missed the progression change. Try: [[[[ floor ( @{character|level} / 5 ) + floor ( @{character|level} / 10 ) + ( floor ( @{character|level} / 15 ) * 2 ) - ( floor ( @{character|level} / 20 ) * 2 ) + 2]]d6]] This could probably be written a lot simpler, but works for values of 1-20.
That seems to work perfect, thanks for the help!