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

Lookup table questions

1519081289
Rogue
Pro
Marketplace Creator
"hey smart people, is there a very very simple way to do a lookup table without having to resort to a javascript library?" I am asking for a friend of mine who's working on character sheet for my game
1519084690
GiGs
Pro
Sheet Author
API Scripter
Probably not. can you be more specific about what you're doing, and what you need the lookup for? 
Which game system? And if its a table, creating a rollable table may work. 
1519245797

Edited 1519245839
Rogue
Pro
Marketplace Creator
He is building it for the Chaos System...used in Chaos 6010 A.D. and a new RPG I am coming out with called Demon Gate. It uses a ladder system when you increase your skills and attributes that go off of a table from d6, d8, d10, d12 ,d8+d6, 2d8, d10+ d8, etc..... Each time you increase your skill in an area you gain a higher dice pool step, these dice also explode. Thank you both for answering
1519279709

Edited 1519279720
Silvyre
Forum Champion
Rogue said: He is building it for the Chaos System...used in Chaos 6010 A.D. and a new RPG I am coming out with called Demon Gate. It uses a ladder system when you increase your skills and attributes that go off of a table from d6, d8, d10, d12 ,d8+d6, 2d8, d10+ d8, etc..... Each time you increase your skill in an area you gain a higher dice pool step, these dice also explode. Thank you both for answering If you post a picture of the table, I could write a macro for it. I've written similar macros for Earthdawn's step tables.
1519416808
Rogue
Pro
Marketplace Creator
Thank you so much Silvyre  
1519417048
Rogue
Pro
Marketplace Creator
These all explode as well. All skills tie to a specific attribute so having a Dex rank of 5 and a stealth skill rating 1 you add the skill rating to the rank of 5 to get a skill level 6 thus causing you to roll a d12 for Stealth. If you didnt have the skill you would just roll your dex die (d10). Thanks again interested in seeing what you come up with. He was saying to me that it seems like Earthdawn was able to use a great deal of math to deal with the rolls which was impressive. So kudos to you if you came up with it.
1519417182
GiGs
Pro
Sheet Author
API Scripter
You probably need to explain how to use the table. Do you get Dice for attributes, as well as rank+skill level? For instance if your attributes = 8, and rank+skill level = 5, do you get a d6 for the first and a d10 for the second, or do you just get whichever's highest, or what?
1519420699

Edited 1519420731
Silvyre
Forum Champion
I think I was able to grasp what's going on through this writeup . Attribute scores and attribute ranks/levels are like D&D's ability scores and ability modifiers. (e.g. a Dex rank of 5 corresponds to a Dex score between 13 and 15.)
1519452506

Edited 1519619886
Silvyre
Forum Champion
Here's the macro! <a href="https://gist.github.com/Silvyre/14cc1dab8e28abe1cd6b8824b5ee6592" rel="nofollow">https://gist.github.com/Silvyre/14cc1dab8e28abe1cd6b8824b5ee6592</a> [[ [[floor({?{Level|1+1} - 3, 0}kh1 / 10)]]d20! + 1d[[(({?{Level}, 1}kh1 - 3 + 2 * [[{abs((?{Level} - 10) % 10 - 4.5) + {1/2}, {3} }&lt;2]]) % 4 + 3) * 2 + [[{abs((?{Level} - 5) % 10 - 4.5) + {1/2}, {4} }&lt;3]] * ((floor(({?{Level}, 1}kh1 - 7) / 10) % 2 * 4 - 2 * floor(({?{Level}, 1}kh1 - 7) % 10 / 2)) * (1 - 2 * (1 - floor(({?{Level}, 1}kh1 - 7) / 2) % 2)) * (1 - floor(({?{Level}, 1}kh1 - 7) / 10) % 2 * 2))]]! + [[{abs((?{Level} - 5) % 10 - 4.5) + {1/2}, {4} }&lt;3]]d[[{(floor(({?{Level}, 1}kh1 - 7) % 10 / 2) + 4) * 2, {12} }kl1]]! ]] Update (2/25): bugfix
1519552319
Rogue
Pro
Marketplace Creator
Yes Silvyre has it right. When making a character you get 100 points for your 7 attributes Strength, Dexterity, Body, Perception, Intelligence, Willpower, and Charisma. No higher than 18, no lower than 3 may be initially placed. Like you stated say I placed a 15 in my Dexterity attribute I would have a rank of 5, giving me a die of d10 when making dex checks. As I said before these explode if you roll the highest number. Any character skill I possess that ties to Dexterity (Stealth) for instance has a rating. When you first get the skill it is always a rating of 1. This rating 1 is added to the rank of the attribute which in this case would be 5+1=6. The 6 is my skill level in Stealth thus bringing my die up from a d10 to a d12 now. When you are granted Cool Points (experience) you keep track of them cumulative and as well you may spend them on your character to raise anything as long as you have the points to do so. Raising attributes is harder but doing this can raise many skills tied to it. I would have to spend 16 cool points to bring my Dexterity from 15 to 16. But raising my stealth from a rating 1 to a rating 2 would only cost me 2 cool points, then 3 more to go to rating 3, etc. I hope I explained it well for you, and thanks so much for the help I am going to check this out tomorrow!&nbsp; &nbsp;
1519588042
Rogue
Pro
Marketplace Creator
Thank you very much for your help Silvyre that is awesome work! If you ever need anything from me let me know. I am not so bad at black n white art and writing. I am the creator of&nbsp; Arcanum Syndicate and will have the new dark fantasy apocalyptic rpg Demon Gate out soon if you are interested in that kind of genre at all.
1519604777
Silvyre
Forum Champion
You're very welcome! Best of luck with Demon Gate!