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

Default Round Count for Effects Prevents Real-time Adjustment #967

Open
TheBrianFactor opened this issue Dec 1, 2024 · 2 comments
Open
Assignees
Labels
more-information-requested Additional information on the problem/request has been requested

Comments

@TheBrianFactor
Copy link

The default for round durations of effects is "-1". When editing this on the fly (aka, after the effect is placed on a target) no matter what value you change it to, it processes as having been input as "0" and removes the effect.

Could this default value for round durations be changed to "+1" to prevent this? A lot of effects endure for a rolled value of rounds (i.e. 1d6 rounds) and the default value of "+1" would make it possible to edit these effects without changing the entire effect - since the effect can vary target to target.

@Muttley
Copy link
Owner

Muttley commented Dec 4, 2024

Are these existing Effect items from the compendiums, or new ones you're creating?

@Muttley Muttley self-assigned this Dec 4, 2024
@Muttley Muttley added the more-information-requested Additional information on the problem/request has been requested label Dec 4, 2024
@TheBrianFactor
Copy link
Author

These are existing effects from the compendium that have been imported into my world.

For example, the spell "Eyebite" has a description of "...and it can't see you until the end of its next turn." The spell's duration is "Instant".
Then the "Spell Effect: Eyebite" has a duration of "Unlimited". "Spell Effect: Eyebite" is dragged/dropped onto an actor sheet. To help the effect remove itself based on round calculations in the combat tracker, the duration of the effect is changed to "Turns". The default value of "Turns" (and "Rounds") is -1. When this value is changed from -1 to any other positive integer (in Eyebite's case, "+1", or "1"), the effect immediately removes itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-information-requested Additional information on the problem/request has been requested
Projects
None yet
Development

No branches or pull requests

2 participants