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

Higher level casting for none 5e system

I was wondering if there's a macro for using a technique at a higher level, that doesn't use the 5e system of 1-9th level spells? So for example, if I was using an ability that does 4d4, but it could be enhanced using a resource for an additional d4 per resource spent. Any macro/api that does that sort of thing?
It wouldn't be a hard thing to code. You'd code the damage as: [[3+?{How Many Resources?|1|2|3|4|5}]]d4 It starts at 4d4 then adds another d4 for each step higher.
Dakota H. said: It wouldn't be a hard thing to code. You'd code the damage as: [[3+?{How Many Resources?|1|2|3|4|5}]]d4 It starts at 4d4 then adds another d4 for each step higher. I just tried that, but what I ended up getting was this   I'm pretty new to using macros and the like, so I'm not sure exactly what went wrong. 
1598982838
Kavini
Pro
Marketplace Creator
Sheet Author
Compendium Curator
The d4 should be within the rolling brackets. [[3+?{How Many Resources?|1|2|3|4|5}d4]]
1598987594

Edited 1598987653
No, I put the d4 in the correct place. You don't need additional brackets if you're putting the damage calculation in a spot already setup for rolling. I had assumed it was going into an attack entry or some such place. But if you aren't putting it into someplace that will auto roll it, add additional double brackets on both ends
1599011576
Oosh
Sheet Author
API Scripter
Since you have Pro, you could also use ChatSetAttr to deduct the resources from their sheet in the same macro.