Skip to content

Conversation

jschoudt
Copy link

@jschoudt jschoudt commented Jul 8, 2025

When an item used by a PC has a generic damage bonus effect, that damage bonus was not getting properly added. In the debugger the resulting damageBonus was NaN. This was due to the string value for the item's damage bonus being multiplied with the number value damageMultiplier. I added a parseInt around the item's damage bonus.

I didn't see this same issue in other item bonus paths.

@jschoudt
Copy link
Author

jschoudt commented Jul 8, 2025

Addresses #1072

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.

1 participant