crobi / rpg-cards

RPG spell/item/monster card generator
https://rpg-cards.vercel.app
MIT License
512 stars 288 forks source link

New card-element line for Saving Throws #113

Open magicat777 opened 6 years ago

magicat777 commented 6 years ago

I was looking through the javascript for the various elements to see if there was a way to put all three standard DnD saving throws on one line (like you do with dndstats).

The standard saving throws for DnD and Pathfinder are: FOR (fortitude), REF (reflex), and WIL (will). The number ranges should be represented as a plus or minus modifier (i.e. "-2" or "+2"). 

Would this be as simple as copying the dndstats elements, removing all but three of them, and changing the variables from "stats" to "saves"?

crobi commented 6 years ago

I could add this feature, but it's getting a little too specific. Note also that the current D&D edition (5e) has 6 saving throws, using the same names as stats (STR, DEX, CON, WIS, INT, CHA).

I'd rather have a generic table element where you can specify arbitrary column names.

Still, feel free to implement this and post a PR, but maybe using a pathfindersaves element name?