Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of attunement slots increases when leaving edit mode. #3823

Closed
SittingHill opened this issue Jul 15, 2024 · 3 comments
Closed

Number of attunement slots increases when leaving edit mode. #3823

SittingHill opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
bug Functionality which is not working as intended
Milestone

Comments

@SittingHill
Copy link

I have an effect that increases max attunement slots:

system.attributes.attunement.max || Add || +1

Every time that edit mode is toggle off on the new default character sheet, the attunement slots on that character sheet permanently increases by one. It starts at 4, and then after edit mode is left the attunement slots go up to 5. The next time edit mode is toggled on and off it goes up to 6 and so on.

When the effect is removed, the additional attunement slots from this bug stay on the character sheet.

The attunement slots on the character sheet should stay at 4 and not increase each time edit mode is toggled off.

DND Version: 3.2.1
Foundry Version 11 build 315
hosted on Foundryserver.com

@SlamHammerfist
Copy link

I believe that this is actually working correctly, if you want it to be a static number make it this instead
system.attributes.attunement.max || Override || 4

@SittingHill
Copy link
Author

I don't believe so. If this was correct behavior, that would be like if I had an effect that increased walking speed by 5ft. Then walking speed increased an additional 5ft every time that edit mode was toggled off.

When the effect was removed the increased walking speed would remain.

@krbz999
Copy link
Contributor

krbz999 commented Jul 16, 2024

I believe that this is actually working correctly, if you want it to be a static number make it this instead system.attributes.attunement.max || Override || 4

It is not intended. Common interactions with a sheet should not cause effects to apply themselves multiple times.

@arbron arbron added the bug Functionality which is not working as intended label Jul 17, 2024
@arbron arbron added this to the D&D5E 3.3.0 milestone Jul 17, 2024
@Fyorl Fyorl self-assigned this Jul 18, 2024
@Fyorl Fyorl closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended
Projects
None yet
Development

No branches or pull requests

5 participants