misthero / dnd5e-spellpoints

FoundryVTT module for spellpoints magic system 5e
MIT License
8 stars 16 forks source link

Spell Point Progression doesn't work for Subclasses #100

Closed bwizz245 closed 2 months ago

bwizz245 commented 3 months ago

1 2 3

I've attempted to make a spellcasting subclass for a non-spellcasting class (specifically Eldritch Knight, but I've also tried it with Arcane Trickster) using spell points, but when I actually create a character with the subclass, the module doesn't seem to detect it and update the spell points. It just stays at 1, no matter what their level is.

I thought it might have to do with the subclass being a Third Caster, but it doesn't work no matter which spell progression setting I use. There are no errors in the console when adding the subclass/feature to the character and no message in chat indicating that the Spell Points item has been detected.

Is there any way for me to get this to work, or does the module just not work for Subclasses right now?

misthero commented 3 months ago

I think you should grant slots to your subclass, since the module looks to the spellslots object to understand the spell level you can cast, also the slot object carry with it the information about what kind of caster that is, first, second, third, pact, artificier etc.. It doesn't really care if you have a certain class or not.

bwizz245 commented 2 months ago

If you're referring to the Spellcasting section of the subclass item, you can see in my first screenshot that I've already properly set that up. When I add the subclass to a character with the shown settings, it gets the proper amount of spell slots.

misthero commented 2 months ago

If you're referring to the Spellcasting section of the subclass item, you can see in my first screenshot that I've already properly set that up. When I add the subclass to a character with the shown settings, it gets the proper amount of spell slots.

ok, then check how many spell points he should have?

at level 3 he is a level 1 caster

this table show the character level on the left and the corrisponding "Spellcaster Level" for each type of caster

Character Level Full Half Third
1 1 - -
2 2 1 -
3 3 2 1
4 4 2 2
5 5 3 2
6 6 3 2
7 7 4 3
8 8 4 3
9 9 5 3
10 10 5 4
11 11 6 4
12 12 6 4
13 13 7 5
14 14 7 5
15 15 8 5
16 16 8 6
17 17 9 6
18 18 9 6
19 19 10 7
20 20 10 7
bwizz245 commented 2 months ago

The character has 1 spell point at every level, it never changes

misthero commented 2 months ago

oh wait are you using default DMG as the formula, maybe I found a problem there. will get back to you

misthero commented 2 months ago

may you check the latest version?

bwizz245 commented 2 months ago

It's working now, thanks