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 .
×
🍵 What is a cleric’s favorite hot drink? Divini-tea. 🍵
Create a free account

To script or not to script? Noob question

So Hi, I'm new to Roll20 and it's going overall well but in sorting what we need at for our rules set, I have two scenarios that can be approached in multiple ways to resolve and I'm hoping someone may have some insight into which may yield the best result, especially inside of Roll20s parameters.  Our rule set is 2E AD&D with players option combat and tactics, which brings in a very different initiative system and a large critical hit system.  Initiative The premise of this version of initiative is there is 5 phases in a combat round, and while everyone starts in the first, their actions finish in a range of later ones depending on choice of action. This means that a dagger is almost always going to strike faster than a two handed sword. So the player declares their action choices, and states what phase their action ends (Very Fast, Fast, Average, Slow Very Slow) and the initiative is rolled per team in the conflict with a 1d10, with a result of 1 being a reroll but everyone moves a phase up, a roll of 10 the same but move a phase slower.  My current thinking is: A: Make one of my overworked players make an API as best he can. B: Try to adapt the spirit of the system to the current in game tracker, by replacing the initiative letter with a number 10 per phase (ie an  average would add 30 to initiative) then have the roll for the team be a straight number with 1 subtracting 10 and reroll and a roll of 10 the same but adding 10. C: If it is even possible, use the deck builder to deal out a specially made card for each phase to each player at the start of the session and let them reveal the card to show what phase they are acting in then just macro the 1d10 and ignore the tracker completely or just use it for rounds and conditions.  Critical Hits: The C&T crit hit system is basically 9 tables, comparing broad body type to base weapon type (ie slashing vs humanoids) then a location table leads to a specific effect. The specific effect however is rolled with a dice based on if the weapon is smaller or larger compared to the target (ie a pixie arrow might stick in you foot badly enough to slow you if very lucky, while a colossal dragon may bite your whole arm off). I have remade the sheet to only need one roll for both location and effect but that is till 9 tables times 4 weapon target sizes.  Should I just use an api to upload all the tables and have 36 tables to pick from as needed? Or would it be smoother in game to make a crit api that could ask for which table to roll and size when triggered? Thanks for any consideration, Trent.
1515438355
The Aaron
Pro
API Scripter
For the Critical Hits tables, I'd suggest uploading the tables with a script (Look for TableExport, which also does imports), then setup a macro to build the name of the table to roll on and call it using RecursiveTable.&nbsp; That should let you click a button and be minimally queried for what you are doing and then roll the table.&nbsp; If that doesn't work, you might need a custom API script to take the general types as input and return a roll on the table as output (but that would actually be fairly simple). For the Initiative, I probably need to understand how it works a little better, but you can probably adapt the techniques I wrote about here with the Greyhawk Initiative system:&nbsp;&nbsp; <a href="https://app.roll20.net/forum/post/5243461/5e-alter" rel="nofollow">https://app.roll20.net/forum/post/5243461/5e-alter</a>...
Thanks for the reply Aaron,&nbsp; I'll give the crit table idea stuff a try and report back.&nbsp; With the initiative, the 2e system effectively has all actions fitting in one to five catagories, Very Fast/Fast/Average/Slow/VerySlow, and then a round effectively is just a toss up of which side gets initiative then all Side A does all their Very Fast, then side B theirs. Then Side A Fast actions, then side B fast. etc. With how many individual cases of the initiative then how moving or the like can speed or delay them, I am going to try running off a 5 card deck each player uses to show their initiative with each round then pick up or rechoose card to replenish hand each round. I'll let you know how it goes too.&nbsp; Thanks for the help.&nbsp; T.