View Full Version : 2d10 variant pathfinder
jasharen
September 18th, 2017, 18:11
Is it possible to do a mod to replace any 1d20 roll in the entire pathfinder framework with 2d10?
Our group runs with 2d10 vs 1d20 and we are moving to FG from maptools this coming weekend. We would like to keep the 2d10.
Any help would be appreciated!
Zacchaeus
September 18th, 2017, 18:40
I'm not familiar with what this means but I assume that you roll 2d20 and either take the highest of the two or lowest of the two rolls. I'm sure that an extension could be built (not a module) that would roll 2d20's but I fear that it would be terribly complicated to achieve - having said that I'm just guessing that it is.
At any rate if you are rolling 2d20 and taking the highest then the easiest thing is to give everyone a +5 bonus to all (single) d20 rolls. Similarly if you are taking the lowest add a penalty of -5 to all d20 rolls. Not exact but the maths is about right. For both of those you could set up effects for all rolls which require a d20 such as attack rolls, saving throws etc on the PCs. The DM would need to use a modifier for each roll for the NPCs though.
Moon Wizard
September 18th, 2017, 20:36
Welcome to the forums!
There is no mechanism to swap out dice rolls across an entire ruleset.
If you want to implement this in Fantasy Grounds, you would need to write your own feature extension to replace every place that d20 rolls are generated. Also, you would need to update the roll handling for critical failure and critical success (such as criticals) since those check a single die for min/max rolls.
It's fairly advanced to take on a project like this unless you have a programming background and are looking for a project. You'll need to replace Lua script functions with your own.
Regards,
JPG
Nickademus
September 18th, 2017, 20:36
The d20 is baked heavily into the ruleset and it would take a lot of work to change every instance of a d20 roll over to 2d10. But it is technically possible with an extension.
jasharen
September 21st, 2017, 13:30
Is it not possible to make a copy of the rule set, then change rule set to zip file, and search and replace d20 in all the lua files with 2d10?
I realize I would need to find the critical / fumble locations and change that to reflect the proper auto critical, but otherwise critical should normally be in the associated weapon entry, so in control of my PC's.
I am a programmer so digging into the files doesn't intimidate me, I'm just wondering what the downstream impacts might be of doing it this way?
Nickademus
September 21st, 2017, 16:07
It is possible. One thing that you need to be aware of, though, is that you won't be simply replacing "d20" with "2d10" since FG treats each die as a separate entity for the rolling code. So you could do a Find in Files for "d20" (with quotes) and it should give you most, if not all, of the d20 instances. But then you would have to change the die variable to something like {"1d10", "1d10"} so that FG knows there are two dice using the 'd10' model. You may also have to find where the roll in being received and make sure it is adding the dice together as some parts of the code assumes a single die which doesn't need any addition.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.