Varsuuk
April 22nd, 2019, 07:50
I am working on one of the classes and came across the first "rollable" table reference. I immediately got how to do most of it in theory but I was stuck with one issue. It says:
"Roll 2d12 to determine the number of followers. Determine the class of each in this order: half of the total will be Fighters, a quarter of them will be Clerics, one-fifth of them will be Magic-Users, and if there are over 20 followers, one of them will be a Neutral-aligned Thief.
The followers will be at least second level; for each there is a 25% chance to add 1d4 to the base second level. Also, for each of these followers, there is a 2% chance that the follower is actually a highly unusual type instead of whatever the dice originally indicated. Roll 1d6 as follows:"
The x% chance things are easy, use as percentile or convert to other formats with same percents.
But what do I do when it says, exactly 25% should be X and 15% should be Y?
"A More Complex Example" showed me about how to make tables do more and I would use this as the starting point when I go to work on this. (Feel free to point me at existing mods or rulesets where I can see more examples to learn from)
I know I could code this in a lua file, but wondered if could do using the table functionality. I haven't looked into yet (I'm a breadth-first guy when learning and overeager!) but I wasn't sure how I would stick in "math" in addition to random dice rolling.
For the moment, it is just "text" instructions on one of the class-ability popups. Figure will address it when get to ability handling.
"Roll 2d12 to determine the number of followers. Determine the class of each in this order: half of the total will be Fighters, a quarter of them will be Clerics, one-fifth of them will be Magic-Users, and if there are over 20 followers, one of them will be a Neutral-aligned Thief.
The followers will be at least second level; for each there is a 25% chance to add 1d4 to the base second level. Also, for each of these followers, there is a 2% chance that the follower is actually a highly unusual type instead of whatever the dice originally indicated. Roll 1d6 as follows:"
The x% chance things are easy, use as percentile or convert to other formats with same percents.
But what do I do when it says, exactly 25% should be X and 15% should be Y?
"A More Complex Example" showed me about how to make tables do more and I would use this as the starting point when I go to work on this. (Feel free to point me at existing mods or rulesets where I can see more examples to learn from)
I know I could code this in a lua file, but wondered if could do using the table functionality. I haven't looked into yet (I'm a breadth-first guy when learning and overeager!) but I wasn't sure how I would stick in "math" in addition to random dice rolling.
For the moment, it is just "text" instructions on one of the class-ability popups. Figure will address it when get to ability handling.