PDA

View Full Version : Modifying my stat blocks for a custom ruleset



Seraphim
January 31st, 2025, 06:47
Hello, I had a question about the ruleset I am developing. I used Ruleset Wizard to make a character sheet and everything is working perfectly.

However... I hit a bit of a wall near the end when I started to develop NPC blocks. Simply put... I uh... Don't know how this works?

63349

This is the stat block for a basic enemy. I'm not sure how to set up assigning HP to a token or a better format for the dice rolls. Typically the roll here should be d6s5#1, where you roll a number of d6 equal to attack, with 5+ being counted as 1 success each.

But really I could do with fudging the dice rolls. The HP being added to the token is probably my biggest concern as bookeeping a large battle would be difficult without it.

I'd appreciate any assistance or guidance from the community. This is the last step I need to figure out to have my clunky system ready for testing. :)

EDITED: After some digging, I think I may have found a solution here in Damians ruleset video for White Lies: https://www.youtube.com/watch?v=YaZjkoYFbvQ&t=864s. I have to dig into it a bit more though.

damned
January 31st, 2025, 23:49
The White Lies is going to be easier if you are newish to programming.
Otherwise you need to look at the Lua that converts attack strings into rollable text and also how it builds the rolls.
You would look in the 5E ruleset for that code.

Seraphim
February 1st, 2025, 10:02
I only really need two simple fields, one for attack/damage rolls. I plan on keeping it simple and just using 2d6, 3d6, 8d6, etc. I think I can pull that from White Lies pretty easy.

The other one is tracking HP on the NPC token. I imagine that would be in the DND ruleset as you said. Not really sure where to find that though.

LordEntrails
February 1st, 2025, 15:02
What do you mean by tracking HP on the NPC token? Tokens are just images. Do you mean the associated NPC on the Combat Tracker? OR do you mean adding a token widget like 5E (green, yellow, red, etc) and other rulesets have that indicate how wounded an NPC is?

Seraphim
February 1st, 2025, 15:12
My bad, I meant the widget (The green, yellow, red, bars etc.).

LordEntrails
February 1st, 2025, 18:33
I think CoreRPG uses HP as one of it's fields and it probably already has the widget controlled by options. Not sure though, would have to go look at a Core campaign. If it's already there, then just use it as is. If not, check the 5E code as the capabilities are there for certain.

Moon Wizard
February 1st, 2025, 20:56
CoreRPG does not use health right now; since every system is different and we don't know how each system represents health.

There are some helper functions that 5E, 4E, 3.5E and other systems use to automatically register health bars, and report actor health. They are registered in TokenManager2 script in the D&D rulesets.

Regards,
JPG