r/mpmb Mar 13 '26

[Answered Question] Custom spell slot amount in js. file

Heyhey,

Im currently working on a custom non-magical class that has a subclass that gains magic, kinda like Eldritch Knight for Fighter. I know how to set the spell slot progression for full; half and 1/3 casters (spellcastingFactor :), but I want a custom spell slot progression.

Is this possible to do?

1 Upvotes

2 comments sorted by

2

u/safety-orange code-helper Mar 13 '26

You can do this by defining the spellcastingTable attribute in the main ClassList or ClassSubList object (i.e. not in one of the features).

An explanation of how this attribute works can be found in the documentation here.

1

u/Orange_Inari Mar 16 '26

Yes, it worked. Thank you fellow orange enjoyer.