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

additional sub-skill Roll Buttons under a repeating field

1645426259

Edited 1645460412
Yeah... I have no idea.&nbsp; I'm not a programmer at all. I've done some copy/paste basics.&nbsp; But considered me the greenest spring grass green newb... Okay, here's my situation. I have a repeating field.&nbsp; The properties of that field: &lt;Dropdown select attribute&gt; &lt;number input "V.I."&gt; &lt;number input "Cause"&gt; &lt;number input "Misc"&gt; &lt;Number input "Level"&gt; The button will grab all the above and roll it up just fine. However, an Ability may have subskills.&nbsp; SubSkilsl that may trigger saving throws, or do damage.&nbsp; They are literally regular skills that add up their own stuff.&nbsp; But their own stuff is going to totally unique. By unique, I mean the player puts in non standard parameters (always numbers). Here is what this looks like: The idea, is that as you put points into the Points row &nbsp;it determines the dice size (for example in column 1) by dividing Points by (Bonus Cost/Bonus Increase) In excel math it would look like&nbsp; Stats: =Vlookup(points/(Bonus Cost / Bonus Increase))&nbsp; Of course VLOOKUP would find the corresponding data and put the proper Dice Type in the Stats field. When the button header is clicked, the data in stats is rolled. I don't care if the button does that math, or if a sheetworker does that math and the roll-button calls the sheetworker data. The first column would always be a damage dice (but may be blank too). The rest would simply spit out some kind of Dice Check from stat, indicating that a dice check has been triggered, or some quantity of effect has been made (if not a defensive dice check, etc.). My full code (which I did not write, someone else did it and then ghosted me after I paid him a lot of money).&nbsp; Here's a pic of what it should &nbsp;be doing... Here's the link to my HTML/CSS <a href="https://github.com/MavSantroy/Drakudai" rel="nofollow">https://github.com/MavSantroy/Drakudai</a> &nbsp;(there should be 2 that are not named "old", an HTML and a CSS). Anyone who gets a working solution for the above... I'll gift them 1 year of Roll20 Pro, or amazon gift card of equal value.
1645446069

Edited 1645446145
GiGs
Pro
Sheet Author
API Scripter
I'm not seeing the pic of what it should be doing. Can you repost that? also which sheet is the relevant one in your link, and which repeating section does the above come from?
GiGs,&nbsp; GiGs said: I'm not seeing the pic of what it should be doing. Can you repost that? also which sheet is the relevant one in your link, and which repeating section does the above come from? Any of the two that are not named "Old..." There is only 1 repeating section, Abilities.&nbsp; Which is right below Combat.&nbsp; Attributes --&gt; Combat --&gt; Abilities --&gt; General Skills....
Edit on the sections written in Red Font... Repeating custom macros would be nice, but it needs to be able to calculate and pull the proper data. So, that's why the last column of the sub-skill should basically be a various fields for macro.