Skip to content

fix: upgrade .strip("<>{}") to .replace#2205

Merged
codybanman merged 1 commit intoavrae:nightlyfrom
7he4lph4:upgrade-strip-to-replace
Aug 14, 2025
Merged

fix: upgrade .strip("<>{}") to .replace#2205
codybanman merged 1 commit intoavrae:nightlyfrom
7he4lph4:upgrade-strip-to-replace

Conversation

@7he4lph4
Copy link
Copy Markdown
Contributor

@7he4lph4 7he4lph4 commented Aug 5, 2025

  • fixes issues with multiple vars like: {strengthMod}+{proficiencyBonus}

Summary

This fixes the issue brought up on discord here.

Changelog Entry

Fixed attack bonus parsing for expressions with multiple bonus variables

Checklist

PR Type

  • This PR is a code change that implements a feature request.
  • This PR fixes an issue.
  • This PR adds a new feature that is not an open feature request.
  • This PR is not a code change (e.g. documentation, README, ...)

Other

  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • If code changes were made then they have been tested.
  • I have updated the documentation to reflect the changes.

- fixes issues with multiple vars like: `{strengthMod}+{proficiencyBonus}`
Copy link
Copy Markdown
Contributor

@codybanman codybanman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It shouldn't break anything but lets test it on nightly.

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