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

[HackMaster 4e] Negative reaction modifiers break the weapon initiative calculation. #9731

Open
DestroyYouAlot opened this issue Nov 5, 2021 · 0 comments
Labels
bug A bug found in the character sheet

Comments

@DestroyYouAlot
Copy link

The initiative calculation for the HM4e sheet breaks if a negative reaction modifier is used (Dexterity 8 and below) - it ends up creating a "two minus symbols next to each other" situation. Wrapping the call to the modifier in parentheses ( example:
-(@{Balfred of Shirl Tet|dex_reaction_adjust})[Dex] ) should be enough to resolve the issue.

This fails verification (where dex_reaction_adjust is any negative value):
/roll d10 + 0[Speed] -@{Balfred of Shirl Tet|dex_reaction_adjust}[Dex] + 0[Wpn Init] - (@{Balfred of Shirl Tet|honor_bonus}[Honor])

This will pass:
/roll d10 + 0[Speed] -(@{Balfred of Shirl Tet|dex_reaction_adjust})[Dex] + 0[Wpn Init] - (@{Balfred of Shirl Tet|honor_bonus}[Honor])

@nmbradley nmbradley added the bug A bug found in the character sheet label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug found in the character sheet
Projects
None yet
Development

No branches or pull requests

2 participants