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

V12 Resource consumption power property breaks when resource is reduced to 0 #384

Open
draconas1 opened this issue Aug 30, 2024 · 1 comment

Comments

@draconas1
Copy link
Collaborator

There is an auto-filter going on:

Repo case:

Setup custom resource 1 to have 1/1 per short rest. (aka simulating channel divinity).

Set Resource Consumption: attribute -> resources.primary.value -> 1

Close the power.

Roll the power.

Open the power to edit. resources.primary.value has now been replaced with None and is not visible in the drop down. You now can't use the power at all as validation won't roll it with a half completed resource consumption setup.

This only applies when reduced to zero. If you give the resource a higher value then it works fine until reduced to 0.

@EndlesNights
Copy link
Owner

I'll look into this, though I think a better way to handle resource is to just create a new "Other" Power and use Item Uses.

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

No branches or pull requests

2 participants