Skip to content

Spell point effects increase maximum repeatedly when spent uses are edited #164

Open

Description

@Newtons-Fourth-Law

When editing the number of spell point uses spent inside the feature any effects adding to the spell point maximum are applied again.

Steps to reproduce the behavior:

  1. Open a character with spell points and give them an effect that increases the number of maximum spell points.
  2. Open the spell points feature on that character and edit the number of spent spell points (increasing or decreasing works)
  3. See max value increased by the effects bonus each time.

It makes sense for the maximum value to increase if the maximum value is edited when an effect is meant to increase it but the spent value changing while the feature is open shouldn't affect the max value.

Screenshots
Spell points with a +7 bonus from effects
Image
Spell points after setting spent uses to 0
Image

No Errors appear in console.

Versions
Foundry VTT 13.351
D&D5e System version: 5.2.3
Spell Points module version: 3.3.01

Activity

  1. misthero commented on Apr 20, 2026

    @misthero
    Owner

    Hello, thx for the issue. I think the problem is that the max is sent in the object as it was edited even if unchanged. But I'm not sure I'll have to investigate.

  2. misthero commented on Apr 25, 2026

    @misthero
    Owner

    anyway remember you can also update the value directly from the bar on the sheet, just click on the number.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions