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

Improve wounds/strain support for third party modules #1781

Closed
arknano opened this issue Feb 4, 2025 · 1 comment
Closed

Improve wounds/strain support for third party modules #1781

arknano opened this issue Feb 4, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@arknano
Copy link

arknano commented Feb 4, 2025

Is your feature request related to a problem? Please describe.
Since SWFFG tracks damage "positively" (you receive wounds as damage points, rather than subtracting from a total), it can be a little wonky when working with certain third party modules like bar brawl, which typically expect and accept 0 or negative numbers as "dead" or "over dead".

Describe the solution you'd like
Add a separate stat for wounds or strain over the threshold of the character.
e.g.
stats.woundsOverThreshold
stats.strainOverThreshold

The value should be equal to currentWounds - maxWounds, thus if your wound threshold is 12, and you have 13 wounds, then stats.woundsOverThreshold == 1

Describe alternatives you've considered

  • crying about it
  • it might also work to have a flipped value? where 0 is at threshold and negatives are over threshold. maybe do both!
@arknano arknano added the enhancement New feature or request label Feb 4, 2025
@wrycu wrycu added this to the 1.906 milestone Feb 4, 2025
wrycu added a commit that referenced this issue Feb 6, 2025
* add derived stats

#1781
@wrycu
Copy link
Collaborator

wrycu commented Feb 6, 2025

Done, will be released in 1.906. Thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants