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

Complicated mathematical expression have wrong damage #3

Closed
FurtherV opened this issue Jun 5, 2023 · 1 comment
Closed

Complicated mathematical expression have wrong damage #3

FurtherV opened this issue Jun 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FurtherV
Copy link

FurtherV commented Jun 5, 2023

When using a complicated formula for damage, the following cases seem to happen:

Case 1:

  • 1d8 + @mod Slashing damage
  • pow(2d6,2) Fire damage
  • Result: Both damages are counted as slashing damage

Case 2:

  • 1d8 + @mod Slashing damage
  • 2d6*2 Fire damage
  • Result: on a roll of 2 and 2, which should be (2+2)*2 = 4, the fire damage is counted as 6?

None of these formulas are usually used in RAW / RAI D&D 5e though!

@krbz999
Copy link
Owner

krbz999 commented Jun 5, 2023

Damage rolls were a mistake.

@krbz999 krbz999 added the bug Something isn't working label Jun 5, 2023
@krbz999 krbz999 self-assigned this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants