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

Disable input fields if indirectly modified #336

Merged
merged 4 commits into from
Jan 21, 2024

Conversation

wigmeister2000
Copy link
Contributor

This is a small tweak for when input fields get inactivated. It inactivates input if the value gets modified indirectly via the new bonus types. (the healing surge field was still active when modified by a feat/untyped etc. bonus)

The method is a bit clumsy as it relies on the specific naming of the accumulator keys (.value, .max), but I hope it covers most cases.

@EndlesNights EndlesNights merged commit fd1059c into EndlesNights:main Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants