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

Wrath And Glory Dice Roller Question

So, I am trying to use the Wrath and Glory Character Sheets with a Dice roller, how would I make it so like for instance the 3.1api sheet uses a Roll Table I made instead of the one it normally uses?(trying to fix the issue where the API roller doesn't let you see what number the dice is for things like Brutal weapons)
1616268683

Edited 1616268769
timmaugh
Forum Champion
API Scripter
It sounds like an X/Y problem... What is it you specifically need to do? Alter the character sheet? Or just know what particular dice are in a roll? If it's the former, I think you're going to have to grab the HTML of the sheet from the Git repository and make the alterations, yourself. If it's the latter, and if this is an API command, APILogic has a couple of plugins that ship with it to handle inline rolls and get particular sets of dice, and they would play in other scripts' command lines. You can get dice by position (getDiceByPos) or get dice by value (getDiceByVal). If you drop those into your command line where you need them, you can at the very least report them out. !somescript --roll|[[3d10 + 2d8]] --brutaldice|{&eval}getDiceByPos($[[0]], >4){& /eval} Thinking through your potential need, though, I see the opportunity for a few other functionalities to get different cuts of the dice pool... getDiceByPos & getDiceByVal - should know to get all of the dice except for those not in certain positions... that would let you collect an unknown number of dice, if you were adding dice based on an attribute amount; for instance, if your roll were [[1d20 + @{selected|brutalmod}]], and you wanted to collect all of those brutal dice, you should be able to say "everything not in position 1" getDiceBySide (new plugin) - to get dice by their hedrality... d4, d6, d8, etc. getDice - a grand function to take any of the above filtering in an object to have maximum flexibility over what you get returned