Thread: ruleset suggestion
-
December 2nd, 2021, 22:28 #1
ruleset suggestion
In the ruleset, hit dice must be entered like "5d6+5d6+0" but paizo statblocks can also be presented as "10 HD; 5d6+5d6"
I have accommodated for this format in my Live Hitpoints extension and it could be integrated into the ruleset.
in the addNPC function of manager_combat2.lua, just change this:
Code:if sOptHRNH == "max" and sHD ~= "" then nHP = StringManager.evalDiceString(sHD, true, true); elseif sOptHRNH == "random" and sHD ~= "" then nHP = math.max(StringManager.evalDiceString(sHD, true), 1); end
Code:if sOptHRNH == "max" and sHD ~= "" then sHD = string.gsub(sHD, "%d+%s-HD%;", "") nHP = StringManager.evalDiceString(sHD, true, true); elseif sOptHRNH == "random" and sHD ~= "" then sHD = string.gsub(sHD, "%d+%s-HD%;", "") nHP = math.max(StringManager.evalDiceString(sHD, true), 1); end
bmos' extensions
he/them
-
December 2nd, 2021, 22:30 #2
Will this require any changes to the NPC stat blocks?
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
December 2nd, 2021, 22:33 #3bmos' extensions
he/them
-
December 2nd, 2021, 22:40 #4
I just tested with the code you provided and it's not working very well. Where do you collect the sHD?
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
December 2nd, 2021, 22:45 #5
Ok, in my haste I pasted over most of the function.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
December 2nd, 2021, 22:49 #6
Do you have a stat block I can do testing with? I'm not finding many with the HD in the block
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
December 2nd, 2021, 23:10 #7
Helekheterie from Ruins of Azlant AP Book 2 Into the Shattered Continent apparently has this.
The module conversion people generally adapt the format when converting for FG, but sometimes it gets missed.
I haven't come across it myself, but someone reported it as an issue with my extension so I thought I'd suggest the fix I used so module conversion folks can work a little less hard
And this way statblocks can keep more of the original format.Last edited by bmos; December 2nd, 2021 at 23:30.
bmos' extensions
he/them
-
December 3rd, 2021, 01:03 #8
I'm all for making DLC creation easier. Just want to make sure this does not mess up anything unforeseen
Let play with this for a bit and I'll toss it up for review.Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks